Top Banner
First Prev Next Last Go Back Full Screen Close Quit An Introduction to L A T E X2 ε L U Z HIBO Institute of Automation, Chinese Academy of Sciences Beijing, China [email protected]
16

An introduction to LaTeX2eread.pudn.com/downloads111/ebook/463045/Slides-Part1.pdf · •First •Prev •Next •Last •Go Back •Full Screen •Close •Quit An Introduction to

Aug 02, 2020

Download

Documents

dariahiddleston
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: An introduction to LaTeX2eread.pudn.com/downloads111/ebook/463045/Slides-Part1.pdf · •First •Prev •Next •Last •Go Back •Full Screen •Close •Quit An Introduction to

•First •Prev •Next •Last •Go Back •Full Screen •Close •Quit

An Introduction to LATEX 2ε

L U ZHIBO

Institute of Automation, Chinese Academy of SciencesBeijing, China

[email protected]

Page 2: An introduction to LaTeX2eread.pudn.com/downloads111/ebook/463045/Slides-Part1.pdf · •First •Prev •Next •Last •Go Back •Full Screen •Close •Quit An Introduction to

•First •Prev •Next •Last •Go Back •Full Screen •Close •Quit

1. Purpose

[~])LATEXÚÄ��ö�·-¶[~]U�â���¤p�þ�Ø©ü�¶

2. LATEX 2ε VS MS Word∑

n

f(n) =

∫t>1

f(t)dt

[~]LATEX©��ª!¡§çx§Ýþ!¶1åþ!¶[~]©����éõ¶[~]êÆúªü�¤�¶[~]word2tex and tex2word

Page 3: An introduction to LaTeX2eread.pudn.com/downloads111/ebook/463045/Slides-Part1.pdf · •First •Prev •Next •Last •Go Back •Full Screen •Close •Quit An Introduction to

•First •Prev •Next •Last •Go Back •Full Screen •Close •Quit

3. TEX, LATEX and AMS-TEX~ TEX: 1977, Donald E. Knuthü�XÚÚ�¶1982§1989¶version: 3.14159, (ª�π)

~ Plain TEX: TEX�÷�§��format"�Lu{ü"~ LATEX: TEX���÷�§L. Lamport, Frank Mittelach(1994), Ver. LATEX 2ε

~ AMS-TEX, AMS-LATEX: American Mathematical Society.

~ 3LATEX�Ä:þ§�«÷��8¤�·^uØÓ²��XÚ§MiKTeX, fpTeX,

CTeX,�.

Page 4: An introduction to LaTeX2eread.pudn.com/downloads111/ebook/463045/Slides-Part1.pdf · •First •Prev •Next •Last •Go Back •Full Screen •Close •Quit An Introduction to

•First •Prev •Next •Last •Go Back •Full Screen •Close •Quit

4. Features

• �¤µúm �è

• ;�{*µ;�?�ü�§­.þNõ�6Ñ�úiÑæ^TEXXÚ. ü�êÆú

ª�B

• ­ ½ µA � v k � Ø. � ö ø y$ 1.28� 1 � � u ybug� < § ± � z u y �

�bug§ø7��§�p�$327.68

• (¹µ^r�±gC½Â#·-Ú÷�5*ÐXÚõU

• +n�Bµ��Ú^§©z+n§)¤¢Ú!8¹§�y�ö�äkûÐ(��©Ù

• �£�5µ·^u8c¤k�ö�XÚWindows, Linux, Unix, Mac ...

• �¤�=¤�µ¤�=¤�

• · · ·

Page 5: An introduction to LaTeX2eread.pudn.com/downloads111/ebook/463045/Slides-Part1.pdf · •First •Prev •Next •Last •Go Back •Full Screen •Close •Quit An Introduction to

•First •Prev •Next •Last •Go Back •Full Screen •Close •Quit

5. Basic Rules

LATEX ©���ª�ÊÏ�ASCII©�§*ж�.tex. 3·-1e$1latex my-

file.tex (or pdflatex myfile.tex)�±¼��A�dvi/pdf ©�. ¥©|±8ckü«)û�YµCCTÚCJK(Åì¤�Ì6)"

5.1. Structure

\documentclass[a4paper,11pt,twocolumn]{article}

\begin{document}

This is an example.

\end{document}

·-µ\documentclass[options]{class}

class: article, report, book, slides· · ·options: 12pt, a4paper, onecolumn, leqno,· · ·

Page 6: An introduction to LaTeX2eread.pudn.com/downloads111/ebook/463045/Slides-Part1.pdf · •First •Prev •Next •Last •Go Back •Full Screen •Close •Quit An Introduction to

•First •Prev •Next •Last •Go Back •Full Screen •Close •Quit

���éE,�~fµ

\documentclass[a4paper,11pt,twocolumn]{article}

\usepackage{amsmath} % �ó«\usepackage{CJK} % ¥©�¸\title{An Introduction}

\author{Name1 \\ address1 \and Name2 \\ address2}

\begin{document} % �©

\begin{CJK*}{GBK}{song}

\maketitle % )¤IK\begin{abstract} % Á�

