%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Contents: Specialities of the LaTeX system
% $Id: spec.tex 172 2008-09-25 05:26:50Z oetiker $
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\chapter{Íýìýëò áîëîìæóóä}
\begin{intro}
  Òîìîîõîí áàðèìò áîëîâñðóóëàõàä çîðèóëæ \LaTeX{} òîâú¼ã, íîìç³é ³³ñãýõ ãýõ ìýò áîëîìæóóäààð õàíãàäàã. \LaTeX{}-èéí òýäãýýð íýìýëò áîëîí òóñãàé áîëîìæóóäûí òàëààð {\normalfont\manual{}} áîëîí {\normalfont \companion} òîâõèìëóóäàä äýëãýðýíã³é °ã³³ëñýí áàéãàà.
\end{intro}

\section{\EPSi{} çóðàã îðóóëàõ}\label{eps}
\LaTeX{} íü \texttt{figure} áîëîí \texttt{table} õ³ðýýëë³³äýä çóðàã, ãðàôèê ìýòèéí õ°â°ã÷ áèåòòýé àæèëëàõ áîëîëöîîã îëãîäîã.

\LaTeX{}-èéí ³íäñýí áóþó °ðã°òã°ñ°í áàãöûã àøèãëàí \wi{ãðàôèê} áàéãóóëàõ õýä õýäýí àðãà áàéõ á°ã°°ä òýäãýýðèéí çàðèìûã \ref{chap:graphics}-ð á³ëýãò äóðäàâ. Ì°í \companion{} áîëîí \manual{} òîâõèìëóóäààñ äýëãýðýíã³éã ìýäýæ áîëíî.

Áàðèìòàä çóðàã îðóóëàõ õàìãèéí õÿëáàð àðãà íü çóðãàà òóñãàé çîðèóëàëòûí ïðîãðàìì àøèãëàí áýëòãýýä\footnote{XFig, Gnuplot, Gimp, Xara X \ldots} ò³³íèéãýý áàðèìòäàà îðóóëàõ ÿâäàë á°ã°°ä \LaTeX{}-ä áýëòãýñýí çóðãàà îðóóëàõ îëîí ò°ðëèéí àðãà çàì áàéäãààñ ýíý óäààä áèä, õýðýãëýõýä õÿëáàð/ò³ãýýìýë õýðýãëýãääýãýýð íü \EPSi{} (EPS) ò°ðëèéí çóðãèéã õýðõýí îðóóëàõ òàëààð àâ÷ ³çýõ áîëíî. EPS ôîðìàòûí çóðãèéã àøèãëàõûí òóëä \PSi{} õýâëýã÷\footnote{\PSi{}-ã ä³ðñëýõ °°ð íýã áîëîìæ áîë \textsc{\wi{GhostScript}} ïðîãðàììûã \CTANref|support/ghostscript| õàÿãààñ òàòàæ àâ÷ àøèãëàõ ÿâäàë. Windows áîëîí OS/2 õýðýãëýã÷äýä \textsc{GSview} õýðýãòýé.} øààðäëàãàòàé.

Ä.~Êàðëèñëûí çîõèîñîí \pai{graphicx} áàãöàä çóðàã îðóóëàõàä çîðèóëàãäñàí íýëýýä õ³÷èðõýã òóøààëóóä áàãòñàí áàéíà. Ýíý íü ``graphics'' á³ðäëèéí íýã õýñýã àæýý.\footnote{\CTANref|macros/latex/required/graphics|}

Êîìïüþòåðò òàíü \PSi{} õýâëýã÷ àæèëëàõ áîëîìæòîé ò°äèéã³é \textsf{graphicx} áàãö ñóóñàí áîë áàðèìòàä çóðàã îðóóëàõ äàðààõ àëõìóóäûã ã³éöýòãýýðýé:

\begin{enumerate}
\item Çîðèóëàëòûí ïðîãðàììààð çóðãàà EPS ôîðìàò óðóó õ°ðâ³³ëýõ.\footnote{Õýðýâ òàíû ïðîãðàìì EPS ôîðìàò óðóó õ°ðâ³³ëýõ áîëîìæã³é áîë \PSi{} ïðèíòåðèéí äðàéâåð (æèøýý íü, Apple LaserWriter ìýòèéí) ñóóëãààä ò³³ãýýð ôàéëàà EPS ôîðìàò óðóó õ°ðâ³³ëýõ õýðýãòýé. EPS íü íýãýýñ èë³³ õóóäñûã àãóóëàõã³é ãýäãèéã àíõààð. Ãýõäýý çàðèì ïðèíòåð äðàéâåðóóäàä ³³íèéã òîõèðóóëæ áîëäîã.}
\item Îðîëòûí ôàéëûí ýõëýëä \textsf{graphicx} áàãöûã äàðààõ áàéäëààð çàðëàíà
\begin{lscommand}
\verb|\usepackage[|\emph{äðàéâåð}\verb|]{graphicx}|
\end{lscommand}
\noindent ³³íä, \emph{äðàéâåð} íü ``dvi-ààñ postscript óðóó'' õ°ðâ³³ëýõ ïðîãðàìì á°ã°°ä ýíä õàìãèéí °ðã°í õýðýãëýãääýã ïðîãðàìì íü \texttt{dvips} þì. \TeX{}-ä çóðàã îðóóëàõ òîäîðõîé ñòàíäàðò áàéõã³é ó÷ðààñ äðàéâåðûí íýðèéã îíîîõ øààðäëàãàòàé áàéäàã. \emph{Äðàéâåðûã} òîäîðõîéëñíîîð, \eei{.dvi} ôàéë äàõü çóðãèéí ìýäýýëëèéã îðóóëàõ çîõèõ àðãûã \textsf{graphicx} áàãö ñîíãîæ óëìààð ïðèíòåð ³³íèé äàãóó \eei{.eps} ôàéëûã àëäààã³éãýýð îðóóëäàã.
\item Áàðèìòàä çóðãèéí \emph{ôàéëûã} îðóóëàõäàà äàðààõ òóøààëûã àøèãëàíà.
\begin{lscommand}
\ci{includegraphics}\verb|[|\emph{ñîíãîëò}=\emph{óòãà}, \ldots\verb|]{|\emph{ôàéë}\verb|}|
\end{lscommand}
\noindent Çóðãèéí °íä°ð, °ðã°í, ýðãýëò çýðãèéã òîãòîîõ \emph{ñîíãîëòîä} õàðãàëçàõ \emph{óòãà} á³õèé õóâüñàã÷óóäûã °°ð õîîðîíä íü òàñëàëààð òóñãààðëàæ îðóóëíà. ×óõàë õýðýãöýýòýé ñîíãîëòóóäûã \ref{keyvals}-ð õ³ñíýãòýä æàãñààí ³ç³³ëýâ.
\end{enumerate}

\begin{table}[htb]
\caption{\textsf{graphicx} áàãöûí ñîíãîëòóóä.}
\label{keyvals}
\begin{lined}{9cm}
\begin{tabular}{@{}ll}
\texttt{width}& çóðãèéí °ðã°íèé õýìæýýã °°ð÷èëí°\\
\texttt{height}& çóðãèéí °íäðèéí õýìæýýã °°ð÷èëí°\\
\texttt{angle}& çóðãèéã öàãèéí ç³³íèé ýñðýã ÷èãëýëä ýðã³³ëíý\\
\texttt{scale}& çóðãèéí õýìæýýã íèéòýä íü °°ð÷èëí° \\
\end{tabular}

\bigskip
\end{lined}
\end{table}

\pagebreak
Îéëãîìæòîé áîëãîõ ³³äíýýñ äàðààõ æèøýý êîäûã àâ÷ ³çüå:
\begin{code}
\begin{verbatim}
\begin{figure}
\centering
\includegraphics[angle=90,
                 width=0.5\textwidth]{test}
\caption{Ýíý áîë æèøýý.}
\end{figure}
\end{verbatim}
\end{code}
³íä \texttt{test.eps} çóðãèéã áàðèìòàä îðóóëàõäàà ò³³íèéã \emph{ýõëýýä} 90 ãðàäóñ ýðã³³ëýýä \emph{äàðàà íü} ñòàíäàðò ïàðàãðàôûí õóâüä °ðã°°ø íü 2 äàõèí áîãèíîñãîæýý. Ýíä °íäðèéíõ íü õýìæýýã òóñãàéëàí òîãòîîãîîã³é ó÷ðààñ óðò °ðã°í õî¼ðûí õàðüöààã $1.0$ ãýæ îéëãîõ á°ã°°ä óðò °ðã°íèé õýìæýýã òóñãàéëàí òîãòîîæ áîëíî. Õýìæýýòýé õîëáîîòîé äýëãýðýíã³é ìýäýýëëèéã \pageref{units}-ð õóóäàñíû \ref{units}-ð õ³ñíýãòýýñ, ýíýõ³³ ñýäýâòýé õîëáîîòîé äýëãýðýíã³é ìýäýýëëèéã \cite{graphics} áîëîí \cite{eps} òîâõèìëóóäààñ òóñ òóñ ñîíèðõîæ áîëíî.

\section{Íîìç³é}

\ei{thebibliography} õ³ðýýëëèéí òóñëàìæòàéãààð \wi{íîìç³é}ã ³³ñãýæ, °ã°ãäë³³äèéã äàðààõ ìàÿãààð îðóóëíà
\begin{lscommand}
\ci{bibitem}\verb|[|\emph{õàÿã}\verb|]{|\emph{òýìäýãëýãýý}\verb|}|
\end{lscommand}
³íä, \emph{òýìäýãëýãýý} ãýäýãò áàðèìòàä èø òàòàæ îðóóëñàí íîì òîâõèìëóóäûí íýðèéí òîâ÷ëîë áàéíà.
\begin{lscommand}
\ci{cite}\verb|{|\emph{òýìäýãëýãýý}\verb|}|
\end{lscommand}
Õýðýâ \emph{õàÿã} ãýñýí ñîíãîëòûã õîîñîí îðõèâîë °ã°ãäëèéã àâòîìàòààð äóãààðëàí îðóóëàõ áîëíî. \verb|\begin{thebibliography}| òóøààëûí àðä áè÷èãäýõ õóâüñàã÷ààð íîìç³éä îðæ áîëîõ íèéò õàÿãèéí òîîã çààíà. Äîîðõ æèøýýíä \verb|{99}| ãýäãýýð \LaTeX{}-ä èø òàòàõ íèéò íîìûí òîî 99 øèðõãýýñ õýòðýõã³é áîëîõûã èëòãýæ áàéíà.
\enlargethispage{2cm}
\begin{example}
Ïàðòë~\cite{pa}-ûí
°ã³³ëñíýýð áîë \ldots
\begin{thebibliography}{99}
\bibitem{pa} H.~Partl:
\emph{German \TeX},
TUGboat Volume~9, Issue~1 (1988)
\end{thebibliography}
\end{example}

\chaptermark{Specialities} % w need to fix the damage done by the
                           %bibliography example.
\thispagestyle{fancyplain}


Òîìîîõîí áàðèìòóóäàä Bib\TeX{} ïðîãðàììûã àøèãëàõ íü òîõèðîìæòîé. Bib\TeX{} íü \TeX{}-èéí èõýíõ òàðõöóóäûã àãóóëäàã ò°äèéã³é íîìç³éí °ã°ãäëèéí ñàíã äýìæèõ á°ã°°ä áàðèìòàä èø òàòñàí ç³éë á³ðèéã ò³³íèé ýõ òîâõèìëûí òàëààðõ òàéëáàðóóäòàé õîëáîæ °ã°õ ³³ðýãòýé. Bib\TeX{} íü òîìîîõîí õýìæýýíèé íîìç³éí °ã°ãäëèéã ³³ñãýõ çàãâàð õóóäàñíû ãîðèìä òóëãóóðëàäàã.

\newpage

\section{Òîâú¼ã ³³ñãýõ} \label{sec:indexing}
Íîìûí ÷óõàë õýñã³³äýä \wi{òîâú¼ã} áàãòäàã. \LaTeX{} áîëîí \texttt{makeindex}\footnote{8-ààñ èë³³ã³é òîîíû òýìäýãòýýñ á³ðäñýí ôàéëûí íýðèéã äýìæäýã ñèñòåì³³äýä ³³íèéã \texttt{makeidx} ãýõ íü áèé.} ïðîãðàììûí òóñëàìæòàéãààð òîâú¼ãèéã õÿëáàðõàí ³³ñãýæ áîëäîã á°ã°°ä ýíýõ³³ õýñýãò ç°âõ°í òîâú¼ã ³³ñãýõ ³íäñýí òóøààëóóäûã ñóäëàõ áîëíî. Äýëãýðýíã³é ìýäýýëëèéã \companion~òîâõèìëîîñ àâíà óó.  \index{makeindex ïðîãðàìì} \index{makeidx áàãö}

\LaTeX{}-ä òîâú¼ã ³³ñãýõ ãîðèìûã èäýâõæ³³ëýõèéí òóëä \pai{makeidx} áàãöûã áàðèìòûí ýõëýëä çàðëàñàí áàéõ ¼ñòîé:
\begin{lscommand}
\verb|\usepackage{makeidx}|
\end{lscommand}
\noindent òîâú¼ã ³³ñãýõ òóñãàé òóøààëûã
\begin{lscommand}
  \ci{makeindex}
\end{lscommand}
\noindent îðîëòûí ôàéëä ì°í çàðëàñàí áàéíà.

Òîâú¼ãèéã òîäîðõîéëîõäîî,
\begin{lscommand}
  \ci{index}\verb|{|\emph{ò³ëõ³³ð ³ã}\verb|}|
\end{lscommand}
\noindent ãýñýí òóøààëûí \emph{ò³ëõ³³ð ³ã} ãýäýãò òîâú¼ãò îðóóëàõ ³ãñèéã çààí îðóóëíà. \emph{Ò³ëõ³³ð ³ã} îðóóëàõ çàãâàðûã \ref{index}-ð õ³ñíýãòýä æèøýýãýýð ³ç³³ëýâ.

\begin{table}[!tp]
\caption{Òîâú¼ãò ò³ëõ³³ð ³ã îðóóëàõ çàãâàð.}
\label{index}
\begin{center}
\begin{tabular}{@{}lll@{}}
  \textbf{Æèøýý} &\textbf{Òýìäýãëýãýý} &\textbf{Òàéëáàð}\\\hline
  \rule{0pt}{1.05em}\verb|\index{hello}| &hello, 1 &Åðäèéí òýìäýãëýãýý\\
\verb|\index{hello!Peter}|   &\hspace*{2ex}Peter, 3 &`hello'-èéí äýä òýìäýãëýãýý\\
\verb|\index{Sam@\textsl{Sam}}|     &\textsl{Sam}, 2& Íàëóóëñàí òýìäýãëýãýý\\
\verb|\index{Lin@\textbf{Lin}}|     &\textbf{Lin}, 7& Äýýðõèéí àäèë\\
\verb.\index{Jenny|textbf}.     &Jenny, \textbf{3}& Òîäîòãîñîí äóãààð\\
\verb.\index{Joe|textit}.     &Joe, \textit{5}& Äýýðõèéí àäèë\\
\verb.\index{ecole@\'ecole}.     &\'ecole, 4& ðã°ëò òàâèõ
\end{tabular}
\end{center}
\end{table}

\LaTeX{}, îðîëòûí ôàéëûã áîëîâñðóóëàõäàà \verb|\index| òóøààëààð òîâú¼ã òýìäýãëýãýýã çîõèõ õóóäàñíû äóãààðûí õàìòààð, óã îðîëòûí ôàéëòàé íýð èæèë áîëîâ÷ °ðã°òã°ë °°ð (\verb|.idx|) ôàéëä áè÷äýã. Óëìààð ýíýõ³³ \eei{.idx} ôàéëûã \texttt{makeindex} ïðîãðàìì öààø áîëîâñðóóëäàã.

\begin{lscommand}
  \texttt{makeindex} \emph{ôàéëûí íýð}
\end{lscommand}
\texttt{makeindex} ïðîãðàììààð ýðýìáýëñýí òîâú¼ã á³õèé, ýõ ôàéëòàé èæèë íýðòýé \eei{.ind} °ðã°òã°ëòýé ôàéëûã ³³ñãýñíèé äàðààãààð îðîëòûí ôàéëûã \LaTeX{} äýýð äàõèí áîëîâñðóóëìàãö \LaTeX{}
\begin{lscommand}
  \ci{printindex}
\end{lscommand}
òóøààëûí áàéðëàæ áóé áàéðëàëä òîâú¼ãèéã áàðèìòàä õàâñàðãàíà.

\LaTeXe{}-èéí \pai{showidx} áàãöûí òóñëàìæòàéãààð òîâú¼ãò îðñîí ò³ëõ³³ð ³ãèéã òýìäýãëýñýí õóóäàñ á³ðèéí çàõàä òóõàéí õóóäñàíä õàðüÿàëàãäàõ ò³ëõ³³ð ³ãñèéã õýâëýæ õàðóóëäàã. Ýíý íü òîâú¼ãèéã íÿãòëàõ áîëîí áàðèìòûã õÿíàí çàñâàðëàõàä õýðýã áîëäîã.

\ci{index} òóøààëûã ç°â õýðýãëýõã³é áîë áàðèìòûí õàðàãäàõ áàéäàëä í°ë°°ëæ áîëçîøã³é áàéäàã.

\begin{example}
Ñ³³ëèéí öýã \index{ã}.
Ò°ãñã°õ öýã\index{ã}.
Ò°ãñã°ëèéã àíõààð.
\end{example}

\section{Ç³éë÷ëýëèéã òîõèðóóëàõ}
\label{sec:fancy}

Ïèò âàí Îîñòðóìûí (Piet van Oostrum) çîõèîñîí \pai{fancyhdr} áàãö\footnote{\CTANref|macros/latex/contrib/supported/fancyhdr| õàÿãààñ òàòàæ àâ÷ áîëíî.} íü áàðèìòûí ç³éë÷ëýë, ç³³ëòèéã õÿëáàðõàí òîõèðóóëàõ ö°°í òîîíû òóøààëûã àãóóëäàã. Óã áàãöûí õýðýãëýýã ÿã ýíý õóóäàñíû äýýä òàëä áàéðëàõ ç³éë÷ëýëýýñ õàðæ áîëíî.

\begin{figure}[!htbp]
\begin{lined}{\textwidth}
\begin{verbatim}
\documentclass{book}
\usepackage{fancyhdr}
\pagestyle{fancy}
% èíãýñíýýð á³ëýã, äýä á³ëãèéí ç³éë÷ëýëèéã
% æèæèã ³ñãýýð òýìäýãëýõ áîëîìæòîé áîëíî.
\renewcommand{\chaptermark}[1]{%
        \markboth{#1}{}}
\renewcommand{\sectionmark}[1]{%
        \markright{\thesection\ #1}}
\fancyhf{}  % îäîîãèéí ç³éë÷ëýë, ç³³ëòèéã õ³÷èíã³é áîëãîõ
\fancyhead[LE,RO]{\bfseries\thepage}
\fancyhead[LO]{\bfseries\rightmark}
\fancyhead[RE]{\bfseries\leftmark}
\renewcommand{\headrulewidth}{0.5pt}
\renewcommand{\footrulewidth}{0pt}
\addtolength{\headheight}{0.5pt} % çàé òîãòîîõ
\fancypagestyle{plain}{%
   \fancyhead{} % õóóäàñíààñ ç³éë÷ëýëèéã õàñàõ
   \renewcommand{\headrulewidth}{0pt}
}
\end{verbatim}
\end{lined}
\caption{\pai{fancyhdr} òîõèðãîîíû æèøýý.} \label{fancyhdr}
\end{figure}

Ç³éë÷ëýë, ç³³ëòýä á³ëýã áà äýä á³ëãèéí íýðèéã òîõèðóóëàõàä ÿðâèãòàé áàéäàã á°ã°°ä \LaTeX{}-ä ³³íèéã õî¼ð ÿíçààð ã³éöýòãýæ áîëíî. Ç³éë÷ëýë, ç³³ëòèéã îíîîñîí õóóäñàíä ë äàõèí òîäîðõîéëîõûã õ³ñâýë òóõàéí á³ëýã äýä á³ëãèéí íýðñèéã ò°ë°°ë°õ \ci{rightmark} áà \ci{leftmark} ãýñýí òóøààëóóäûã á³ëýã, äýä á³ëãèéí íýðñèéã °°ð÷ë°õèéã õ³ññýí õóóäñàíäàà çàðëàíà.

\verb|\chapter| áîëîí ³³íòýé èæèë òóøààëóóäûã á³õýëä íü äàõèí òîäîðõîéëîõûí òóëä \ci{rightmark} áà \ci{leftmark} òóøààëóóäûã áóñ \ci{chaptermark}, \ci{sectionmark}, áóþó \ci{subsectionmark} òóøààëóóäûã àøèãëàíà.

Ç³éë÷ëýë äýõ á³ëãèéí íýðèéã °°ð÷ë°õä°° ``øèíýýð'' \ci{chaptermark} òóøààëûã çàðëàíà. \cih{sectionmark}\cih{subsectionmark}


\ref{fancyhdr}-ð çóðàãò, ýíýõ³³ òîâõèìîë äýýðõ ç³éë÷ëýëòýé èæèë ç³éë÷ëýë ³³ñãýõ \pai{fancyhdr} áàãöûí áîëîìæèò òîõèðãîîã ³ç³³ëýâ. Ç³³ëòýä òýìäýãëýñýí õàÿãààð õàíäàí óã áàãöûí òàëààðõ ìýäýýëëèéã àâ÷ áîëíî.

\section{Verbatim áàãö}

Ýíý íîìûí ýõýíä \ei{verbatim} \emph{õ³ðýýëëèéí} òàëààð òîäîðõîé îéëãîëòòîé áîëñîí áàéõ. Ýíý äýä á³ëãýýð áèä \pai{verbatim} \emph{áàãöûã} ñóäëàõ áîëíî. Åð°íõèéä°° \pai{verbatim} áàãö íü \ei{verbatim} õ³ðýýëëèéã áîäâîë íýìýëò ³³ðýãòýéãýýð õÿçãààðëàãäìàë õ³ðýýíä àæèëëàäàã. \ei{verbatim} áàãöûã àøèãëàõäàà

\begin{lscommand}
\ci{verbatiminput}\verb|{|\emph{ôàéëûí íýð}\verb|}|
\end{lscommand}

\noindent ãýñýí òóøààëûã çàðëàæ, ASCII òåêñò ôàéëûã á³õýëä íü \ei{verbatim} õ³ðýýëýëä îðóóëíà.

Ýíýõ³³ \pai{verbatim} áàãö íü `tools' á³ðäëèéí õýñýã òóë èõýíõ ñèñòåì³³äýä ò³³íèé ñóóëãàö áèé. Õýðýâ óã áàãöûí òàëààðõ äýëãýðýíã³é ìýäýýëëèéã àâàõûã õ³ñâýë \cite{verbatim}-ð òîâõèìëûã ñîíèðõîíî óó.


