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 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%% User specified LaTeX commands.
22 \newenvironment{foo}{==[}{]==}
26 This document contains all sorts of layouts we are supposed to
27 support, along with weird nestings.
29 At time you will see that I use subsubsections in weird places. The
30 intent is just to make sure that I can include a macro-type layout
31 everyzhere it makes sense.
42 ... with two paragraphs
46 an unknown environment
52 \section[Hello!]{A section with optional argument}
58 \section*{A starred section}
61 \caption{ \emph{\noun{is}} a caption}
65 \caption[s\noun{ho}rt]{this \emph{is} a caption}
68 A paragraph\footnote{hello} with a footnote and another
71 there} with several paragraphs
73 some ERT \vspace{1cm} aa
78 Some centered stuff (does not work)
84 \subsubsection*{with a command inside it}
91 With another one inside it (with same layout)
93 [this one even has several paragraphs!]
98 We can also nest enumerations
105 \item Item1.b (there is a paragraph break in front of this)
114 \item Item1 (appears as Item3 with bug 5716)
116 Normal paragraph in Item1
123 Let's see what happens when normal paragraphs are inserted in lists:
128 with some explanatory text under it
130 and a second paragraph for good measure
132 \subsubsection*{we can even have one as a subsubsection}
134 \item the second item
138 \subsubsection*{and a sssection heading inside it (why not?)}
141 What else? Well, we have descriptions:
143 \item[ABC] first item
144 \item[BCD] second one
147 \begin{lyxlist}{00.00.0000}
148 \item [label~1] first item
149 \item [label~2] second item
152 \begin{thebibliography}{9}
153 \bibitem{FOO} Edward Bar. \emph{The Foo Book}. (1999)
154 \bibitem{FO2} Walter Müller \emph{The Müller Book}. (2004)
155 \end{thebibliography}
159 \section{This is the Appendix}
161 \noindent blabla bla bla
163 switch to german:\selectlanguage{german}
165 \foreignlanguage{french}{some \emph{french}}
166 back to english:\selectlanguage{newzealand}
167 and some nested \foreignlanguage{francais}{french \foreignlanguage{german}{nested
168 \emph{german}} french} english stuff.
169 Note that we both used \texttt{french} and the \texttt{francais} alias for the
170 french text, but for some reason this does not work with the
171 \texttt{newzealand} alias and \texttt{english} for english text.
173 \section{Another Appendix section}
177 Test for missing \textbackslash end\_deeper (file format 278).
178 This must stay at the very end of the document!