Latex 样例
来源:互联网 发布:西数 mac ntfs 插件 编辑:程序博客网 时间:2024/06/07 13:41
在使用Latex写论文的时候,老师都是给的一个模版,直接把里面的东西进行替换就行乐
这就导致,我们根本就不知道如何从头开始写一个Latex文件,并使它能编译通过
样例来自Making a typical LaTeX document,使用超链接了,点下就可以了
使用软件:ubuntu12.04+LateXila
代码
\documentclass[12pt]{article}\newcommand{\piRsquare}{\pi r^2}% This is my own macro !!!\title{My Sample \LaTeX{} Document}% used by \maketitle\author{\L\"{a}rs Schl{\oe}ff\d{o}ng\"{e}n, }% used by \maketitle\date{July 14, 2005}% used by \maketitle\begin{document}\maketitle% automatic title!I typed this file with a plain text editor.(I used \textbf{pico} and \textbf{emacs}.)Endofparagraph.This is my second paragraph.The area of a circle is $\pi r^2$; again, that is $\piRsquare$.My score on the last exam\footnote{May 23} was $95 \pm 5$.\section{Formulae; inline vs. displayed}I insert an inline formula by surrounding it with a pair ofsingle \$ symbols; what is $x = 3 \times 5$?For a \emph{displayed} formula, use double-\$before and after --- include no blank lines!$$\mu^{\alpha+3} + (\alpha^{\beta}+\theta_{\gamma}+\delta+\zeta)$$\subsection{Numbered formulae}Use the \emph{equation} environment to get numbered formulae, e.g.,\begin{equation}y_{i+1} = x_{i}^{2n} - \sqrt{5}x_{i-1}^{n} + \sqrt{x_{i-2}^7} -1\end{equation}\begin{equation}\frac{\partial u}{\partial t} + \nabla^{4}u + \nabla^{2}u + \frac12 |\nabla u|^{2}~ =~ c^2\end{equation}\section{Acknowledgments}Thanks to my buddies {\AE}schyulus and Chlo\"{e},who helped me define the macro \verb9\piRsquare9which is $\piRsquare$.The end.\end{document} % End of document.
- Latex 样例
- latex
- latex
- LATEX
- LaTeX
- LaTeX
- Latex
- latex
- Latex
- LaTeX
- LaTex
- LaTex
- LaTeX
- latex
- Latex
- latex
- LaTex
- Latex
- Wuawua知识管理 -- PHP推荐书籍
- Wuawua知识管理 -- Python推荐书籍
- HTTP中GET和POST的区别
- malloc free 深入学习
- Java的ClassLoader机制解析
- Latex 样例
- Keil中 Code, RO-data RW-data,ZI-data
- c#中的命名空间
- Integer.parseInt(String)与Integer.valueOf(String)的区别
- 2.6.32内核sendfile的两个bug
- 八款JS框架介绍及比较
- javabean总结
- 计算机视觉、机器学习相关领域论文和源代码
- hdu——1874(图论——Dijkstra)