\end{abstract}

\tableofcontents % )¤8¹\section{Section One} % 1�!\subsection{Subsection 1} % 1.1 �!

Well, and here begins my lovely article.

\section{Section Two} % 1�!\ldots{} and here it ends.

\end{CJK*}\end{document} % ©�(å

Page 7: An introduction to LaTeX2eread.pudn.com/downloads111/ebook/463045/Slides-Part1.pdf · •First •Prev •Next •Last •Go Back •Full Screen •Close •Quit An Introduction to

•First •Prev •Next •Last •Go Back •Full Screen •Close •Quit

Page 8: An introduction to LaTeX2eread.pudn.com/downloads111/ebook/463045/Slides-Part1.pdf · •First •Prev •Next •Last •Go Back •Full Screen •Close •Quit An Introduction to

•First •Prev •Next •Last •Go Back •Full Screen •Close •Quit

`²µ

• LATEX ¥�·-±\mÞ§·-¶����Î!êi½Ù§�i1iÎI�T·-�(å§���¯a¶

• % ´5ºÎ§l5ºÎ�1"�SN?È�ج�Ķ

• õõõ���ëëëYYY������xxxiiiÎÎÎ�Ó���xiζz1m©��xiÎ�Ѷüüü���£££���ÎÎÎÀ�����¶O\��^·-\, \quad \qquad ¶^���1115(åãá¶

• LATEX ¥^

\chapter{ Ù}, \section{ !}

5L«ÙÚ!§¿gÄ?Ò¶

Page 9: An introduction to LaTeX2eread.pudn.com/downloads111/ebook/463045/Slides-Part1.pdf · •First •Prev •Next •Last •Go Back •Full Screen •Close •Quit An Introduction to

•First •Prev •Next •Last •Go Back •Full Screen •Close •Quit

5.2. Special Characters and Symbols

• AÏiÎ% $ ˜ c¡�\þ���¶AO�\ �^·-$\backslash$¶Ï�\\´��

ä1·-(�1�Ø,å�ã);

• üÚÒ�‘(5µêi1c¡�@��)Ú’¶ü�‘���VÚÒ§ü�’��mVÚ

Ò¶

• -, --, ---, $-$ ©OL«ëcÒ‘-’ §á»òÒ‘–’ §�»òÒ‘—’ §~Ò−¶

• \ldots and $\cdots$ ©O��ÑÒ. . . and· · ·

• AÏiÎ.X\"o : o¶

• 1å��µ\linespread{1.3} L«1.5�1å¶%@��1¶

Page 10: An introduction to LaTeX2eread.pudn.com/downloads111/ebook/463045/Slides-Part1.pdf · •First •Prev •Next •Last •Go Back •Full Screen •Close •Quit An Introduction to

•First •Prev •Next •Last •Go Back •Full Screen •Close •Quit

5.3. Environment

\begin{environment} SN \end{environment}

Ù¥environment �¸�¶¡"���±N^^S§�¸�±õgi@"'X

\begin{aaa}...\begin{bbb}... \end{bbb}... \end{aaa}

[~]itemize u{ü��L¶enumerate u�SÒ��L

\begin{enumerate}

\item You can mix the list ....

\begin{itemize}

\item item1

\item item2

\end{itemize}

\item You can also ...

\end{enumerate}

1. You can mix the list ....

• item1

• item2

2. You can also ...

Page 11: An introduction to LaTeX2eread.pudn.com/downloads111/ebook/463045/Slides-Part1.pdf · •First •Prev •Next •Last •Go Back •Full Screen •Close •Quit An Introduction to

•First •Prev •Next •Last •Go Back •Full Screen •Close •Quit

5.4. Fonts and Sizes\textbf{...} oN\textit{...} �N\emph{...} rN

\tiny{...} \small{...} \normalsize{...} \large{...}

\Large{...} \LARGE{...} \huge{...} \Huge{...}

~fµtextbf textit emph tiny large huge5.5. Label

��Ú^´TEX�`³"XJ3�§1¥^·-\label{eq1} ��I\§�I�Ú^��ÿ�±^\ref{eq1} ½ö\eqref{eq1} 5Ú^�§"aq�±¢yéã§L§Ù§!�Ú^"

5.6. Footnote

^·-\footnote{ �5SN} 3�c �V\�5a"aù´��~f

Page 12: An introduction to LaTeX2eread.pudn.com/downloads111/ebook/463045/Slides-Part1.pdf · •First •Prev •Next •Last •Go Back •Full Screen •Close •Quit An Introduction to

•First •Prev •Next •Last •Go Back •Full Screen •Close •Quit

6. Tools

6.1. Editor

~^�TEX?6ìkµWinedt, Editplus, Ultraedit, Emacs, Vim

6.2. Drawing

MetaPost ��r��±ã�ó";�±��°{�°(ã/§ÚTEX(Ü�éÐ"gnuplot�±�Ñ�~Ð�êÆã/§÷v\�Ü©�m��¦"

6.3. Reference Manager

í�Endnote§�BÑÑbib©�"

Page 13: An introduction to LaTeX2eread.pudn.com/downloads111/ebook/463045/Slides-Part1.pdf · •First •Prev •Next •Last •Go Back •Full Screen •Close •Quit An Introduction to

•First •Prev •Next •Last •Go Back •Full Screen •Close •Quit

7. Installation

[~]CTEX þ�e1¥%e1CTEX@C

http://wikka.ctex.org/CTeXDownload

or ftp://ftp.ia.ac.cn/software/latex

[~]Linux^r�±ÀJSCteTEX, TexLive¶[~]CTeX-Fonts —¥©i¥SCóä;

[~]SC÷�: e1®²?ÈL�÷�§=.sty½ö.cls©�§,�rù©��3

CTex\localtexmf\tex\latex\

e�,�f8¹¥§��±gï8¹"2M#XÚ�©�¶êâ¥(¦^MiKTEX

Jø�ã/.¡óäMiKTEX Options§3m©èü¥é�MiKTEX Options§�m:ÂGeneral�þ�Refresh NowUÜ=�)"

Page 14: An introduction to LaTeX2eread.pudn.com/downloads111/ebook/463045/Slides-Part1.pdf · •First •Prev •Next •Last •Go Back •Full Screen •Close •Quit An Introduction to

•First •Prev •Next •Last •Go Back •Full Screen •Close •Quit

Page 15: An introduction to LaTeX2eread.pudn.com/downloads111/ebook/463045/Slides-Part1.pdf · •First •Prev •Next •Last •Go Back •Full Screen •Close •Quit An Introduction to

•First •Prev •Next •Last •Go Back •Full Screen •Close •Quit

8. Resources

1. Tobias Oetiker,The not so short introduction to LATEX 2ε.éÐ�\�Ö7¶

2. www.ctan.org(Comprehensive TEX Archive Network)A � Â Û ­ . þ ¤ k�TEX�'^�Ú©�§¿Øä�1¶�´Ïé÷����Ì�/�¶

3. www.ctex.org ;��¥©TEX�Õ¶ùp�Ø��´ÆS�6�Ð/�¶

4. www.chinatex.org é�[�¡�0�¶

5. http://learn.tsinghua.edu.cn/homepage/2001315450/index.html

�~��<Ì�¶

6. http://ctex.myrice.com/document/latex/graphics/graphics.html

�[LATEX 2ε�ã�H¶

Page 16: An introduction to LaTeX2eread.pudn.com/downloads111/ebook/463045/Slides-Part1.pdf · •First •Prev •Next •Last •Go Back •Full Screen •Close •Quit An Introduction to

•First •Prev •Next •Last •Go Back •Full Screen •Close •Quit

Thanks!