如果你还是不知道这合不合适,那么就假装合适, 按 C-j, mini buffer 提示:
(Optional) Bibitem label:
这是问你,要不要给每个参考文献条目加个标签?不理它, 按 C-j, mini buffer 提示:
Add key (default none):
这是必须要理的。所谓 key ,实际上就是一条参考文献的“标识号”,它是和前面我们见到的 \\cite{} 命令配合使用的。在引用一条参考文献时,就必然要通过它的标识号来唯一地找到它。比如 \\citee{lamport94} 就是要从参考文献列表中找到 lamport94 所对应的那一条。没明白?那么我们先给它一个 key ,等会儿编译一下,看看效果就明白了。输入:
lamport94 C-j
得到如下效果:
28: \\begin{thebibliography}{99} 29: \\bibitem{lamport94} 30: \\end{thebibliography} 31:
现在把参考文献写进去就行了:
1: % 此处略去数十行…… 2:
3: \\begin{thebibliography}{99} 4: \\bibitem{lamport94} 5: Leslie Lamport,
6: \\emph{\\LaTeX: A Document Preparation System}. 7: Addison Wesley, Massachusetts, 8: 2nd Edition, 9: 1994.
10: \\end{thebibliography} 11:
再加一条:
M-return C-j wikibooks C-j
http://en.wikibooks.org/wiki/LaTeX/simple.tex
得到:
1: % 此处略去数十行…… 2:
3: \\begin{thebibliography}{99} 4: \\bibitem{lamport94} 5: Leslie Lamport,
6: \\emph{\\LaTeX: A Document Preparation System}. 7: Addison Wesley, Massachusetts, 8: 2nd Edition, 9: 1994.
10: \\bibitem{wikibooks}
11: http://en.wikibooks.org/wiki/LaTeX/simple.tex 12: \\end{thebibliography} 13:
一篇像模像样的科技论文到此就算是大功告成了。
\\documentclass{article} \%usepackage{times}
\\begin{document}
% Article top matter
\\title{How to Structure a \\LaTeX{} Document} %\\LaTeX is a macro for printing the Latex logo \\author{Andrew Roberts\\\\ School of Computing,\\\\
University of Leeds,\\\\ Leeds,\\\\
United Kingdom,\\\\ LS2 1HE\\\\
\\emph{andyr@comp.leeds.ac.uk}} %\\emph formats the text to a typewriter style font
\\date{\\today} %\\today is replaced with the current date \\maketitle
\\begin{abstract}
In this article, I shall discuss some of the fundamental topics in
producing a structured document. This document itself does not go into
much depth, but is instead the output of an example of how to implement
structure. Its \\LaTeX{} source, when in used with my tutorial
provides all the relevant information. \\end{abstract}
\\section{Introduction}
This small document is designed to illustrate how easy it is to create a
well structured document within \\LaTeX\\cite{lamport94}. You should quickly be able to see how the article looks very professional, despite the content being
far from academic. Titles, section headings, justified text, text
formatting etc., is all there, and you would be surprised when you see
just how little markup was required to get this output.
\\section{Structure}
One of the great advantages of \\LaTeX{} is that all it needs to know is
the structure of a document, and then it will take care of the layout
and presentation itself. So, here we shall begin looking at how exactly
you tell \\LaTeX{} what it needs to know about your document.
\\subsection{Top Matter}
The first thing you normally have is a title of the document, as well as
information about the author and date of publication. In \\LaTeX{} terms,