Emacs+ LaTeX 快速上手(5)

2019-06-05 12:48

1: \\begin{itemize}

2: \\item \\verb|\\title{}| --- The title of the article. 3: \\item

4: \\end{itemize} 5:

也就是说,不仅换了行,而且自动有了 \\item 等待你输入新的东西(第3行)。

你一定注意到了 \\verb|| 这个新命令。它的作用和bash命令行的单引号 (’) 是一样的。还记得吧,在命令行,单引号里的东西是原样输出的。 \\verb|| 里的东西也一样。 verb 是 verbatim 一词的缩写,就是“原样引用”的意思。好奇的话,就 C-c C-c 一下,看看效果。 好,继续输入:

\\verb|\\date| --- The date. Use:

得到:

1: \\begin{itemize}

2: \\item \\verb|\\title{}| --- The title of the article. 3: \\item \\verb|\\date| --- The date. Use: | 4: \\end{itemize} 5:

没什么好说的。现在我们要在 itemize 环境里面再来一个 itemize 。光标现在应该在第3行的最后。敲:

C-c C-e C-j

于是得到:

1: \\begin{itemize}

2: \\item \\verb|\\title{}| --- The title of the article. 3: \\item \\verb|\\date| --- The date. Use: 4: \\begin{itemize} 5: \\item

6: \\end{itemize} 7:

8: \\end{itemize} 9:

简单吧?不用说了,你肯定知道下面这些是怎么来的了吧。

1: \\begin{itemize}

2: \\item \\verb|\\title{}| --- The title of the article. 3: \\item \\verb|\\date| --- The date. Use: 4: \\begin{itemize}

5: \\item \\verb|\\date{\\today}| --- to get the date that the document is typeset.

6: \\item \\verb|\\date{}| --- for no date. 7: \\end{itemize} 8: \\end{itemize} 9:

编译一下,看看效果吧。

好了,请你现在照猫画虎,再来一个 subsubsection ,标题叫 Author Information 。模仿上面的东西,来得到下面的东西:

10: \\subsubsection{Author Information} 11: \\label{sec:author-information} 12:

13: The basic article class only provides the one

command:

14: \\begin{itemize}

15: \\item \\verb|\\author{}| --- The author of the

document.

16: \\end{itemize} 17:

18: It is common to not only include the author name, but to insert new lines (\\verb|\\\\|)

19: after and add things such as address and email

details. For a slightly more logical

20: approach, use the AMS article class (\\emph{amsart}) and you have the following extra

21: commands: 22:

23: \\begin{itemize}

24: \\item \\verb|address| --- The author's address. Use the new line command (\\verb|\\\\|) for line

25: breaks.

26: \\item \\verb|thanks| --- Where you put any

acknowledgments.

27: \\item \\verb|email| --- The author's email address. 28: \\item \\verb|urladdr| --- The URL for the author's web page.

29: \\end{itemize} 30:

怎么样,不太困难吧? 目前为止,我们用到的无非是下面这几个快捷键操作而已:

C-j C-c C-m C-c C-s C-c C-e M-return 下面让我们再起一个小节:

C-c C-s subsection C-j

Sectioning Commands C-j

C-j

得到:

31: % 此处略去数十行 32:

33: \\subsection{Sectioning Commands} 34: \\label{sec:sectioning-commands} 35:

添加一些文字:

1: % 此处略去数十行 2:

3: \\subsection{Sectioning Commands} 4: \\label{sec:sectioning-commands} 5:

6: The commands for inserting sections are fairly

intuitive. Of course,

7: certain commands are appropriate to different

document classes.

8: For example, a book has chapters but a article

doesn't.

9:


Emacs+ LaTeX 快速上手(5).doc 将本文的Word文档下载到电脑 下载失败或者文档不完整,请联系客服人员解决!

下一篇:全国商务英语翻译考试讲义及真题参考答案

相关阅读
本类排行
× 注册会员免费下载(下载后可以自由复制和排版)

马上注册会员

注:下载文档有可能“只有目录或者内容不全”等情况,请下载之前注意辨别,如果您已付费且无法下载或内容有问题,请联系我们协助你处理。
微信: QQ: