Latex范例,包含了公式,图片,表格,标题,交叉引用等常用功能

test.tex

/documentclass{article} /usepackage{graphicx} %this package is for the figures %/usepackage{hyperref} /graphicspath{{fig/}} %be careful, there is a {} inside the graphicaspath{} /topmargin=0pt /oddsidemargin=0pt /evensidemargin=0pt /textwidth=14cm /textheight=21cm /title{Latex Sample} /author{Tao Lin// Institute Fresnel// [email protected] /and Joanthan /thanks{supported by ...}// Institute Fresnel// [email protected] } /date{2.1, 2011} /begin{document} /maketitle /begin{abstract} This is the abstract part.// {/bf Keywords: }latex sample /end{abstract} /section{Citation, Figures And Formulas} /label{CFF} /subsection{Citation} /label{CFF_C} This is a citation/cite{Atkinson1}, it is easy to use. /subsection{Figures} /label{CFF_F1} /subsubsection{A Single Figure} /label{CFF_F1_A} This is a single figure figure~/ref{CFF_F1_A_F} /begin{figure} /centering /includegraphics[height=0.5/textwidth]{test.jpg} /caption{Big Single Figure} /label{CFF_F1_A_F} /end{figure} /subsubsection{Multiple Figures} /label{CFF_F1_M} This is a figure with two sub-figures figure~/ref{CFF_F1_M_F} /begin{figure} /begin{minipage}[t]{.5/linewidth} %the option [t] can make the two images align horizontally in the bottom /centering /includegraphics[height=0.5/textwidth]{test.jpg} /centerline{(a)}/medskip /end{minipage} /begin{minipage}[t]{.5/linewidth} /centering /includegraphics[height=0.2/textwidth]{test.jpg} /centerline{(b)}/medskip /end{minipage} /caption{figure content} /label{CFF_F1_M_F} /end{figure} /subsection{Formulas} /label{CFF_F2} To type the inline formula, I can use this /begin{math} a=b+c /end{math} or this $x^{y^{z^{w}}}=(1+{/rm e}^{x})^{-2xy^w}$ To type the outline formula, I can use this $$/cal{ABCDEFG}$$ or this /begin{displaymath} x=y+z /end{displaymath} To type the outline formula equation~/ref{CFF_F2_E1} with number, I can use this /begin{equation} /label{CFF_F2_E1} 0.3x+y/2=4z /end{equation} and this is another equation~/ref{CFF_F2_E2} /begin{equation} /label{CFF_F2_E2} 33x+55y=z /end{equation} % /section{Table And Array} /label{TA} /subsection{Table} /label{TA_T} This is a table table~/ref{TA_T_T} /begin{table} /centering /caption{table} /label{TA_T_T} /begin{tabular}{|c|c|c|} /hline 1 & 2 & 3// /hline 4 & 5 & 6// /hline /end{tabular} /end{table} /section{The 2nd step} /hskip /parindent This is the second section. In this first paragraph, I use `hskip' to get the first parindent. Maybe you can get this effect by another way. /subsection{Sub-sect of 2} this /subsection*{/S 2.2 Another sub of 2} this /section{Conclusion} I think you have know /TeX well now. I want to show you how to use bibliography. In the article, you can use as /bibliographystyle{plain} /bibliography{test} /end{document}

 

test.bib

@inproceedings{Atkinson1, author = {Atkinson, I and Kamalabadi, F and Mohan, S and Jones, DL}, title = {Wavelet-based 2-D multichannel signal estimation}, publisher = {IEEE}, volume = {2}, }

你可能感兴趣的:(Math,c,table,Signal)