LaTeX #01# Hello world

學習資料&準備

https://tug.org/begin.html

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。

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章