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.
Document Classes
uAt the top of the file you will have a line something like
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
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
nThe type of document we want to produce: article
nOther classes that exist are book, report, thesis etc
n12pt: the font size
nIt tells Latex to utilize some external packages that contain some useful commands
\title{How to Structure a \LaTeX{} Document}
\author{ Bill Gates\\
Computer Science and Technology Program,\\
United International College,\\
Zhuhai, China.\\
Mathematics Environments 
utext formulae
udisplayed formulae
\[  ... \]
Powers and Indices 
uLaTeX source
Sum & Products
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.}
转载请注明:【latex学习资料】LaTeX_-_Tutorial课件资料下载 | 猎微网