今天現(xiàn)在我們來研究如何編寫摘要以及如何將文檔格式化為不同的章節(jié),分節(jié)和段落,詳細(xì)的內(nèi)容參考overleaf官網(wǎng)。
概要
在科學(xué)文獻(xiàn)中,通常會在摘要部分里面簡述論文的主要內(nèi)容。在latex中有針對摘要部分設(shè)計(jì)的環(huán)境。摘要環(huán)境會將文本以特殊格式放在文檔頂部。
\begin{document}
\begin{abstract}
This is a simple paragraph at the beginning of the
document. A brief introduction about the main subject.
\end{abstract}
\end{document}
段落和新行
\begin{document}
\begin{abstract}
This is a simple paragraph at the beginning of the
document. A brief introduction about the main subject.
\end{abstract}
Now that we have written our abstract, we can begin writing our first paragraph.
This line will start a second Paragraph.
\end{document}
\\(在示例中為雙反斜杠)或 \newline 命令來完成。
注意不要使用多個 \\ 或 \newlines 來 “模擬” 段落之間具有較大間距,因?yàn)檫@可能會干擾 LATE?X 的排版算法。推薦的方法是繼續(xù)使用雙空行來創(chuàng)建沒有任何 \\ 的新段落,然后將 \usepackage{parskip} 添加到序言中。你可以在這篇有關(guān) 段落和換行 的文章中找到更多信息。
章節(jié)和分段
用來組織文檔的命令因文檔類型而異,最簡單的組織形式是分節(jié),它對所有文檔格式均可用。
\chapter{First Chapter}
\section{Introduction}
This is the first section.
Lorem ipsum dolor sit amet, consectetuer adipiscing
elit. Etiam lobortisfacilisis sem. Nullam nec mi et
neque pharetra sollicitudin. Praesent imperdietmi nec ante.
Donec ullamcorper, felis non sodales...
\section{Second Section}
Lorem ipsum dolor sit amet, consectetuer adipiscing elit.
Etiam lobortis facilisissem. Nullam nec mi et neque pharetra
sollicitudin. Praesent imperdiet mi necante...
\subsection{First Subsection}
Praesent imperdietmi nec ante. Donec ullamcorper, felis non sodales...
\section*{Unnumbered Section}
Lorem ipsum dolor sit amet, consectetuer adipiscing elit.
Etiam lobortis facilisissem

\part 和 \chapter 僅在 report 和 book 類中可用。有關(guān)文檔結(jié)構(gòu)的更完整討論,請參閱 這篇文章。明天講解如何創(chuàng)建表格,對表格進(jìn)行標(biāo)題、標(biāo)簽和引用。
