學習資料&準備
在https://www.ctan.org/tex-archive/info/lshort/中下載中文教程,封面如下:
WIN10環境。先安裝texlive,之前安裝過一個M開頭的不太好用。
Hello world程序
創建一個a.tex文件:
\documentclass{article} \begin{document} ``Hello world!'' from \LaTeX. \end{document}
編輯器我用的是Notepad++,爲方便模塊化可以用vscode。
啓動命令行,用pdflatex命令編譯這個程序,就可以得到一個pdf。