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}}}
28 \newcommand{\strong}[1]{\textbf{#1}}
30 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%% User specified LaTeX commands.
31 \newenvironment{foo}{==[}{]==}
33 \usepackage{fixltx2e} % this should cause the fixltx2e module to be loaded
37 \@ifundefined{showcaptionsetup}{}{%
38 \PassOptionsToPackage{caption=false}{subfig}}
44 \providecommand{\og}{\leavevmode\flqq~}%
45 \providecommand{\fg}{\ifdim\lastskip>\z@\unskip\fi~\frqq}%
52 % this should be recognized as empty date:
56 This document contains all sorts of layouts we are supposed to
57 support, along with weird nestings.
59 At time you will see that I use subsubsections in weird places. The
60 intent is just to make sure that I can include a macro-type layout
61 everyzhere it makes sense.
72 ... with two paragraphs
76 an unknown environment
82 \section[Hello!]{A section with optional argument}
84 This causes the \strong{logikalmkup} module to be loaded.
90 \section*{A starred section for floats}
93 \caption{ \emph{\noun{is}} a caption}
97 \caption[s\noun{ho}rt]{this \emph{is} a caption}
100 \begin{sidewaystable*}
101 \caption{rotated table, spanning all columns}
104 \begin{tabular}{|c|c|}
114 \begin{wrapfigure}[4]{L}[2ex]{0.5\columnwidth}%
121 \LyX{} is a document preparation system. It excels at letting you
122 create complex technical and scientific articles with mathematics,
123 cross-references, bibliographies, indices, etc. It is very good at
124 documents of any length in which the usual processing abilities are
125 required: automatic sectioning and pagination, spell checking, and
126 so forth. It can also be used to write a letter to your mom, though
127 granted, there are probably simpler programs available for that. It
128 is definitely not the best tool for creating banners, flyers, or advertisements
129 (we'll explain why later), though with some effort all these can be
132 \begin{wrapfigure}{o}{0.5\columnwidth}%
139 \LyX{} is a document preparation system. It excels at letting you
140 create complex technical and scientific articles with mathematics,
141 cross-references, bibliographies, indices, etc. It is very good at
142 documents of any length in which the usual processing abilities are
143 required: automatic sectioning and pagination, spell checking, and
144 so forth. It can also be used to write a letter to your mom, though
145 granted, there are probably simpler programs available for that. It
146 is definitely not the best tool for creating banners, flyers, or advertisements
147 (we'll explain why later), though with some effort all these can be
150 \begin{wraptable}{i}[0.05\textwidth]{5ex}%
154 \centering{}dfgd\end{wraptable}%
155 \LyX{} is a document preparation system. It excels at letting you
156 create complex technical and scientific articles with mathematics,
157 cross-references, bibliographies, indices, etc. It is very good at
158 documents of any length in which the usual processing abilities are
159 required: automatic sectioning and pagination, spell checking, and
160 so forth. It can also be used to write a letter to your mom, though
161 granted, there are probably simpler programs available for that. It
162 is definitely not the best tool for creating banners, flyers, or advertisements
163 (we'll explain why later), though with some effort all these can be
178 \subfloat[te\%st]{sub\textcolor{red}{fig}u\%re 1
182 \hfill{} \subfloat[]{subfigure 2ö
186 \subfloat{subfigure 3}
188 \caption{figure caption}
191 strange usage, but valid
195 \subsection{Some paragraph stuff}
197 A paragraph\footnote{hello} with a footnote and another
200 there} with several paragraphs \vspace{1cm} aa
202 and another paragraph
211 \subsubsection*{with a command inside it}
218 With another one inside it (with same layout)
220 [this one even has several paragraphs!]
225 We can also nest enumerations
232 \item Item1.b (there is a paragraph break in front of this)
241 \item Item1 (appears as Item3 with bug 5716)
243 Normal paragraph in Item1
250 Let's see what happens when normal paragraphs are inserted in lists:
255 with some explanatory text under it
257 and a second paragraph for good measure
259 \subsubsection*{we can even have one as a subsubsection}
261 \item the second item
265 \subsubsection*{and a sssection heading inside it (why not?)}
268 What else? Well, we have descriptions:
270 \item[ABC] first item
271 \item[BCD] second one
274 \begin{lyxlist}{00.00.0000}
275 \item [label~1] first item
276 \item [label~2] second item
279 \begin{thebibliography}{9}
280 \bibitem{FOO} Edward Bar. \emph{The Foo Book}. (1999)
281 \bibitem{FO2} Walter Müller \emph{The Müller Book}. (2004)
282 \end{thebibliography}
286 \section{This is the Appendix}
288 \noindent blabla bla bla
290 switch to german:\selectlanguage{german}
292 \foreignlanguage{french}{some \emph{french}}
293 back to english:\selectlanguage{newzealand}
294 and some nested \foreignlanguage{francais}{french \foreignlanguage{german}{nested
295 \emph{german}} french} english stuff.
296 Note that we both used \texttt{french} and the \texttt{francais} alias for the
297 french text, but for some reason this does not work with the
298 \texttt{newzealand} alias and \texttt{english} for english text.
300 \section{Another Appendix section}
304 Test for missing \textbackslash end\_deeper (file format 278).
305 This must stay at the very end of the document!