LATEX教程(二)
插入图片
\documentclass{article} \usepackage{graphicx} \usepackage{Ctex} \title{插入图片} \author{yif} \begin{document} \maketitle \includegraphics[width=4.00in,height=3.00in]{figure1.jpg} \end{document}
简单表格
\documentclass{article} \begin{document} \begin{tabular}{|c|c|} aaa & b \\ c & ddddd\\ \end{tabular} \begin{tabular}{|l|r|} \hline aaaa & b \\ \hline c & ddddd\\ \hline \end{tabular} \begin{center} \begin{tabular}{|c|c|} \hline a & b \\ \hline c & d\\ \hline \end{tabular} \end{center} \end{document}
注意观察有无\hline和有无\begin{center}的区别。注意观察\begin{tabular}后的lcr的区别,分别是left对齐,center对齐和right对齐。
制作参考文献
\documentclass{article} \begin{document} @article{rivero2001resistance, title={Resistance to cold and heat stress: accumulation of phenolic compounds in tomato and watermelon plants}, author={Rivero, Rosa M and Ruiz, Juan M and Garc{\i}a, Pablo C and L{\'o}pez-Lefebre, Luis R and S{\'a}nchez, Esteban and Romero, Luis}, journal={Plant Science}, volume={160}, number={2}, pages={315--321}, year={2001}, publisher={Elsevier} } @article{gostout1992clinical, title={The clinical and endoscopic spectrum of the watermelon stomach}, author={Gostout, Christopher J and Viggiano, Thomas R and Ahlquist, David A and Wang, Kenneth K and Larson, Mark V and Balm, Rita}, journal={Journal of clinical gastroenterology}, volume={15}, number={3}, pages={256--263}, year={1992}, publisher={LWW} } \end{document}