\section{Íýìýëò áàãö ñóóëãàõ}\label{sec:Packages}

Èõýíõ \LaTeX{} ñóóëãàöóóäàä òîìîîõîí õýìæýýíèé ñóóëãàõààð çàãâàð÷èëñàí áàãöóóä äàãàëääàã áîë áóñäûã íü èíòåðíåòýýñ òàòàæ àâàõ øààðäëàãàòàé áàéäàã. Çàãâàð÷èëñàí áàãöóóäûã òàòàæ àâ÷ áîëîõ èíòåðíåòèéí ³íäñýí õàÿã íü CTAN (\url{http://www.ctan.org/}).

\pai{geometry}, \pai{hyphenat}, áîëîí °°ð áóñàä áàãöóóä íü ãîëäóó õî¼ð ôàéëààñ á³ðääýã: \texttt{.ins} áîëîí \texttt{.dtx} °ðã°òã°ëòýé ôàéëóóä. Ýäãýýðèéã äàãàëäàæ, óíøèæ òàíèëöâàë çîõèõ òóõàéí áàãöûí òàëààðõ òîâ÷ òàéëáàðûã àãóóëñàí \texttt{readme.txt} ôàéë èðäýã.

ßìàð ÷ òîõèîëäîëä, áàãö ôàéëóóäàà êîìïüþòåðòîî õóóëæ òàâüñíû äàðààãààð (a) \TeX\ òàðõöàäàà çàãâàð÷èëñàí áàãöûã òàíèóëæ, (b) øààðäàãäàõ áàðèìòóóäûã ãàðãàí àâíà. Ýõíèé õýñãèéí ã³éöýòãýëèéã äóðäâàë:

\begin{enumerate}
\item \LaTeX{} äýýð \texttt{.ins} ôàéëûã áîëîâñðóóëæ \eei{.sty} ôàéëûã ãàðãàí àâíà.
\item Ãàðãàí àâñàí \eei{.sty} ôàéëàà \texttt{\ldots/\emph{localtexmf}/tex/latex} äýä äèðåêòîðò (Windows áóþó OS/2 õýðýãëýã÷èä òàøóó çóðààñûã ýñðýã òèéø °°ð÷ë°í áè÷íý) áàéðëóóëíà.
\item Òàðõöûíõàà ôàéëûí íýðñèéí °ã°ãäëèéã \LaTeX{} òàðõöàäàà çîõèõ òóøààëààð øèíý÷èëíý:
  teTeX, fpTeX -- \texttt{texhash}; web2c -- \texttt{maktexlsr};
  MiKTeX -- \texttt{initexmf -update-fndb} ýñâýë GUI áóþó õýðýãëýã÷èéí õàðèëöàõ öîíõ àøèãëà.
\end{enumerate}

\noindent Îäîî \texttt{.dtx} ôàéëààñàà áàðèìòûã ãàðãàí àâàõ áîëîìæòîé áîëëîî:

\begin{enumerate}
\item \texttt{.dtx} ôàéëûã \LaTeX\ äýýð áîëîâñðóóëæ \texttt{.dvi} ôàéëûã ãàðãàí àâíà. \LaTeX\ äýýðõ õýä õýäýí óäààãèéí áîëîâñðóóëàëòûí äàðààãààð õîëáîõ çààã÷èéí ìýäýýëëèéã (cross-reference) öóãëóóëæ õàâñàðãàíà.
\item \LaTeX, áîëîâñðóóëàëòààð \texttt{.idx} ôàéë ³³ññýí ýñýõèéã øàëãàíà. Õýðýâ ³³ñýýã³é áîë \ref{step:final}-ð àëõàìä øèëæèíý.
\item Òîâú¼ã ³³ñãýõèéí òóëä äàðààõ òóøààëûã áèåë³³ëíý:\\
        \fbox{\texttt{makeindex -s gind.ist \textit{íýð}}}\\
        (³³íä \textit{íýð} ãýäýãò áîëîâñðóóëàõ ôàéëûí °ðã°òã°ë àãóóëààã³é ç°âõ°í íýð áàéíà).
 \item \texttt{.dtx} ôàéëûã \LaTeX\ äýýð äàõèí íýã óäàà áîëîâñðóóëíà. \label{step:next}

\item Ýöýñò íü, óíøèõàä ýâòýéõýí áàéõ ³³äíýýñ \texttt{.ps} þì óó \texttt{.pdf} ôàéëûã ³³ñãýíý.\label{step:final}

\end{enumerate}

ãèéí òàéëáàð ³³ñãýõäýý \texttt{.glo} (³ãèéí òàéëáàð)
\ref{step:next}-\ref{step:final}-ð àëõàì õîîðîíä äàðààõ òóøààëûã çàðëàíà:

\noindent\texttt{makeindex -s gglo.ist -o \textit{íýð}.gls \textit{íýð}.glo}

\noindent \ref{step:final}-ð àëõàìä øèëæèõýýñ °ìí° \texttt{.dtx} ôàéëûã \LaTeX\ äýýð äàõèí íýã óäàà áîëîâñðóóëíà.


%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Contents: Chapter on pdfLaTeX
% French original by Daniel Flipo 14/07/2004
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\section{pdf\LaTeX{}-òýé àæèëëàõ} \label{sec:pdftex}\index{PDF}
\secby{Äàíèèë Ôëèïî (Daniel Flipo)}{Daniel.Flipo@univ-lille1.fr}%
PDF íü âåá õóóäàñò çàðèì ³ãñèéã çààã÷ õîëáîîñîîð òóõàéí áàðèìòûí àëü íýãýí õýñýãò áóþó °°ð áóñàä áàðèìòàä øèëæèõýýð òýìäýãëýñýí áàéäàãòàé ò°ñòýé, áàðèìòûí \wi{ãèïåðòåêñò} ôîðìàò þì. Òóõàéí õîëáîõ çààã÷ äýýð äàðìàãö çààã÷èéí áàéðëàëä øèëæèíý. \LaTeX{}-èéí õóâüä óã õîëáîõ çààã÷ íü \ci{ref} áà \ci{pageref} þì. Íýìæ õýëýõýä, õ³ñíýãòèéí æàãñààëò, òîâú¼ã áîëîí áóñàä èæèë á³òö³³ä íü äýýðõ õîëáîõ çààã÷èéí ò°ð°ëä õàìààðäàã.

Èõýíõ âåá õóóäàñíóóä HTML \emph{(HyperText Markup Language)} äýýð áè÷èãäýæ áàéãàà áèëýý. Óã ôîðìàòààð øèíæëýõ óõààíû áàðèìò áè÷èã áîëîâñðóóëàõàä õî¼ð òîì äóòàãäàë áàéäàã:
\begin{enumerate}
\item HTML áàðèìò ìàòåìàòèêèéí òîìü¼îã äýìæäýãã³é. ³íä òîäîðõîé ñòàíäàðò áàéñààð àòàë èõýíõ èíòåðíåò õ°ò÷³³ä ³³íèéã ³ë äýìæèõ áóþó øààðäëàãàòàé ôîíòóóä äóòàãääàã.
\item HTML áàðèìòûã õýâëýõ áîëîìæòîé ÷ ãàðàõ ³ð ä³í íü õ°ò°÷ áîëîí ñèñòåìýýñ èõýä øàëòãààëäàã ò°äèéã³é \LaTeX{}-òýé õàðüöóóëàõàä ÷àíàðûí øààðäëàãà õàíãàäàãã³é.
\end{enumerate}

\LaTeX{}-ýýñ HTML óðóó õ°ðâ³³ëýõ îëîí ÿíçûí îðîëäëîãûí çàðèì íü ñòàíäàðò \LaTeX{} îðîëòûí ôàéëûã âåá õóóäñàíä óíøèæ áîëîõîîð õ°ðâ³³ëæ áàéñàí õýäèé ÷ ãàðàõ ³ð ä³í íü áè÷èãëýëèéã õýò õÿëáàð÷èëäàã áàéñàí. Óäàëã³é \LaTeX{}-èéã èë³³ óÿí õàòàí áîëãîõ íýìýëò áàãöóóä ãàð÷ èðìýãö õ³ì³³ñ áýëòãýñýí áàðèìòûíõàà õýâëýëèéí ÷àíàðûã àëäàãäóóëàõã³é áàéëãàõ ³³äíýýñ, âåáäýý áàðèìòûí çàãâàðûã õàäãàëàõ ò°äèéã³é ãèïåðòåêñò óäèðäëàãûã äýìæèõ PDF \emph{(Portable Document Format, áàðèìòûí ç°°âðèéí ôîðìàò)}-ã àøèãëàõ áîëñîí þì. Ñ³³ëèéí ³åèéí èõýíõ èíòåðíåò õ°ò÷³³äýä PDF áàðèìòûã øóóä íýýõ áîëîëöîîòîé íýìýëò ïðîãðàìì äàãàëääàã áîëñîí.

Õýäèéãýýð èõýíõ ñèñòåì³³äýä DVI áîëîí PS ôàéëûã íýýí ³çýõ ïðîãðàìì áàéäàã ÷ \wi{Acrobat Reader} áîëîí \wi{Xpdf} íü PDF áàðèìòûã äýìæèã÷ õàìãèéí °ðã°í õýðýãëýãääýã ïðîãðàììóóä áèëýý. Èéìýýñ áàðèìòûí PDF õóâèëáàð íü óíøèã÷äàä èë³³ õ³ðòýýìæòýé þì.

\subsection{Âåáä çîðèóëñàí PDF áàðèìòóóä}

H\`an~Th\'{\^e}~Th\`anh õýìýýõ õ³íèé çîõèîñîí pdf\TeX{} ïðîãðàììûí òóñëàìæòàéãààð \LaTeX{} ýõ ôàéëààñ PDF ôàéëûã õÿëáàðõàí ãàðãàí àâ÷ áîëíî. pdf\TeX{} íü \TeX{}-èéí ³³ñãýñýí DVI ôàéëûã PDF óðóó õ°ðâ³³ëäýã áîë pdf\LaTeX{} íü ì°í \LaTeX{} ýõ ôàéëààñ PDF áàðèìòûã áîëîâñðóóëàí ãàðãàäàã. \index{pdftex@pdf\TeX}\index{pdftex@pdf\LaTeX}

pdf\TeX{} áîëîí pdf\LaTeX{} íü ñ³³ëèéí ³åèéí \TeX{} òàðõöóóä áîëîõ te\TeX{}, fp\TeX{}, MiK\TeX, \TeX{}Live áà CMac\TeX{} ñèñòåì³³äýä äàãàëäàí ñóóäàã.

DVI ôàéëûí îðîíä PDF ôàéë ³³ñãýõ áîë \texttt{latex file.tex} ãýñýí òóøààëûã \texttt{pdflatex file.tex} òóøààëààð ñîëèõîä õàíãàëòòàé. Çàðèì ñèñòåì³³äýä \LaTeX{}-ã òóøààë áè÷èæ àæèëëóóëàõã³éãýýð \TeX{}-èéí óäèðäàõ òîâ÷ëóóðóóäûã àøèãëàæ áîëäîã.

\LaTeX{} äýýð \texttt{a4paper} áóþó \texttt{letterpaper} ãýõ ìýò áàðèìòûí ò°ðëèéã çàðëàæ °ã÷ áîëäãèéí àäèëààð pdf\LaTeX{}-ä ÷ áàñ áîëîõ á°ã°°ä õàðèí pdf\TeX{}-èéí õóâüä pdf ôàéëä öààñíû õýìæýýã òîäîðõîéëîõ òóøààëûã çàðëàæ °ã°õ øààðäëàãàòàé.
\index{öààñíû õýìæýý}
Õýðýâ \pai{hyperref} áàãöûã (\pageref{ssec:pdfhyperref}-ð õóóäñûã ³ç) àøèãëàæ áàéãàà áîë öààñíû õýìæýý àâòîìàòààð òîõèðîõ áîëíî. Áóñàä òîõèîëäîëä äàðààõ òóøààëûã áàðèìòûí ýõýíä çàðëàíà:
\begin{code}
\begin{verbatim}
\pdfpagewidth=\paperwidth
\pdfpageheight=\paperheight
\end{verbatim}
\end{code}

Äàðààãèéí äýä á³ëýãò \LaTeX{} áîëîí pdf\LaTeX{} õî¼ðûí ÿëãààã íàðèéâ÷ëàí òàéëáàðëàõ áîëíî. Ãîë ÿëãààã äàðààõ ãóðâàí ç³éëä ò°âë°ð³³ëýí àâ÷ ³çýõ áîëíî: àøèãëàõ ôîíò, îðóóëàõ çóðãèéí ò°ð°ë, ãèïåð õîëáîã÷èéí á³òýö.

\subsection{Ôîíòóóä}

\wi{pdf\LaTeX}-ä á³õ ò°ðëèéí ôîíòûã (PK bitmaps, TrueType, \PSi{} type~1\dots) àøèãëàæ áîëîõ áîëîâ÷ åðäèéí \LaTeX{} bitmap PK ôîíò ôîðìàòààð ³³ñãýñýí áàðèìòûí ôîíò Acrobat Reader äýýð àðçàéæ õàðàãääàã òóë àðçàéëãàõã³éí òóëä ãàãöõ³³ \PSi{} Type 1 ôîíòûã àøèãëàõ íü òîõèðîìæòîé áàéäàã. \emph{Ñ³³ëèéí ³åèéí TeX ñóóëãàöóóäàä óã ôîíò àãóóëàãäàõ áîëñîí òóë ýíý íü àâòîìàòààð òîõèðíî. Òàíû PDF áàðèìò, äýýðõ ò°ðëèéí ôîíòûã àãóóëæ áàéâàë ýíý á³ëãèéã óíøèëã³é àëãàñàæ áîëíî.}

\PSi{} Type 1 ò°ðëèéí Computer Modern áîëîí AMSFonts ôîíòóóäûã Blue Sky Research áîëîí Y\&Y, Inc. çîõèîæ Àìåðèêèéí Ìàòåìàòèêèéí Íèéãýìëýãò ýðõýý øèëæ³³ëæýý. Óã ôîíòóóä íü 1997 îíû ýõýýð íèéòýä ò³ãæ ñ³³ëèéí ³åèéí èõýíõ \TeX{} òàðõöóóäàä äàãàëäàõ áîëñîí áàéíà.

\LaTeX{} äýýð àíãëèàñ áóñàä õýë äýýð áàðèìò áýëòãýõýä EC, LH, áóþó CB ôîíòóóä (\texttt{OT1} ôîíòûí òàëààð \pageref{OT1}-ð õóóäàñíààñ ³ç) õýðýã áîëíî. Âëàäèìèð Âîëîâè÷èéí çîõèîñîí EC/TC, EC Concrete, EC Bright áà LH ôîíòóóäûã àãóóëñàí cm-super ôîíòûí á³ðäëèéã \texttt{CTAN:/fonts/ps-type1/cm-super} õàÿãààñ òàòàæ àâ÷ áîëîõ áà ýíý íü \TeX{}Live7 áîëîí MiK\TeX~ñèñòåì³³äýä äàãàëääàã. Àïîñòîëîñ Ñèðîïîëîñûí (Apostolos Syropoulos) çîõèîñîí type~1 ò°ðëèéí CB ãðåê ³ñãèéí ôîíòûã \texttt{CTAN:/tex-archive/fonts/greek/cb} õàÿãààñ òàòàí àâ÷ áàñ áîëíî. Ãýõäýý äýýðõ ôîíòóóä õýâëýëèéí ÷àíàðûí õóâüä Blue Sky/Y\&Y-èéí Type1 CM ôîíòóóäûã ã³éöýõã³é, äýýä íÿãòðàë íü EC/LH/CB ôîíòóóäûí ýõ bitmap çóðãèéí ÷àíàðààð òàíèãäàæ, áàãà íÿãòðàëä ä³ðñëýãäýõäýý ýõ íÿãòðàëûã áàãàñãàäàã òóë òèéì ÷ öýâýðõýí õàðàãääàãã³é.

Ëàòèí õýë äýýð ýõ áýëòãýõèéí òóëä äàðààõ òîõèðãîîã õèéõ õýðýãòýé.
\begin{itemize}
\item \pai{aeguill} áóþó \emph{Almost European Computer Modern with Guillemets} áàãöûã áàðèìòûí ýõëýëä\newline \verb+\usepackage{aeguill}+\paih{aeguill} õýìýýí çàðëàñíààð AE âèðòóàë ôîíòûã EC ôîíòûí îðîíä èäýâõæ³³ëýõ þì.
\item Ýñâýë \pai{mltex} áàãöûã ç°âõ°í pdf\TeX{}-ä çîðèóëæ àøèãëàæ áîëíî.
\end{itemize}
{Ml\TeX} ñèñòåìèéí àäèëààð AE âèðòóàë ôîíò, \TeX{}-èéí CM ôîíòûí òýìäýãò³³äèéã 256 õ³ðòýë ã³éöýýí, EC ôîíòûí òýìäýãòèéí äàðààëëààð áàéðëóóëæ, type 1 ôîðìàòûí CM ôîíòóóäûã àøèãëàõ áîëîìæòîé áîëãîñíîîð T1 êîä÷èëîëä ëàòèí õýëä ñóóðèëñàí åâðîïûí õýëí³³äýä ³å òàñëàõ àæèëëàãààã èäýâõòýé áîëãîíî. Ãýâ÷ õóóðìàã AE òýìäýãò³³ä íü Acrobat Reader ïðîãðàììûí \texttt{õàéëòûí} ôóíêöýä çîõèöîí àæèëëàäàãã³é òóë PDF ôàéëä °ðã°ëòòýé ³ñýã îðñîí ³ãñèéã õàéõ áîëîìæã³é.

Îðîñ õýëíèé õóâüä äýýðõèéí èæèë øèéäýë íü C1 âèðòóàë ôîíòóóäûã \texttt{ftp://ftp.vsu.ru/pub/tex/font-packs/c1fonts} õàÿãààñ òàòàí àâ÷ àøèãëàõ ÿâäàë þì. Ýäãýýð ôîíòóóä íü Bluesky á³ðäëèéí ñòàíäàðò CM type~1 áîëîí Paradissa áîëîí BaKoMa á³ðäëèéí CMCYR type~1 ôîíòóóäûí íýãäýë á°ã°°ä ýäãýýðèéã CTAN-ààñ òàòàæ àâàõ áîëîìæòîé. Paradissa ôîíòóóä íü ç°âõ°í Îðîñ öàãààí òîëãîéí ³ñã³³äèéã àãóóëäàã òóë C1 ôîíòóóäàä êèðèëë ³ñãèéí áóñàä òýìäýãò ³ñã³³ä àãóóëàãääàãã³é.

°ð íýã øèéäýë íü áóñàä \PSi{} type~1 ôîíòóóäûã àøèãëàõ ÿâäàë. íýíäýý òýäãýýðèéí çàðèì íü Acrobat Reader ïðîãðàììä äàãàëääàã. Ýäãýýð ôîíòóóäûí ³ñãèéí õýìæýý õàðèëöàí ÿëãààòàé òóë õóóäñàí äàõü òåêñòèéí áàéðøèë °°ð÷ë°ãä°æ áîëçîøã³é áàéäàã. Åð°íõèéä°° ýäãýýð ôîíòóóä íü çàéã ìàø ³ð àøèãòàéãààð øèéäñýí CM ôîíòóóäààñ õàðüöàíãóé èõ çàé ýçýëäýã. Ò³³í÷ëýí, Times, Helvetica áà Courier ôîíòóóäûã áàðèìòàä àøèãëàõààð ñîíãîñîí òîõèîëäîëä ýäãýýð íü íýã äîð çîõèöäîãã³é.

Äýýðõ í°õö°ëä òîõèðîõ õî¼ð ò°ðëèéí ôîíòûã, ³íäñýí òåêñòèéí ôîíòûã, \emph{Palatino} ôîíòûã äýìæèõ \pai{pxfonts} áàãöààð, òóñëàõ òåêñòèéí ôîíòûã \emph{Times} ôîíòûã äýìæèõ \pai{txfonts} áàãöààð òóñ òóñ èäýâõæ³³ëæ àæèëëóóëàõ ÿâäàë á°ã°°ä àøèãëàõäàà áàðèìòûí ýõëýëä äàðààõ ì°ð³³äèéã çàðëàíà:
\begin{code}
\begin{verbatim}
\usepackage[T1]{fontenc}
\usepackage{pxfonts}
\end{verbatim}
\end{code}

Æè÷: îðîëòûí ôàéëûã áîëîâñðóóëñíû äàðàà \texttt{.log} ôàéëä
\begin{verbatim}
Warning: pdftex (file eurmo10): Font eur... not found
\end{verbatim}
áàðèìòàä àøèãëàâàë çîõèõ çàðèì ôîíòóóä îëäîîã³éã çààñàí àíõààðóóëãà ãàð÷ áîëîõ þì. PDF áàðèìòàä \emph{îðõèãäñîí òýìäýãò³³äèéã àãóóëñàí õóóäàñ ãàðàõã³é} òóë ýíý àñóóäëûã øèéäâýðëýõýýñ °°ð çàìã³é.

Òýäãýýð õóäàëäààëàõ ôîíòóóäûã, ÿëàíãóÿà type 1 ôîðìàòûí CM ôîíòóóäûí ÷àíàðòàé ýí ÷àöóó EC ôîíòûã îðëîõóéö Latin Modern (LM) ãýãäýõ ôîíò øèíýýð ãàðñàí á°ã°°ä \TeX{} ñèñòåìèéí ñ³³ëèéí ³åèéí ñóóëãàöóóäàä ýíý íü äàãàëäàõ áîëñîí áà áàðèìòûí ýõëýëä
\begin{code}
\begin{verbatim}
\usepackage{lmodern}
\usepackage[T1]{fontenc}
\usepackage{textcomp}
\end{verbatim}
\end{code}
ãýñýí òóøààëóóäûã çàðëàñíààð pdf ãàðàëòàä ëàòèí òýìäýãò³³äèéã á³ðýí ýõýýð íü äýìæèõ áîëîìæòîé áîëîõ þì.


\subsection{Çóðàã îðóóëàõ}
\label{ssec:pdfgraph}

Áàðèìòàä çóðàã îðóóëàõàä \pai{graphicx} áàãö íýí òîõèðîìæòîé áàéäàã (\pageref{eps}-ð õóóäñûã ³ç). pdf\LaTeX{}-ä \emph{driver} ãýäãèéí îðîíä \texttt{pdftex} ãýäãèéã ñîíãîíî:
\begin{code}
\begin{verbatim}
\usepackage[pdftex]{color,graphicx}
\end{verbatim}
\end{code}
Âåá áàðèìòàä °íã° àøèãëàæ áàéãàà ó÷èð äýýðõ æèøýýíä color áàãöûã ñîíãîæ îðóóëæýý.

\EPSi{} çóðãèéí ôîðìàò äýìæèãääýãã³éã ýñ òîîöâîë Pdf\LaTeX{}-ä äàâóó òàë îëîí áèé. Õýðýâ \ci{includegraphics} òóøààëä ôàéëûí °ðã°òã°ëèéã çààæ °ã°°ã³é áîë \pai{graphicx} áàãö, òîõèðîõ °ðã°òã°ëèéã, \emph{driver} ñîíãîëòîîñ øàëòãààëæ °°ðò àãóóëàãäàõ, æèøýý íü \texttt{pdftex}-èéí õóâüä \texttt{.eps} °ðã°òã°ë°°ñ \emph{áóñàä} \texttt{.png}, \texttt{.pdf}, \texttt{.jpg} áà \texttt{.mps} (\MP\index{metapost@\MP}) °ðã°òã°ë³³äýýñ õàéíà.

Äýýðõ àñóóäëààñ çàéëñõèéõ õÿëáàð àðãà áîë \texttt{epstopdf} ïðîãðàìì àøèãëàí EPS ôàéëûã PDF ôîðìàò óðóó õ°ðâ³³ëýõ ÿâäàë þì. Âåêòîð ãðàôèêèéí õóâüä áîë ýíý íü õàìãèéí îíîâ÷òîé øèéäýë áîëæ ÷àäàõ áîë PDF ôîðìàò óãààñàà PNG áà JPEG çóðãóóäûã äýìæèõýýð çîõèîãäñîí òóë bitmap (ôîòî, ñêàíåðûí) çóðãóóäûí õóâüä ÷àäàõã³é. PNG íü äýëãýöèéí çóðàã áîëîí ö°°í °íã° àãóóëñàí çóðãóóäàä, õàðèí JPEG íü øàõàëò ñàéòàé òóë ôîòî çóðãóóäàä òîõèðîìæòîé áàéäàã.

Ãåîìåòðèéí ä³ðñ çóðãèéã \MP\index{metapost@\MP} ìýòèéí, èõýíõ \TeX{} òàðõöóóäàä °°ðèéí äýëãýðýíã³é ãàðûí àâëàãûí õàìòààð äàãàëäàõ òóñãàé òóøààëûí õýë àøèãëàí áîëîâñðóóëàõ íü äýýð áàéäàã.

\subsection{Ãèïåðòåêñò õîëáîîñóóä}
\label{ssec:pdfhyperref}

\pai{hyperref} áàãö íü áàðèìòàä äîòîîä çààã÷ õîëáîîñûã ãàðãàõàä õýðýãëýãääýã. Èäýâõæ³³ëýõäýý áàðèìòûí ýõëýëä
\verb+\usepackage[pdftex]{hyperref}+ òóøààëûã áóñàä òóøààëóóäûí \emph{äîð} çàðëàæ °ãí°.

\pai{hyperref} áàãöàä ò°ë°âèéã òîäîðõîéëîõ îëîí ÿíçûí ñîíãîëò áèé:
\begin{itemize}
\item íýìýëò ñîíãîëòûã pdftex ñîíãîëòûí àðààñ òàñëàë àâàí áè÷íý\\
  \verb+\usepackage[pdftex]{hyperref}+
\item ýñâýë òóñàä íü
  \verb+\hypersetup{+\emph{ñîíãîëò}\verb+}+ òóøààëûí ì°ð°°ñ îðóóëñàí ÷ áîëíî.
\end{itemize}

Ãàãöõ³³ \texttt{pdftex} ãýñýí ñîíãîëò íü çàéëøã³é áàéõ õýðýãòýé, õàðèí áóñàä íü çààâàë áàéõ àëáàã³é á°ã°°ä òýäãýýðèéã hyperref\footnote{\pai{hyperref} áàãö íü pdf\TeX{}-ýýð õÿçãààðëàãäààä çîãñîõã³é åðäèéí \LaTeX{} ãàðàëòûí DVI ôàéëä PDF-ä çîðèóëàãäñàí ìýäýýëëèéã îðóóëæ, óëìààð ýíý íü \texttt{dvips} ïðîãðàììûí òóñëàìæòàéãààð ³³ñýõ PS ôàéëä äàìæèæ ýöýñò íü PS ôàéëààñ PDF óðóó õ°ðâ³³ëýõ ³åä Adobe Distiller ïðîãðàììä àøèãëàãääàã.} áàãöûí ò°ë°â³³äýä °°ð÷èëæ áîëíî. Äàðààõ æàãñààëòûí òîõèðóóëãûí (default) óòãûã áîñîî ôîíòîîð òýìäýãëýâ:

\begin{flushleft}
\begin{description}
  \item [\texttt{bookmarks (=true,\textit{false})}] áàðèìòàä íîìûí õàâ÷óóëãûã õàðàãäóóëàõ áóþó ³ë õàðàãäóóëàõ
  \item [\texttt{unicode (=false,\textit{true})}] Acrobat-ûí íîìûí õàâ÷óóëãàä ëàòèí áóñ ³ñãýí òýìäýãò³³äèéã àøèãëàõûã ç°âø°°ð°õ
  \item [\texttt{pdftoolbar (=true,\textit{false})}] Acrobat-ûí ò°ë°°ë°õ òîâ÷ëóóðóóäûã (toolbar) õàðàãäóóëàõ áóþó ³ë õàðàãäóóëàõ
  \item [\texttt{pdfmenubar (=true,\textit{false})}] Acrobat-ûí öýñèéã õàðàãäóóëàõ áóþó ³ë õàðàãäóóëàõ
  \item [\texttt{pdffitwindow (=true,\textit{false})}] pdf ôàéëûã íýýõ ³åèéí õóóäàñíû òîìîð÷ õàðàãäàõ áàéäëûã òîõèðóóëàõ
  \item [\texttt{pdftitle (=\{text\})}] Acrobat-ûí \texttt{áàðèìòûí òóõàé ìýäýýëýëä (Document Info)} ãàð÷ãèéã òîäîðõîéëæ °ã°õ
  \item [\texttt{pdfauthor (=\{text\})}] PDF ôàéëûí çîõèîã÷èéí íýð
  \item [\texttt{pdfnewwindow (=true,\textit{false})}] òóõàéí áàðèìòûí çààã÷ õîëáîîñûã øèíý öîíõîíä íýýõ ýñýõèéã òîäîðõîéëíî
  \item [\texttt{colorlinks (=false,\textit{true})}] çààã÷ õîëáîîñûã ä°ðâ°ëæèí °íã°ò õ³ðýýíä áàãòààõ (\texttt{false}) áóþó °íã°ò ³ñãýýð (\texttt{true}) èëýðõèéëíý. Òýäãýýð çààã÷ õîëáîîñûí °íã³³äèéã äàðààõ áàéäëààð ñîíãîí òîõèðóóëæ áîëíî (³íäñýí òîõèðãîîíû °íã³³äèéã õààëòàä òýìäýãëýâ):
    \begin{description}
    \item [\texttt{linkcolor (=red)}] äîòîîä õîëáîã÷ °íã° (äýä á³ëýã, õóóäàñ, ã.ì.),
    \item [\texttt{citecolor (=green)}] èø òàòàõ õîëáîîñûí °íã° (íîìç³é)
    \item [\texttt{filecolor (=magenta)}] ôàéëûã çààõ õîëáîîñûí °íã°
    \item [\texttt{urlcolor (=cyan)}] URL õàÿãèéí õîëáîîñûí °íã° (ìýéë, âåá)
    \end{description}
\end{description}
\end{flushleft}

Õýðýâ äýýðõ ³íäñýí ñîíãîëòóóäûã °°ð÷ë°õ øààðäëàãàã³é ãýæ ³çâýë äàðààõ õÿëáàð òóøààëûã àøèãëàõàä õàíãàëòòàé
\begin{code}
\begin{verbatim}
\usepackage[pdftex]{hyperref}
\end{verbatim}
\end{code}

Íîìûí õàâ÷óóëãûã õàðàãäàõààð, çààã÷ õîëáîîñóóäûã °íã°ò°°ð òýìäýãëýõýýð òîõèðóóëàõ áîë (\texttt{=true} óòãóóä íü ³íäñýí ñîíãîëòûíõ):
\begin{code}
\begin{verbatim}
\usepackage[pdftex,bookmarks,colorlinks]{hyperref}
\end{verbatim}
\end{code}

PDF áàðèìòûã, õàð öàãààíààð õýâëýõ çîðèëãîîð áýëòãýõ òîõèîëäîëä, õýâëýëòýä °íã°ò çààã÷ õîëáîîñóóä ³ë õàðàãäàõààñ çàéëñõèéæ ³ë õýâëýãäýõ °íã°ò ä°ðâ°ëæèí õ³ðýýëëèéã õýðýãëýõ íü çîõèìæòîé áàéäàã:
\begin{code}
\begin{verbatim}
\usepackage{hyperref}
\hypersetup{colorlinks=false}
\end{verbatim}
\end{code}
\noindent ýñâýë çààã÷ õîëáîîñûã õàðààð ä³ðñýëæ áîëíî:
\begin{code}
\begin{verbatim}
\usepackage{hyperref}
\hypersetup{colorlinks,%
            citecolor=black,%
            filecolor=black,%
            linkcolor=black,%
            urlcolor=black,%
            pdftex}
\end{verbatim}
\end{code}

PDF ôàéëûí \texttt{Document Info} õýñýãò ìýäýýëýë îðóóëàõäàà:
\begin{code}
\begin{verbatim}
\usepackage[pdfauthor={Pierre Desproges},%
            pdftitle={Des femmes qui tombent},%
            pdftex]{hyperref}
\end{verbatim}
\end{code}

\vspace{\baselineskip}

Õîëáîõ çààã÷óóäàä àâòîìàò õîëáîîñ îðóóëàõäàà äàðààõ òóøààëûã àøèãëàíà
\begin{lscommand}
\ci{href}\verb|{|\emph{url}\verb|}{|\emph{text}\verb|}|
\end{lscommand}

\begin{code}
\begin{verbatim}
Âåáñàéò \href{http://www.ctan.org}{CTAN}.
\end{verbatim}
\end{code}
Äýýðõ òóøààëààð ``\href{http://www.ctan.org}{CTAN}'' ñàéòûí õàÿãèéã, ``\textcolor{magenta}{CTAN}'' ³ãýýð ò°ë°°ë³³ëýí ò³³íèé äàðìàãö àâòîìàòààð õîëáîãäîõ âåáñàéòûí õàÿãòàé õàìòàòãàí îðóóëæ áàéíà.

Õýðýâ URL õàÿãèéí îðîíä ëîêàëîîð (äèñêíýýñ çàì çààæ) ôàéë îðóóëàõ áîë \ci{href} òóøààëûã àøèãëàíà:
\begin{verbatim}
Äýëãýðýíã³é ìýäýýëëèéã \href{manual.pdf}{ýíäýýñ}
\end{verbatim}
Äýýðõ æèøýý íü ``Äýëãýðýíã³é ìýäýýëëèéã \textcolor{cyan}{ýíäýýñ}'' ãýæ õàðàãäàõ áà ``\textcolor{cyan}{ýíäýýñ}'' ãýäãèéã äàðìàãö \texttt{manual.pdf} ôàéë à÷ààëàãäàíà. (Ôàéëûí íýð íü òóõàéí ôàéëûí áàéðøëààñ øàëòãààëíà).

ã³³ëëèéí çîõèîã÷ óíøèã÷äàä çîðèóëæ áàðèìòûí í³³ðýí òàëä ýìýéë õàÿãàà \ci{author} òóøààë äîòîð \ci{href} òóøààëûã îðóóëàõ ìàÿãòàéãààð ³ëäýýæ áîëíî:
\begin{code}
\begin{verbatim}
\author{Mary Oetiker $<$\href{mailto:mary@oetiker.ch}%
       {mary@oetiker.ch}$>$
\end{verbatim}
\end{code}
Äýýðõ æèøýýíä ýìýéë õàÿã õóóäñàíä õîëáîîñîîð ò°äèéã³é á³ðýí ýõýýðýý õàðàãäàõààð áýëòãýãäñýí áàéíà, õýðýâ äýýðõèéí îðîíä\\
\verb+\href{mailto:mary@oetiker.ch}{Mary Oetiker}+\\
ãýâýë ýíý íü Acrobat äýýð àñóóäàëã³é àæèëëàõ áîëîâ÷ õýâëýõýä ýìýéë õàÿã õàðàãäàõã³é.


\subsection{Õîëáîîñò õàìààòàé àñóóäëóóä}

Òîîëóóð äàõèí òîîëîõ ³åä æèøýý íü, \texttt{book} ò°ðëèéí \ci{mainmatter} òóøààëûã àøèãëàõ ³åä äàðààõ:
\begin{verbatim}
! pdfTeX warning (ext4): destination with the same
  identifier (name{page.1}) has been already used,
  duplicate ignored
\end{verbatim}
ãýñýí, íîìûí òýðã³³í á³ëãèéí äóãààðûã °ìí°õ õóóäàñíû äóãààðûí àäèëààð äàõèí 1-ýýñ ýõë³³ëýí òîîëæ, òèéíõ³³ 1 ãýñýí äóãààðëàëò äàâõöàõ áîëæ ``\verb+äàâõöëûã ³ë òîîöîõ+'' òóõàé àíõààðóóëãà ãàðíà.

Äýýðõýýñ çàéëñõèéõ àðãà íü hyperref-ä \texttt{plainpages=false} ãýñýí ñîíãîëòûã òîõèðóóëæ °ã÷ ç°âõ°í õóóäàñíû äóãààðëàëòàä í°ë°°ë°õ ÿâäàë. ³íýýñ èë³³ ñàéí øèéäýë íü \texttt{hypertexnames=false} áîëîâ÷ ýíý íü òîâú¼ã äàõü õóóäàñíû õîëáîîñò ç°ð÷èë ³³ñãýäýã.

\subsection{Íîìûí õàâ÷óóëãàòàé õîëáîîòîé àñóóäëóóä}

Íîìûí õàâ÷óóëãà (bookmark) íü \LaTeX{} òåêñòèéã áîäâîë ö°°í òîîíû òýìäýãò àãóóëäàã ``åðäèéí òåêñò'' òóë ò³³íä îðñîí òåêñò òýðá³ð ÿãøòàë òýìäýãëýãäýõ íü õîâîð á°ã°°ä õîëáîãäîõ àñóóäëûã hyperref äàðààõ áàéäëààð ñàíóóëäàã:
\begin{code}
\begin{verbatim}
Package hyperref Warning:
Token not allowed in a PDFDocEncoded string:
\end{verbatim}
\end{code}
Äýýðõ òîõèîëäîëä íîìûí õàâ÷óóëãûí òýðõ³³ ç°ð÷èëòýé òåêñòèéã äàðààõ òóøààëààð ç°âø°°ð°ãä°õ òåêñòýýð ñîëèõ çàìààð àñóóäëûã øèéäíý:
\begin{lscommand}
\ci{texorpdfstring}\verb|{|\emph{\TeX{} òåêñò}\verb|}{|\emph{Õàâ÷óóëãàä îðîõ åðäèéí òåêñò}\verb|}|
\end{lscommand}


Èõýâ÷ëýí ìàòåìàòèêèéí èëýðõèéëë³³äýä äýýðõ ò°ðëèéí àñóóäëóóä õàìààðäàã:
\begin{code}
\begin{verbatim}
\section{\texorpdfstring{$E=mc^2$}%
        {E=mc^2}}
\end{verbatim}
\end{code}
³³íä \verb+\section{$E=mc^2$}+ ãýäãèéã õàâ÷óóëãàä ``E=mc2'' ãýæ îðóóëíà.

íã°íèé ÿëãàðëóóä õàâ÷óóëãàä ³éë÷ëýõã³é:
\begin{code}
\verb+\section{\textcolor{red}{Red !}}+
\end{code}
ãýõýä åðä°° ``redRed!'' ãýæ ãàðíà. Õýäèéãýýð \verb+\textcolor+ ãýñýí òóøààëûã õýðýãñýõã³é áîëîâ÷ (red) ãýñýí õóâüñàã÷èéã õàìòàòãàí àâíà.

Òèéìýýñ ³³íèéã õàìòàòãàí ãàðãàõã³éí òóëä
\begin{code}
\verb+\section{\texorpdfstring{\textcolor{red}{Red !}}{Red\ !}}+
\end{code}
ãýâýë çîõèíî.

Õýðýâ þíèêîä äýýð áàðèìòàà áýëòãýæ áàéãàà á°ã°°ä íîìûí õàâ÷óóëãûã þíèêîä äýýð áýëòãýõ õýðýãòýé áîëáîë \pai{hyperref} áàãöûí \verb+unicode+ ãýñýí ñîíãîëòûã àøèãëàõ õýðýãòýé. Ýíý íü \ci{texorpdfstring} õýðýãëýõ ³åèéí òýìäýãòèéí îëîí ñîíãîëòûã ñàíàë áîëãîíî.

\subsubsection{\LaTeX{}, pdf\LaTeX{} õî¼ðûã çîõèöóóëàõ íü}
\label{sec:pdfcompat}

Áàðèìòûã \LaTeX{} áîëîí pdf\LaTeX{} àëü àëèíààð íü õ°ðâ³³ëæ áîëîõ õýäèé ÷ çóðàã îðóóëàõàä àñóóäàë ³³ñäýã. ³íèéã õÿëáàðààð, \ci{includegraphics} òóøààëä áèåëýãäýõ ôàéëûí °ðã°òã°ëèéã \emph{ÿìàãò õàñàõ} çàìààð øèéäýõ áà èíãýõýä òóõàéí äèðåêòîðîîñ òîõèðîõ ôîðìàòòàé ôàéë àâòîìàòààð õàéãääàã. Ýíä çóðãèéí ôàéëûã òîõèðîõ õóâèëáàðóóäûí àëü íýãýýð ³³ñãýñýí áàéõ ¼ñòîé. \LaTeX{} íü \texttt{.eps} ôàéëûã õàéäàã áîë pdf\LaTeX{} íü \texttt{.png}, \texttt{.pdf}, \texttt{.jpg} áóþó \texttt{.mps} ôàéëûã õàéäàã.

Áàðèìòûí PDF õóâèëáàðò çîðèóëñàí íýìýëò êîä àøèãëàõ òîõèîëäîëä áàðèìòûí ýõëýëä \pai{ifpdf}%
\footnote{Ýíý áàãöûã ÿàãààä àøèãëàõ áîëñíûã \TeX{} FAQ-ààñ ñîíèðõîîðîé\\
   \url{http://www.tex.ac.uk/cgi-bin/texfaq2html?label=ifpdf}.}
áàãöûã çàðëàíà. Õýðýâ MiK\TeX{} õýðýãëýã÷äèéí ñèñòåìä óã áàãö áàéõã³é áîë ñèñòåì ò³³íèéã àâòîìàòààð òàòàæ ñóóëãàõ áîëíî. Óã áàãöàä í°õö°ëò êîäûã (conditional code) õÿëáàðõàí îðóóëàõ \ci{ifpdf} òóøààë àãóóëàãääàã. Äàðààõ æèøýýíä, õýâëýõýä çîðèóëæ PostScript õóâèëáàðûã, îíëàéíààð °íã°ò òåêñòýýð ³çýõýä çîðèóëæ PDF õóâèëáàðûã òóñ òóñ ñîíãîæýý.
\begin{code}
\begin{verbatim}
\RequirePackage{ifpdf} % Õýðýâ pdfTeX áîë?
\ifpdf
  \documentclass[a4paper,12pt,pdftex]{book}
\else
  \documentclass[a4paper,12pt,dvips]{book}
\fi

\ifpdf
  \usepackage{lmodern}
\fi
\usepackage[bookmarks, % ãèïåðëèíê áóþó õîëáîîñ îðóóëàõ
            colorlinks,
            plainpages=false]{hyperref}
\usepackage[T1]{fontenc}
\usepackage[latin1]{inputenc}
\usepackage[english]{babel}
\usepackage{graphicx}
...
\end{verbatim}
\end{code}
Äýýðõ æèøýýíä \pai{hyperref} áàãöûã PDF-ýýñ áóñàä õóâèëáàðò ÷ áàñ àøèãëàñàí áàéíà. Ýíä \ci{href} òóøààë íü òîäîðõîé í°õö°ëä ë áèåëýãäýõ þì.

Ñ³³ëèéí ³åèéí \TeX{} òàðõöóóäûí (æèøýýëáýë \TeX{}Live) åðäèéí \TeX{} ïðîãðàìì íü óãòàà, áàðèìòûí ò°ðë°°ñ õàìààðóóëæ áàðèìòûã pdf áîëîí dvi ôàéëûí àëü íýãýýð áîëîâñðóóëäàã pdf\TeX{} ïðîãðàìì àæýý. Õýðýâ äýýðõ êîäûã õýðýãëýñýí òîõèîëäîëä, pdf ôàéëûã áîëîâñðóóëàõ \verb|pdflatex| òóøààëûã, dvi ôàéëûã áîëîâñðóóëàõ \verb|latex| òóøààëóóäûã òóñ òóñ àøèãëàõ áîëîìæòîé þì.


\section{Èëòãýë (presentation) áýëòãýõ}
\label{sec:beamer}
\secby{Äàíèèë Ôëèïî (Daniel Flipo)}{Daniel.Flipo@univ-lille1.fr}
³ãýýð øèíæëýõ óõààíû á³òýýëýý ñàìáàðò òîëüäóóðààð (transparency) ãýðýëò³³ëæ ýñâýë ç°°âðèéí êîìïüþòåðîî àøèãëàí (èëòãýë áýëòãýæ ³ç³³ëýõ çîðèóëàëòòàé ïðîãðàììààð) òàíèëöóóëàõ áîëîìæòîé þì.

\wi{pdf\LaTeX}-òýé õîñîëñîí \pai{beamer} ò°ð°ë íü èëòãýëèéã, ÿã PowerPoint äýýð áýëòãýñýí ìýò, ãýõäýý èõýíõ ñèñòåì³³äýä äýìæèãääýã èë³³ àâñààð Acrobat Reader ïðîãðàìì äýýð óíøèãääàã PDF ôàéëààð áýëòãýíý.

\pai{beamer} ò°ð°ë íü áàðèìòûã äýëãýöýýð ³ç³³ëýõýä çîðèóëæ \pai{graphicx}, \pai{color} áà \pai{hyperref} áàãöóóäûã àøèãëàäàã.
%La figure~\ref{fig:pdfscr} contient un exemple de fichier minimal à
%compiler avec \wi{pdf\LaTeX} et le
%résultat produit.

% Écran capturé par ImageMagick (man ImageMagick) fonction « import »
% et convertie en jpg toujours par ImageMagick.

\begin{figure}[htbp]
\begin{verbatim}
\documentclass[10pt]{beamer}
\mode<beamer>{%
  \usetheme[hideothersubsections,
            right,width=22mm]{Goettingen}
}

\title{Æèøýý èëòãýë}
\author[Ä. Ôëèïî]{Äàíèèë Ôëèïî}
\institute{U.S.T.L. \& GUTenberg}
\titlegraphic{\includegraphics[width=20mm]{USTL}}
\date{2005}

\begin{document}

\begin{frame}<handout:0>
  \titlepage
\end{frame}

\section{Æèøýý}

\begin{frame}
  \frametitle{Íÿì ãàðèãèéí ³äýýñ õîéø õèéõ ç³éëñ}
  \begin{block}{Àëü àëü íü áîëîìæòîé \ldots}
    \begin{itemize}
      \item íîõîéãîî ñàëõèëóóëàõ\dots \pause
      \item íîì óíøèõ\pause
      \item ìóóðàà ýðõë³³ëýõ\pause
    \end{itemize}
  \end{block}
  áîëîí áóñàä
\end{frame}
\end{document}
\end{verbatim}
  \caption{\pai{beamer} ò°ðëèéí æèøýý êîä}
  \label{fig:code-beamer}
\end{figure}

\ref{fig:code-beamer}-ð çóðàãò ³ç³³ëñýí \wi{PDF\LaTeX}-ä çîðèóëñàí æèøýý êîäûã áîëîâñðóóëáàë ýõíèé í³³ðýíä ãàð÷èã, óäààõ í³³ðýíä õýä õýäýí ç³éëýýñ á³ðäýõ PDF ôàéë ³³ñíý.

beamer ò°ðëèéí äàâóó òàë íü, PDF ôàéëûã, \pai{prosper} øèã PostScript áîëîâñðóóëàõ äàìæëàãà áóþó \pai{ppower4} áàãö àøèãëàí ³³ñãýñýí èëòãýëä øààðäàãäàõ íýìýëò áîëîâñðóóëàëòûã øààðääàãã³é.

\pai{beamer} ò°ð°ëä îðîëòûí ôàéëûã õýä õýäýí õóâèëáàðààð áîëîâñðóóëæ áîëäîã. Èíãýõäýý îðîëòûí ôàéëä äàðààõ ÿëãààòàé çàãâàðóóäàä çîðèóëñàí òóñãàé òóøààëóóäûã ãóðâàëæèí õààëòàä õàøèæ îðóóëíà.

\begin{description}
\item[beamer] äýýð äóðäñàí PDF èëòãýëä çîðèóëñàí.
\item[trans] ñëàéäàä çîðèóëñàí.
\item[handout] õýâëýõ çàãâàðò çîðèóëñàí.
\end{description}
Ýíä ³íäñýí òîõèðãîî íü \texttt{beamer} çàãâàð á°ã°°ä ³³íèéã æèøýý íü õýâëýõ õóâèëáàðò çîðèóëæ \verb|\documentclass[10pt,handout]{beamer}| ãýæ °°ð÷èëæ áîëíî.

beamer ò°ðëèéí çàãâàðóóäààñ èëòãýëèéí ³çýìæ èõýýõýí õàìààðàõ áà çàãâàðûã øèíýýð ³³ñãýæ áîëäîã. Ýíý òàëààðõ äýëãýðýíã³é ìýäýýëëèéã beamer ò°ðëèéí áàðèìò áîëîõ \texttt{beameruserguide.pdf} ôàéëààñ ìýäýæ àâàõ áîëîìæòîé þì.

\ref{fig:code-beamer}-ð çóðàã äýýðõ êîäûã àâ÷ ³çüå.

\verb|\mode<beamer>| çàãâàðûí, çàõàä õ°íäë°íã°°ð ãàðàõ óäèðäàõ ñàìáàðò ãàð÷ãèéã õàðóóëàõ \emph{Goettingen} ò°ë°âèéã ñîíãîæýý. Óã ñàìáàðûí õýìæýýã (äýýðõ òîõèîëäîëä 22~ìì) áîëîí áàéðëàëûã (áàðèìòûí áàðóóí òàëä ) °°ð÷èëæ áîëíî. \emph{hideothersubsections} ñîíãîëò íü èëòãýëèéí ç°âõ°í äýä á³ëã³³äèéã ³ç³³ëäýã. \verb|\mode<trans>| áà \verb|\mode<handout>| çàãâàðóóäàä çîðèóëñàí òóñãàé òîõèðãîî áàéõã³é òóë ñòàíäàðò òîõèðãîîãîîðîî ä³ðñëýãäýíý.

\verb|\title{}|, \verb|\author{}|, \verb|\institute{}|, áà \verb|\titlegraphic{}| òóøààëóóä íü í³³ð õóóäñàíä õàìààðäàã. \verb|\title[]{}| áà \verb|\author[]{}| õóâüñàã÷ á³õèé òóøààëààð \emph{Goettingen} ò°ë°âèéí óäèðäàõ ñàìáàðò ãàð÷èã áîëîí çîõèîã÷èéí íýð õàðàãäàíà.

\ei{frame} õ³ðýýëëèéí \emph{ãàäíà} çàðëàãäàõ \verb|\section{}| áà \verb|\subsection{}| òóøààëóóä íü óäèðäàõ ñàìáàðò ãàð÷èã äýä ãàð÷ãèéã ³³ñãýäýã.

Äýëãýöèéí äîîä áóëàíä áàéðëàõ óäèðäàõ æèæèã òîâ÷ëóóðóóäààð áàðèìòûã óäèðäàæ áîëíî. Ýäãýýðèéí õàðàãäàõ õýëáýð íü ò°ë°âèéí ñîíãîëòîîñ øàëòãààëàõã³é.

Èëòãýëèéí í³³ð á³ðèéã \ei{frame} õ³ðýýëýëä îðóóëàõ áà ò³³íèé òóñãàé õ³ðýýã äàëäëàõäàà ãóðâàëæèí õààëòàä (\verb|<| áà \verb|>|) äóðûí (optional) õóâüñàã÷ çàðëàæ °ãí°. Äýýðõ æèøýýíä ýõíèé í³³ðíèé çàãâàðûã \verb|<handout:0>| ãýæ ñîíãîñîí òóë àíõ áàðèìòàä çîðèóëæ ñîíãîñîí çàãâàðààð õàðàãäàõã³é.

Èëòãýëèéí ãàð÷ãèéã í³³ð õóóäàñíààñ ãàäíà áóñàä õóóäàñíóóäàä õýâëýí ãàðãàõ íü ÷óõàë áàéäàã. ³íèéã \verb|\frametitle{}| òóøààëààð ã³éöýòãýõ áà õýðýâ äýä ãàð÷èã °ã°õ øààðäëàãàòàé áîë \ei{block} õ³ðýýëëèéã æèøýýãýýð ³ç³³ëñíèé äàãóó àøèãëàæ áîëíî. Ýíä, á³ëýãëýõ \verb|\section{}| áà \verb|\subsection{}| òóøààëóóä íü ãàðàëòàä õàðàãäàõã³é áîëîõûã ñàíóóëúÿ.

itemize õ³ðýýëýëä \verb|\pause| òóøààëûã îðóóëñíààð ç³éë³³äèéã íýã íýãýýð íü òîäîòãîí ãàðãàõ áîëîìæòîé áîëíî. Èëòãýëòýé õîëáîîòîé áóñàä ³éëäë³³äèéã \verb|\only|, \verb|\uncover|, \verb|\alt| áà \verb|\temporal| òóøààëóóäààð òóðøèæ ³çýæ áîëíî. Èëòãýëä °°ð÷ë°ëò îðóóëàõàä èõýâ÷ëýí ãóðâàëæèí õààëò õýðýãëýãääýã.

ßìàðòàé ÷ beamer ò°ðëèéí \texttt{beameruserguide.pdf} áàðèìòòàé òàíèëöñàíààð, äýýð äóðäñàí áîëãîíûã ã³éöýä óõâàðëàæ ÷àäíà. Ýíýõ³³ áàãö íü íýëýýä õóðäàöòàé õ°ãæèæ áàéãàà áà \href{http://latex-beamer.sourceforge.net/}{http://latex-beamer.sourceforge.net/} õàÿãààð õàíäàí ò³³íèé ñ³³ëèéí ³åèéí õ°ãæ³³ëýëòòýé òàíèëöààðàé.



% Local Variables:
% TeX-master: "lshort2e"
% mode: latex
% mode: flyspell
% End:
