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 A paragraph\footnote{hello} with a footnote and another
80 there} with several paragraphs
82 some ERT \vspace{1cm} aa
87 Some centered stuff (does not work)
93 \subsubsection*{with a command inside it}
100 With another one inside it (with same layout)
102 [this one even has several paragraphs!]
107 We can also nest enumerations
114 \item Item1.b (there is a paragraph break in front of this)
123 \item Item1 (appears as Item3 with bug 5716)
125 Normal paragraph in Item1
132 Let's see what happens when normal paragraphs are inserted in lists:
137 with some explanatory text under it
139 and a second paragraph for good measure
141 \subsubsection*{we can even have one as a subsubsection}
143 \item the second item
147 \subsubsection*{and a sssection heading inside it (why not?)}
150 What else? Well, we have descriptions:
152 \item[ABC] first item
153 \item[BCD] second one
156 \begin{lyxlist}{00.00.0000}
157 \item [label~1] first item
158 \item [label~2] second item
161 \begin{thebibliography}{9}
162 \bibitem{FOO} Edward Bar. \emph{The Foo Book}. (1999)
163 \bibitem{FO2} Walter Müller \emph{The Müller Book}. (2004)
164 \end{thebibliography}
168 \section{This is the Appendix}
170 \noindent blabla bla bla
172 switch to german:\selectlanguage{german}
174 \foreignlanguage{french}{some \emph{french}}
175 back to english:\selectlanguage{newzealand}
176 and some nested \foreignlanguage{francais}{french \foreignlanguage{german}{nested
177 \emph{german}} french} english stuff.
178 Note that we both used \texttt{french} and the \texttt{francais} alias for the
179 french text, but for some reason this does not work with the
180 \texttt{newzealand} alias and \texttt{english} for english text.
182 \section{Another Appendix section}
186 Test for missing \textbackslash end\_deeper (file format 278).
187 This must stay at the very end of the document!