【latex学习资料】LaTeX_-_Tutorial课件资料下载

2012-12-03 09:16 阅读 769 次 评论关闭
With thanks to Dr. Haipeng Guo & Dr. Dave Towey
注:此资料为英文版latex学习资料,格式为PPT,教授:Dr. Haipeng Guo & Dr. Dave Towey。
内容简介:
“Hello World” Example
LaTeX Features
uTypesetting journal articles, technical reports, books, and slide presentations
uControl over large documents containing sectioning, cross-references, tables and figures
uTypesetting of complex mathematical formulas
uAdvanced typesetting of mathematics with AMS-LaTeX
uAutomatic generation of bibliographies and indexes
nUsing BibTeX
uMulti-lingual typesetting
uInclusion of artwork, colour, etc.
LaTeX Document Structure
% A simple article to illustrate document
% structure.
\documentclass[12pt]{article}
\usepackage{times}
\begin{document}
……
 \end{document}
Document Classes
uAt the top of the file you will have a line something like
n\documentclass[12pt]{article}
uIt determines the font size (12pt) and document class (article)
uThe document class specifies the type of document you intend to write
uIt is associated with a class file, .cls
uValid document classes include article, report, book, letter
Packages
n\usepackage{times}
uA LaTeX package contains a set of commands that are not built into the core of LaTeX, but useful for special purposes.
uTo find out what commands a package provides (and thus how to use it), read the documentation
uHundreds of (free) packages exist!
uCommonly used packages in mathematics
nAmsmath, amssymb, amsthm
LaTeX Document Structure
%: comments
\documentclass[12pt]{article}
nThe type of document we want to produce: article
nOther classes that exist are book, report, thesis etc
n12pt: the font size
\usepackage{times}
nIt tells Latex to utilize some external packages that contain some useful commands
\begin{document}
\end{document}
Example
\documentclass[12pt]{article}
\title{How to Structure a \LaTeX{} Document}
\author{ Bill Gates\\
Computer Science and Technology Program,\\
United International College,\\
Zhuhai, China.\\
\texttt{billgates@webmail.uic.edu.hk}}
\date{\today}
\begin{document}
\maketitle
\end{document}
Mathematics Environments 
utext formulae
\begin{math}...\end{math}
$...$
udisplayed formulae
\begin{displaymath}...\end{displaymath}
\[  ... \]
\begin{equation}...\end{equation}
Powers and Indices 
uLaTeX source
$x^2$
$x^{2n}$
$X_i$
$X_{ij}$
uOutput
Roots
Sum & Products
Matrices
Multi-lined Equations
uLaTeX source
 \[
f(x)= \left\{
      \begin{array}{l l}
  -x^{2},       &\mbox{if $x < 0$;}\\
  \alpha + x, &\mbox{if $0 \leq x \leq 1$;}\\
  x^{2},        &\mbox{otherwise.}
      \end{array}
      \right.
\]
下载查看完整版本:
版权声明:本文著作权归原作者所有,欢迎分享本文,谢谢支持!
转载请注明:【latex学习资料】LaTeX_-_Tutorial课件资料下载 | 猎微网

评论已关闭!