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}
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 A paragraph\footnote{hello} with a footnote and another
94 there} with several paragraphs
96 some ERT \vspace{1cm} aa
101 Some centered stuff (does not work)
107 \subsubsection*{with a command inside it}
114 With another one inside it (with same layout)
116 [this one even has several paragraphs!]
121 We can also nest enumerations
128 \item Item1.b (there is a paragraph break in front of this)
137 \item Item1 (appears as Item3 with bug 5716)
139 Normal paragraph in Item1
146 Let's see what happens when normal paragraphs are inserted in lists:
151 with some explanatory text under it
153 and a second paragraph for good measure
155 \subsubsection*{we can even have one as a subsubsection}
157 \item the second item
161 \subsubsection*{and a sssection heading inside it (why not?)}
164 What else? Well, we have descriptions:
166 \item[ABC] first item
167 \item[BCD] second one
170 \begin{lyxlist}{00.00.0000}
171 \item [label~1] first item
172 \item [label~2] second item
175 \begin{thebibliography}{9}
176 \bibitem{FOO} Edward Bar. \emph{The Foo Book}. (1999)
177 \bibitem{FO2} Walter Müller \emph{The Müller Book}. (2004)
178 \end{thebibliography}
182 \section{This is the Appendix}
184 \noindent blabla bla bla
186 switch to german:\selectlanguage{german}
188 \foreignlanguage{french}{some \emph{french}}
189 back to english:\selectlanguage{newzealand}
190 and some nested \foreignlanguage{francais}{french \foreignlanguage{german}{nested
191 \emph{german}} french} english stuff.
192 Note that we both used \texttt{french} and the \texttt{francais} alias for the
193 french text, but for some reason this does not work with the
194 \texttt{newzealand} alias and \texttt{english} for english text.
196 \section{Another Appendix section}
200 Test for missing \textbackslash end\_deeper (file format 278).
201 This must stay at the very end of the document!