LATEX教程

Posted yif25

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了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}

以上是关于LATEX教程的主要内容,如果未能解决你的问题,请参考以下文章

LaTeXE喵的LaTeX新手入门教程中文

LaTex:有关LaTex的入门语法使用

LaTeXE喵的LaTeX新手入门教程

LaTeXE喵的LaTeX新手入门教程图表

LaTeXE喵的LaTeX新手入门教程参考文献文档组织

Latex软件教程之落格式设置(2)字, 行, 段间距的窍门