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,french,german,english,dummyoption]{article}
4 \usepackage[latin9]{inputenc}
11 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%% LyX specific LaTeX commands.
12 \pdfpageheight\paperheight
13 \pdfpagewidth\paperwidth
15 \providecommand{\LyX}{L\kern-.1667em\lower.25em\hbox{Y}\kern-.125emX\@}
16 \newcommand{\noun}[1]{\textsc{#1}}
17 %% Because html converters don't know tabularnewline
18 \providecommand{\tabularnewline}{\\}
20 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Textclass specific LaTeX commands.
21 \newenvironment{lyxlist}[1]
23 {\settowidth{\labelwidth}{#1}
24 \setlength{\leftmargin}{\labelwidth}
25 \addtolength{\leftmargin}{\labelsep}
26 \renewcommand{\makelabel}[1]{##1\hfil}}}
29 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%% User specified LaTeX commands.
30 \newenvironment{foo}{==[}{]==}
34 \@ifundefined{showcaptionsetup}{}{%
35 \PassOptionsToPackage{caption=false}{subfig}}
41 \providecommand{\og}{\leavevmode\flqq~}%
42 \providecommand{\fg}{\ifdim\lastskip>\z@\unskip\fi~\frqq}%
49 % this should be recognized as empty date:
53 This document contains all sorts of layouts we are supposed to
54 support, along with weird nestings.
56 At time you will see that I use subsubsections in weird places. The
57 intent is just to make sure that I can include a macro-type layout
58 everyzhere it makes sense.
69 ... with two paragraphs
73 an unknown environment
79 \section[Hello!]{A section with optional argument}
85 \section*{A starred section for floats}
88 \caption{ \emph{\noun{is}} a caption}
92 \caption[s\noun{ho}rt]{this \emph{is} a caption}
95 \begin{sidewaystable*}
96 \caption{rotated table, spanning all columns}
99 \begin{tabular}{|c|c|}
109 \begin{wrapfigure}[4]{L}[2ex]{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{wrapfigure}{o}{0.5\columnwidth}%
134 \LyX{} is a document preparation system. It excels at letting you
135 create complex technical and scientific articles with mathematics,
136 cross-references, bibliographies, indices, etc. It is very good at
137 documents of any length in which the usual processing abilities are
138 required: automatic sectioning and pagination, spell checking, and
139 so forth. It can also be used to write a letter to your mom, though
140 granted, there are probably simpler programs available for that. It
141 is definitely not the best tool for creating banners, flyers, or advertisements
142 (we'll explain why later), though with some effort all these can be
145 \begin{wraptable}{i}[0.05\textwidth]{5ex}%
149 \centering{}dfgd\end{wraptable}%
150 \LyX{} is a document preparation system. It excels at letting you
151 create complex technical and scientific articles with mathematics,
152 cross-references, bibliographies, indices, etc. It is very good at
153 documents of any length in which the usual processing abilities are
154 required: automatic sectioning and pagination, spell checking, and
155 so forth. It can also be used to write a letter to your mom, though
156 granted, there are probably simpler programs available for that. It
157 is definitely not the best tool for creating banners, flyers, or advertisements
158 (we'll explain why later), though with some effort all these can be
173 \subfloat[te\%st]{sub\textcolor{red}{fig}u\%re 1
177 \hfill{} \subfloat[]{subfigure 2ö
181 \subfloat{subfigure 3}
183 \caption{figure caption}
186 strange usage, but valid
190 \subsection{Some paragraph stuff}
192 A paragraph\footnote{hello} with a footnote and another
195 there} with several paragraphs \vspace{1cm} aa
197 and another paragraph
206 \subsubsection*{with a command inside it}
213 With another one inside it (with same layout)
215 [this one even has several paragraphs!]
220 We can also nest enumerations
227 \item Item1.b (there is a paragraph break in front of this)
236 \item Item1 (appears as Item3 with bug 5716)
238 Normal paragraph in Item1
245 Let's see what happens when normal paragraphs are inserted in lists:
250 with some explanatory text under it
252 and a second paragraph for good measure
254 \subsubsection*{we can even have one as a subsubsection}
256 \item the second item
260 \subsubsection*{and a sssection heading inside it (why not?)}
263 What else? Well, we have descriptions:
265 \item[ABC] first item
266 \item[BCD] second one
269 \begin{lyxlist}{00.00.0000}
270 \item [label~1] first item
271 \item [label~2] second item
274 \begin{thebibliography}{9}
275 \bibitem{FOO} Edward Bar. \emph{The Foo Book}. (1999)
276 \bibitem{FO2} Walter Müller \emph{The Müller Book}. (2004)
277 \end{thebibliography}
281 \section{This is the Appendix}
283 \noindent blabla bla bla
285 switch to german:\selectlanguage{german}
287 \foreignlanguage{french}{some \emph{french}}
288 back to english:\selectlanguage{newzealand}
289 and some nested \foreignlanguage{francais}{french \foreignlanguage{german}{nested
290 \emph{german}} french} english stuff.
291 Note that we both used \texttt{french} and the \texttt{francais} alias for the
292 french text, but for some reason this does not work with the
293 \texttt{newzealand} alias and \texttt{english} for english text.
295 \section{Another Appendix section}
299 Test for missing \textbackslash end\_deeper (file format 278).
300 This must stay at the very end of the document!