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[legalpaper,francais,german,newzealand]{article}
5 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%% LyX specific LaTeX commands.
8 \newcommand{\noun}[1]{\textsc{#1}}
10 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Textclass specific LaTeX commands.
12 \newenvironment{lyxlist}[1]
14 {\settowidth{\labelwidth}{#1}
15 \setlength{\leftmargin}{\labelwidth}
16 \addtolength{\leftmargin}{\labelsep}
17 \renewcommand{\makelabel}[1]{##1\hfil}}}
20 % LyX will also recognize this command:
21 % \@ifundefined{date}{}{\date{}}
24 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%% User specified LaTeX commands.
26 \newenvironment{foo}{==[}{]==}
35 This document contains all sorts of layouts we are supposed to
36 support, along with weird nestings.
38 At time you will see that I use subsubsections in weird places. The
39 intent is just to make sure that I can include a macro-type layout
40 everyzhere it makes sense.
51 ... with two paragraphs
55 an unknown environment
61 \section[Hello!]{A section with optional argument}
67 \section*{A starred section for floats}
70 \caption{ \emph{\noun{is}} a caption}
74 \caption[s\noun{ho}rt]{this \emph{is} a caption}
77 \begin{sidewaystable*}
78 \caption{rotated table, spanning all columns}
81 \begin{tabular}{|c|c|}
91 \begin{wrapfigure}[4]{L}[2ex]{0.5\columnwidth}%
98 \LyX{} is a document preparation system. It excels at letting you
99 create complex technical and scientific articles with mathematics,
100 cross-references, bibliographies, indices, etc. It is very good at
101 documents of any length in which the usual processing abilities are
102 required: automatic sectioning and pagination, spell checking, and
103 so forth. It can also be used to write a letter to your mom, though
104 granted, there are probably simpler programs available for that. It
105 is definitely not the best tool for creating banners, flyers, or advertisements
106 (we'll explain why later), though with some effort all these can be
109 \begin{wrapfigure}{o}{0.5\columnwidth}%
116 \LyX{} is a document preparation system. It excels at letting you
117 create complex technical and scientific articles with mathematics,
118 cross-references, bibliographies, indices, etc. It is very good at
119 documents of any length in which the usual processing abilities are
120 required: automatic sectioning and pagination, spell checking, and
121 so forth. It can also be used to write a letter to your mom, though
122 granted, there are probably simpler programs available for that. It
123 is definitely not the best tool for creating banners, flyers, or advertisements
124 (we'll explain why later), though with some effort all these can be
127 \begin{wraptable}{i}[0.05\textwidth]{5ex}%
131 \centering{}dfgd\end{wraptable}%
132 \LyX{} is a document preparation system. It excels at letting you
133 create complex technical and scientific articles with mathematics,
134 cross-references, bibliographies, indices, etc. It is very good at
135 documents of any length in which the usual processing abilities are
136 required: automatic sectioning and pagination, spell checking, and
137 so forth. It can also be used to write a letter to your mom, though
138 granted, there are probably simpler programs available for that. It
139 is definitely not the best tool for creating banners, flyers, or advertisements
140 (we'll explain why later), though with some effort all these can be
143 \subsection{Some paragraph stuff}
145 A paragraph\footnote{hello} with a footnote and another
148 there} with several paragraphs \vspace{1cm} aa
150 and another paragraph
159 \subsubsection*{with a command inside it}
166 With another one inside it (with same layout)
168 [this one even has several paragraphs!]
173 We can also nest enumerations
180 \item Item1.b (there is a paragraph break in front of this)
189 \item Item1 (appears as Item3 with bug 5716)
191 Normal paragraph in Item1
198 Let's see what happens when normal paragraphs are inserted in lists:
203 with some explanatory text under it
205 and a second paragraph for good measure
207 \subsubsection*{we can even have one as a subsubsection}
209 \item the second item
213 \subsubsection*{and a sssection heading inside it (why not?)}
216 What else? Well, we have descriptions:
218 \item[ABC] first item
219 \item[BCD] second one
222 \begin{lyxlist}{00.00.0000}
223 \item [label~1] first item
224 \item [label~2] second item
227 \begin{thebibliography}{9}
228 \bibitem{FOO} Edward Bar. \emph{The Foo Book}. (1999)
229 \bibitem{FO2} Walter Müller \emph{The Müller Book}. (2004)
230 \end{thebibliography}
234 \section{This is the Appendix}
236 \noindent blabla bla bla
238 switch to german:\selectlanguage{german}
240 \foreignlanguage{french}{some \emph{french}}
241 back to english:\selectlanguage{newzealand}
242 and some nested \foreignlanguage{francais}{french \foreignlanguage{german}{nested
243 \emph{german}} french} english stuff.
244 Note that we both used \texttt{french} and the \texttt{francais} alias for the
245 french text, but for some reason this does not work with the
246 \texttt{newzealand} alias and \texttt{english} for english text.
248 \section{Another Appendix section}
252 Test for missing \textbackslash end\_deeper (file format 278).
253 This must stay at the very end of the document!