LATEX 入门模版

来源:互联网 发布:举几个截面数据的例子 编辑:程序博客网 时间:2024/05/29 11:22

说明

这是我快速入门LATEX的一个模版,包含了绝大部分功能。

\documentclass{article}  % 选择模版,这里是使用Latex自带的article模版    \author{my name}    \title{title}    \usepackage{graphicx}   % 插入图片用到的宏包    \usepackage{multirow}   % 插入表格用到的宏包\begin{document}     \maketitle   \section{Hello China} China is in East Asia.         \subsection{Hello Beijing} Beijing is the capital of China.         \subsubsection{Hello Dongcheng District}             \paragraph{Tian'anmen Square}is in the center of Beijing             \subparagraph{Chairman Mao} is in the center of Tian'anmen Square         \subsection{Hello Guangzhou}             \paragraph{Sun Yat-sen University} is the best university in Guangzho        \subsection{My test}            \paragraph{}Beijing is the capital of \\ China.  % \\强制换行            \paragraph{}Washington is the capital of America.             \paragraph{}Washington is the capital of America.            % 插入图片            \includegraphics[width=4.00in,height=3.00in]{./MacX.eps}             % 插入表格            \begin{tabular}{|c|c|}             \hline             a & b \\             \hline             c & d\\             \hline             \end{tabular} \end{document} 
原创粉丝点击