Latex for Vscode Requirements
MikTek ( https://miktex.org/download )
Strawberry Perl ( https://strawberryperl.com/ )
Vscode Extension :
Image Not Showing
Possible Reasons
The image was uploaded to a note which you don't have access to The note which the image was originally uploaded to has been deleted
Learn More โ
Image Not Showing
Possible Reasons
The image was uploaded to a note which you don't have access to The note which the image was originally uploaded to has been deleted
Learn More โ
Install any type of pdf reader , ex: vscode-pdf
MikTex
Install MikTex
I. Install for all user.
Image Not Showing
Possible Reasons
The image was uploaded to a note which you don't have access to The note which the image was originally uploaded to has been deleted
Learn More โ
II. Always click next to finish install.
III. Click on " Check for updates now "
Image Not Showing
Possible Reasons
The image was uploaded to a note which you don't have access to The note which the image was originally uploaded to has been deleted
Learn More โ
Check System environment path
I. Find ็ฐๅข่ฎๆธ
Image Not Showing
Possible Reasons
The image was uploaded to a note which you don't have access to The note which the image was originally uploaded to has been deleted
Learn More โ
II. Click Red -> Blue -> Green
Image Not Showing
Possible Reasons
The image was uploaded to a note which you don't have access to The note which the image was originally uploaded to has been deleted
Learn More โ
III. Check whether miktex env available, if don't, uninstall miktex and go back to step 1.
Image Not Showing
Possible Reasons
The image was uploaded to a note which you don't have access to The note which the image was originally uploaded to has been deleted
Learn More โ
Open MikTex Console
Click admin if below choices show up.
Image Not Showing
Possible Reasons
The image was uploaded to a note which you don't have access to The note which the image was originally uploaded to has been deleted
Learn More โ
Click Red -> Blue -> Green , update all packages and install all.
Image Not Showing
Possible Reasons
The image was uploaded to a note which you don't have access to The note which the image was originally uploaded to has been deleted
Learn More โ
Install below package to get chinese support.( https://blog.csdn.net/qq_34809033/article/details/80680280 )
Click Red -> Type package name in Blue -> Enter to filter
Image Not Showing
Possible Reasons
The image was uploaded to a note which you don't have access to The note which the image was originally uploaded to has been deleted
Learn More โ
Package list :
โโโโโโโโโctex
โโโโโโโโโl3kernel
โโโโโโโโโl3packages
โโโโโโโโโulem
โโโโโโโโโzhnumber
โโโโโโโโโzhmetrics
โโโโโโโโโcjk
โโโโโโโโโcjkpunct
Find target package, right-click that package and click install package, click OK
Image Not Showing
Possible Reasons
The image was uploaded to a note which you don't have access to The note which the image was originally uploaded to has been deleted
Learn More โ
Image Not Showing
Possible Reasons
The image was uploaded to a note which you don't have access to The note which the image was originally uploaded to has been deleted
Learn More โ
After finished all five steps, can close miktex console.
Download and install the latest release.
Image Not Showing
Possible Reasons
The image was uploaded to a note which you don't have access to The note which the image was originally uploaded to has been deleted
Learn More โ
Check System environment path.
Image Not Showing
Possible Reasons
The image was uploaded to a note which you don't have access to The note which the image was originally uploaded to has been deleted
Learn More โ
Check perl usability
Cmd
Image Not Showing
Possible Reasons
The image was uploaded to a note which you don't have access to The note which the image was originally uploaded to has been deleted
Learn More โ
Powershell
Image Not Showing
Possible Reasons
The image was uploaded to a note which you don't have access to The note which the image was originally uploaded to has been deleted
Learn More โ
Vscode
Install Vscode Extension : [ latex workshop ] & [ latex utilities ] & [ vscode-pdf ]
Image Not Showing
Possible Reasons
The image was uploaded to a note which you don't have access to The note which the image was originally uploaded to has been deleted
Learn More โ
Image Not Showing
Possible Reasons
The image was uploaded to a note which you don't have access to The note which the image was originally uploaded to has been deleted
Learn More โ
Access setting of vscode (้่ฃกๆ่ฉฒไธ็จๅ)
Image Not Showing
Possible Reasons
The image was uploaded to a note which you don't have access to The note which the image was originally uploaded to has been deleted
Learn More โ
Filter Setting -> type "recipe" -> click "Edit in setting.json"(้่ฃกๆ่ฉฒไธ็จๅ)
Image Not Showing
Possible Reasons
The image was uploaded to a note which you don't have access to The note which the image was originally uploaded to has been deleted
Learn More โ
Find [xelatex] and move to the first place like below pic. It means that the compiler of latex will use the xelatex first to compile, and xelatex is a chinese support builder.(้่ฃกๆ่ฉฒไธ็จๅ)
Image Not Showing
Possible Reasons
The image was uploaded to a note which you don't have access to The note which the image was originally uploaded to has been deleted
Learn More โ
Create a folder and create a REPLACETHIS.tex , use below example to create a fundamental tex file. (้่ฃกๆ่ฉฒไธ็จๅ)
โโโโ\documentclass[a4paper, 12pt]{article}
โโโโ\usepackage{xeCJK}
โโโโ \xeCJKsetup{AutoFakeBold=true, AutoFakeSlant=true}
โโโโ \setCJKmainfont{ๆจๆฅท้ซ}
โโโโ \setmainfont{Times New Roman}
โโโโ\usepackage{setspace}
โโโโ \onehalfspace
โโโโ\setlength{\parskip}{1ex plus 0.5ex minus 0.2ex}
โโโโ\begin{document}
โโโโๆ็ซ ๅ
งๅฎน good
โโโโ\end{document}
Build tex to pdf
Image Not Showing
Possible Reasons
The image was uploaded to a note which you don't have access to The note which the image was originally uploaded to has been deleted
Learn More โ
When building pdf, the package installation frame will show up, remember to install all the time and keep the [ Always show this dialog ] always click on.
Image Not Showing
Possible Reasons
The image was uploaded to a note which you don't have access to The note which the image was originally uploaded to has been deleted
Learn More โ
Finally, you can see that two languages will work properly.
Reference https://strawberryperl.com/
https://miktex.org/download
https://blog.csdn.net/qq_34809033/article/details/80680280
https://kaibaoom.tw/posts/notes/vscode-latex/
https://show6114.com/2018/02/28/latex-en-ch-preamble-2018/comment-page-1/