網站首頁 健康小知識 母嬰教育 起名 運動知識 職場理財 情感生活 綠色生活 遊戲數碼 美容 特色美食 愛好

LaTeX使用入門

欄目: 互聯網 / 發佈於: / 人氣:1.32W

LaTeX是一種排版的軟件,對我們辦公室辦公有非常大的幫助,對於一些剛進入辦公室的人來説,掌握這個技能非常的重要,下面小編給大家講LaTeX的一些使用技巧。

LaTeX使用入門

操作方法

(01)我們現在miktex官網上下載LaTeX,然後再下載一個安裝包,再安裝到電腦上。

LaTeX使用入門 第2張

(02)打開WinEdt,建立一個新文檔,打開WinEdt,將以下內容複製進入文檔(B區)中,保存。documentclass{article} begin{document} new paper testend{document},然後在圖中紅圈圈D處點擊編譯 ,生成RDF,一個簡單的文檔就排好版了。

LaTeX使用入門 第3張
LaTeX使用入門 第4張

排版

(01)標題papertitle、作者authorname和註釋(註釋內容前加%)documentclass{article} author{authorname} title{papertitle} begin{document} maketitle new paper test% This is comment end{document} 編譯,RDF效果如下圖

LaTeX使用入門 第5張

(02)章節、段落documentclass{article} author{authorname} title{papertitle} begin{document} maketitle section{section1} This is section1. subsection{subsection1} This is subsection1. subsubsection{subsubsection1} paragraph{paragraph1}This is section1 subsection1 subsubsection1 paragraph1 subparagraph{subparagraph1} This is section1 subsection1 subsubsection1 paragraph1 subparagraph1 subsection{subsection2} paragraph{paragraph1}This is subsection2 paragraph1end{document} 編譯效果如下圖

LaTeX使用入門 第6張

(03)加入目錄documentclass{article}author{authorname} title{papertitle}begin{document} tableofcontents section{section1} This is section1. subsection{subsection1} This is subsection1. subsubsection{subsubsection1} paragraph{paragraph1}This is section1 subsection1 subsubsection1 paragraph1 subparagraph{subparagraph1} This is section1 subsection1 subsubsection1 paragraph1 subparagraph1 subsection{subsection2} paragraph{paragraph1}This is subsection2 paragraph1end{document}

LaTeX使用入門 第7張

(04)插入圖片documentclass{article} usepackage{graphicx} begin{document} includegraphics[width=4.00in,height=3.00in]{} end{document} 注意:圖片的格式是eps格式

Tags:LaTeX