18: \\section{Introduction} 19: \\label{sec:introduction} 20:
给这一节添加内容:
1: % 此处略去十数行 2:
3: \\section{Introduction} 4: \\label{sec:introduction} 5:
6: This small document is designed to illustrate how easy it is to create a well structured
7: document within \\LaTeX\\citee{lamport94}. You
should quickly be able to see how the article
8: looks very professional, despite the content being far from academic. Titles, section
9: headings, justified text, text formatting etc., is all there, and you would be surprised
10: when you see just how little markup was required to get this output.
11:
注意到了吗?在这一节里有一个新命令 \\cite{} (我?笔误?成了 \\citee{}, 以避开 org->html 转换的一个小bug), 这是在引用一个参考文献。先不管它,后面再说。 如法炮制,再添加几个章节:
12: \\section{Structure} 13: \\label{sec:structure} 14:
15: One of the great advantages of \\LaTeX{} is that all it needs to know is
16: the structure of a document, and then it will take care of the layout
17: and presentation itself. So, here we shall begin looking at how exactly
18: you tell \\LaTeX{} what it needs to know about your document.
19:
20: \\subsection{Top Matter} 21: \\label{sec:top-matter} 22:
23: The first thing you normally have is a title of the document, as well as
24: information about the author and date of
publication. In \\LaTeX{} terms,
25: this is all generally referred to as \\emph{top
matter}.
26: 27: |
注意到 \\emph{} 了吗?它代表 emphasize ,“强调”。英文习惯用斜体字来表示强调的东西,那么自然, \\emph{top matter} 就是把 top matter 排版成 top matter 了。
注意到 \\subsection{} 了吗?一会儿,我们还会看到 \\subsubsection 。不用解释吧,文章的章节次序是这样:
1. chapter 2. section 3. subsection 4. subsubsection 5. paragraph 6. subparagraph
其中, chapter 是给 book 和 report 用的,而 article 是从 section 开始。
现在我们就来一个 \\subsubsection 。不出所料的话,光标应该在第27行。那么就:
C-c C-s
mini buffer 提示:
Level: (default subsection)
当然输入:
subsubsection C-j
mini buffer 提示:
Title:
输入:
Article Information C-j
mini buffer 提示:
Label: sec:article-information
似曾相识吧?敲 C-j, 那么,你看到的是:
28: \\subsubsection{Article Information} 29: \\label{sec:article-information} 30:
也就是说,我们有了一个 subsubsection (第28行) 。现在,我们再添加一个 environment:
C-c C-e
mini buffer 提示:
Environment type: (default abstract)
我们当然不再需要 abstract 了,现在我们要的是 itemize ,也就是“不带序号的列表”。那么当然输入:
itemize C-j
于是看到:
31: \\begin{itemize} 32: \\item
33: \\end{itemize} 34:
光标停在 \\item 的后面(第32行)。非常好,这正是我想要的。直接输入如下文字:
\\verb|\\title{}| --- The title of the article.
然后,
M-return
也就是,左手拇指按住 Alt 键,同时右手小指去敲回车键。你会看到这样的效果: