latex 1图加标题_使用VsCode编译latex心得
生活随笔
收集整理的這篇文章主要介紹了
latex 1图加标题_使用VsCode编译latex心得
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
本人最早接觸latex是劉海洋老師的《latex入門》,大家可自行搜索相關資源查閱,可以作為參考書,不建議從頭到尾的翻閱學習。
學習竅門
- 在配置好相關軟件之后,應當立即編譯一個模板,保證能通過。相關的模板如IEEE等學術報告,剛開始建議先從英文編譯,成功后可以試著中文編譯。
- 在成功編譯之后,嘗試著寫文章,大概實現標題、字體設置、表格、圖片插入幾個常見功能就好,千萬不要深扎進去,沒有任何價值。我們用latex是為了減少排版的工作量,并非成為latex專家,很多功能是用不到的。我們只需抓住一個原則:拿來主義,需要什么功能,就搜索該功能的語法即可。
配置環境
2.選擇update,點擊check for update
3. vscode安裝后,需要進行環境配置
2. 編寫設置環境代碼:點擊設置-偏好,編輯setting.json文件,將以下代碼復制進去。
{"markdown-pdf.displayHeaderFooter": false,"[python]": {},"files.associations": {"*.rmd": "markdown"},"files.autoSave": "onFocusChange",// Latex workshop "latex-workshop.latex.recipes": [{"name": "texify", //放在最前面為默認編譯方案, 適用于MikTex"tools": ["texify"]},{"name": "xelatex","tools": ["xelatex"]},{"name": "xe->bib->xe->xe","tools": ["xelatex","bibtex","xelatex","xelatex"]}],"latex-workshop.latex.tools": [{"name": "texify","command": "texify","args": ["--synctex","--pdf","--tex-option="-interaction=nonstopmode"","--tex-option="-file-line-error"","%DOC%.tex"]},{// 編譯工具和命令"name": "xelatex","command": "xelatex","args": ["-synctex=1","-interaction=nonstopmode","-file-line-error","%DOC%"]},{"name": "pdflatex","command": "pdflatex","args": ["-synctex=1","-interaction=nonstopmode","-file-line-error","%DOC%"]},{"name": "bibtex","command": "bibtex","args": ["%DOCFILE%"]}],"latex-workshop.view.pdf.external.command": {"command": "C:/Program Files (x86)/SumatraPDF/SumatraPDF.exe", //SumatraPDF.exe的實際路徑"args": ["%PDF%"]},"latex-workshop.view.pdf.external.synctex": {"command": "C:/Program Files (x86)/SumatraPDF/SumatraPDF.exe","args": ["-forward-search","%TEX%","%LINE%","%PDF%"]},"latex-workshop.showContextMenu": true,"editor.wordWrap": "on", // 自動換行"latex-workshop.view.pdf.viewer": "tab", //tab是軟件內打開,推薦external是用pdf打開(進入第三步)}3. 配置SumatraPDF,需要設置反向搜索和正向搜索。
以上是我電腦code.exe安裝路徑。
相關軟件下載:鏈接:https://pan.baidu.com/s/16RuFV8F2bhDKhZAHy4sNtQ
提取碼:971p
提供一些有用的網址:
表格生成器https://www.tablesgenerator.com/
數學符號https://blog.csdn.net/Ying_Xu/article/details/51240291
偽代碼https://blog.csdn.net/golden1314521/article/details/40923377
模板分享網站https://www.latexstudio.net/
總結
以上是生活随笔為你收集整理的latex 1图加标题_使用VsCode编译latex心得的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 征信多少次以上才算花?
- 下一篇: 2×3卡方检验prism_卡方独立性检验