In order to get a paragraph break in LaTeX, leave a blank line.
You can write one sentence per line.
comment is % and is escape.
page margin
1 | usepackage{geometry} |
1 | usepackage{fancyhdr} |
1 | usepackage {setspace} |
1 | addtolength{parskip}{.4em} |
1 | emph {text} |
1 | textbf{text} |
Numbered lists can be made with the following code:
1 | begin{enumerate} |
Graphics
1 | includegraphics{samplereport-graphic} |
Catalogue
1 | tableofcontents |
Use Chinese
1 | % set the char-set to utf-8 |
Reference
Method 1 : refer directly
1 | begin{thebibliography}{1} |
Method 2 : batch refer with using bibtex
create bib file and input all the reference.
save the bib to the same folder with tex.
refer by cite{label}.
1 | bibliographystyle{plain} |
> 文章中没有引用的参考文献,即使在建立bib数据库的时候使用了,在最后的Reference里面也不会出现,这也是为什么建议在阅读文献的时候就顺手建立bib数据库.
article/ctexart
1 | % define 5 series to algin the article |
book/ctexbook
1 | part{} |
report/ctexrep
1 | chapter {} |
原文:https://www.cnblogs.com/lijianming180/p/12360896.html