1 %% LyX trick_preamble_code_into_believing_that_this_was_created_by_lyx created this file. For more info, see http://www.lyx.org/.
2 %% Do not edit unless you really know what you are doing.
3 \documentclass[english]{book}
4 \usepackage[T1]{fontenc}
5 \usepackage[latin9]{inputenc}
12 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%% LyX specific LaTeX commands.
14 \AtBeginDocument{\providecommand\partref[1]{\ref{part:#1}}}
15 \AtBeginDocument{\providecommand\chapref[1]{\ref{chap:#1}}}
16 \AtBeginDocument{\providecommand\secref[1]{\ref{sec:#1}}}
17 \AtBeginDocument{\providecommand\subsecref[1]{\ref{subsec:#1}}}
18 \AtBeginDocument{\providecommand\parref[1]{\ref{par:#1}}}
19 \AtBeginDocument{\providecommand\figref[1]{\ref{fig:#1}}}
20 \AtBeginDocument{\providecommand\tabref[1]{\ref{tab:#1}}}
21 \AtBeginDocument{\providecommand\algref[1]{\ref{alg:#1}}}
22 \AtBeginDocument{\providecommand\fnref[1]{\ref{fn:#1}}}
23 \AtBeginDocument{\providecommand\enuref[1]{\ref{enu:#1}}}
24 \AtBeginDocument{\providecommand\eqref[1]{\ref{eq:#1}}}
25 \AtBeginDocument{\providecommand\lemref[1]{\ref{lem:#1}}}
26 \AtBeginDocument{\providecommand\thmref[1]{\ref{thm:#1}}}
27 \AtBeginDocument{\providecommand\corref[1]{\ref{cor:#1}}}
28 \AtBeginDocument{\providecommand\propref[1]{\ref{prop:#1}}}
30 \newfloat{algorithm}{tbp}{loa}[chapter]
31 \providecommand{\algorithmname}{Algorithm}
32 \floatname{algorithm}{\protect\algorithmname}
33 \RS@ifundefined{subsecref}
34 {\newref{subsec}{name = \RSsectxt}}
36 \RS@ifundefined{thmref}
37 {\def\RSthmtxt{theorem~}\newref{thm}{name = \RSthmtxt}}
39 \RS@ifundefined{lemref}
40 {\def\RSlemtxt{lemma~}\newref{lem}{name = \RSlemtxt}}
44 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Textclass specific LaTeX commands.
46 \newtheorem{thm}{\protect\theoremname}
48 \newtheorem{lem}[thm]{\protect\lemmaname}
50 \newtheorem{cor}[thm]{\protect\corollaryname}
52 \newtheorem{prop}[thm]{\protect\propositionname}
54 \newtheorem{conjecture}[thm]{\protect\conjecturename}
56 \newtheorem{fact}[thm]{\protect\factname}
57 \theoremstyle{definition}
58 \newtheorem{defn}[thm]{\protect\definitionname}
59 \theoremstyle{definition}
60 \newtheorem{example}[thm]{\protect\examplename}
61 \theoremstyle{definition}
62 \newtheorem{problem}[thm]{\protect\problemname}
63 \theoremstyle{definition}
64 \newtheorem{xca}[thm]{\protect\exercisename}
66 \newtheorem{rem}[thm]{\protect\remarkname}
68 \newtheorem{claim}[thm]{\protect\claimname}
70 \newenvironment{proof}[1][\protect\proofname]{\par
71 \normalfont\topsep6\p@\@plus6\p@\relax
74 \item[\hskip\labelsep\scshape #1]\ignorespaces
76 \endtrivlist\@endpefalse
78 \providecommand{\proofname}{Proof}
84 \providecommand{\claimname}{Claim}
85 \providecommand{\conjecturename}{Conjecture}
86 \providecommand{\corollaryname}{Corollary}
87 \providecommand{\definitionname}{Definition}
88 \providecommand{\examplename}{Example}
89 \providecommand{\exercisename}{Exercise}
90 \providecommand{\factname}{Fact}
91 \providecommand{\lemmaname}{Lemma}
92 \providecommand{\problemname}{Problem}
93 \providecommand{\propositionname}{Proposition}
94 \providecommand{\remarkname}{Remark}
95 \providecommand{\theoremname}{Theorem}
99 \part{part\label{part:part}}
104 \chapter{chapter\label{chap:chapter}}
109 \section{Section\label{sec:Section}}
114 \subsection{Subsection\label{subsec:subsection}}
116 Ref to \subsecref{subsection}.
119 \subsubsection{Subsubsection\label{subsec:Subsubsection}}
121 Ref to \subsecref{Subsubsection}.
124 \paragraph{paragraph\label{par:paragraph}}
129 \subparagraph{subparagraph\label{par:subparagraph}}
131 \parref{subparagraph}
134 \protect\caption{figure\label{fig:figure}}
141 \protect\caption{table\label{tab:table}}
148 \protect\caption{algorithm\label{alg:algorithm}}
154 \footnote{foot\label{fn:foot}%
159 \marginpar{margin\label{margin}}
163 \item item\label{enu:item}
168 A=B\label{eq:A=00003DB}
174 lemma\label{lem:lemma}
176 \lemref{lemma}\end{lem}
178 theorem\label{thm:theorem}
180 \thmref{theorem}\end{thm}
182 corollary\label{cor:corollary}
184 \corref{corollary}\end{cor}
186 proposition\label{prop:proposition}
188 \propref{proposition}\end{prop}
190 conjecture\label{conjecture}
192 \ref{conjecture}\end{conjecture}
198 definition\label{definition}
200 \ref{definition}\end{defn}
202 example\label{example}
204 \ref{example}\end{example}
206 problem\label{problem}
208 \ref{problem}\end{problem}
210 exercise\label{exercise}
212 \ref{exercise}\end{xca}
216 \ref{remark}\end{rem}
220 \ref{claim}\end{claim}
224 \ref{proof}\end{proof}