Tutorial De Latex
Amélie Anglade QMUL IEEE Student Branch
November 27, 2008
Amélie Anglade (QMUL IEEE SB)
LaTeX tutorial 2008
November 27, 2008
1 / 48
Outline
1 2 3 4 5 6 7 8 9 10 11 12
Introduction Installation Structure of a document Equations Tables Lists Figures References Bibliography Tables of references
A Using LTEX to... A To continue with LTEX
LaTeXtutorial 2008 November 27, 2008 2 / 48
Amélie Anglade (QMUL IEEE SB)
Outline
1 2 3 4 5 6 7 8 9 10 11 12
Introduction Installation Structure of a document Equations Tables Lists Figures References Bibliography Tables of references
A Using LTEX to... A To continue with LTEX
LaTeX tutorial 2008 November 27, 2008 3 / 48
Amélie Anglade (QMUL IEEE SB)
A Why using LTEX ?
Page Setting :automatic classes, styles It looks Awesome straight away! (Professional, that is) Easy to type mathematical equations and other usually tricky scientific items such as chemical formula. Handles perfectly tables, figures, bibliography, table of contents, etc. . . Adaptable to countless languages and texts (accents, alphabets). Once tamed, a real time saver (macros) Customizable
Amélie Anglade (QMULIEEE SB)
LaTeX tutorial 2008
November 27, 2008
4 / 48
A How does LTEX work?
Markup tags Compiled Language:
1 2
source file: .tex output file: .pdf (or .dvi and .ps)
Sets the global layout on a finished source file, using typographical rules. Asks you to forget one’s old habits taken from WYSIWYG editors:
don’t try to modify fonts, colors, layout for a single paragraph! Aconcentrate on the content, LTEX takes charge of the layout for you!
Amélie Anglade (QMUL IEEE SB)
LaTeX tutorial 2008
November 27, 2008
5 / 48
Outline
1 2 3 4 5 6 7 8 9 10 11 12
Introduction Installation Structure of a document Equations Tables Lists Figures References Bibliography Tables of references
A Using LTEX to... A To continue with LTEX
LaTeX tutorial 2008 November 27,2008 6 / 48
Amélie Anglade (QMUL IEEE SB)
Installation
1 2 3
A You will need at least a LTEX compiler
A For more advanced uses of LTEX you might need to install some other packages
A To make life easier you can use a LTEX editor
Amélie Anglade (QMUL IEEE SB)
LaTeX tutorial 2008
November 27, 2008
7 / 48
Installation
MS Windows: A 1 LTEX compiler: MiKTeXhttp://miktex.org/2.7/setup A 2 Preferred LTEX editor: Texmaker http://www.xm1math.net/texmaker/download.html 3 Advanced packages: can be installed from the option menu in MiKTeX Mac OS X: A 1 LTEX compiler: MacTeX http://www.tug.org/mactex/ A 2 Preferred LTEX editor: Texmaker 3 Advanced packages: most of them are automatically installed with MacTeX Linux (Debian, Ubuntu): A 1 LTEX compiler: TeXLive-bin A 2Preferred LTEX editor: Texmaker (other good editor: Kile) 3 Advanced packages: in TeXLive and its extensions
Amélie Anglade (QMUL IEEE SB) LaTeX tutorial 2008 November 27, 2008 8 / 48
Configuration
If you use Texmaker I strongly encourage you to configure the ‘Quick Build’ as follows:
1 2 3
Go into Texmaker Preferences Click on Quick Build Choose the third option ‘PdfLaTeX + View PDF’Amélie Anglade (QMUL IEEE SB)
LaTeX tutorial 2008
November 27, 2008
9 / 48
Outline
1 2 3 4 5 6 7 8 9 10 11 12
Introduction Installation Structure of a document Equations Tables Lists Figures References Bibliography Tables of references
A Using LTEX to... A To continue with LTEX
LaTeX tutorial 2008 November 27, 2008 10 / 48
Amélie Anglade (QMUL IEEE SB)
Basic structureof a document
\documentclass{article} \begin{document} Hello World! \end{document} Let’s try to open it in Texmaker: Basic_example/basic_example.tex and to compile it: use the Quick Build button or the other buttons
Amélie Anglade (QMUL IEEE SB)
LaTeX tutorial 2008
November 27, 2008
11 / 48
Classes
Several different default classes, extendable by modules or packages: Article...
Regístrate para leer el documento completo.