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]{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}{==[}{]==}
32 % LyX will also recognize this command:
33 % \@ifundefined{date}{}{\date{}}
37 \@ifundefined{showcaptionsetup}{}{%
38 \PassOptionsToPackage{caption=false}{subfig}}
44 \providecommand{\og}{\leavevmode\flqq~}%
45 \providecommand{\fg}{\ifdim\lastskip>\z@\unskip\fi~\frqq}%
55 This document contains all sorts of layouts we are supposed to
56 support, along with weird nestings.
58 At time you will see that I use subsubsections in weird places. The
59 intent is just to make sure that I can include a macro-type layout
60 everyzhere it makes sense.
71 ... with two paragraphs
75 an unknown environment
81 \section[Hello!]{A section with optional argument}
87 \section*{A starred section for floats}
90 \caption{ \emph{\noun{is}} a caption}
94 \caption[s\noun{ho}rt]{this \emph{is} a caption}
97 \begin{sidewaystable*}
98 \caption{rotated table, spanning all columns}
101 \begin{tabular}{|c|c|}
111 \begin{wrapfigure}[4]{L}[2ex]{0.5\columnwidth}%
118 \LyX{} is a document preparation system. It excels at letting you
119 create complex technical and scientific articles with mathematics,
120 cross-references, bibliographies, indices, etc. It is very good at
121 documents of any length in which the usual processing abilities are
122 required: automatic sectioning and pagination, spell checking, and
123 so forth. It can also be used to write a letter to your mom, though
124 granted, there are probably simpler programs available for that. It
125 is definitely not the best tool for creating banners, flyers, or advertisements
126 (we'll explain why later), though with some effort all these can be
129 \begin{wrapfigure}{o}{0.5\columnwidth}%
136 \LyX{} is a document preparation system. It excels at letting you
137 create complex technical and scientific articles with mathematics,
138 cross-references, bibliographies, indices, etc. It is very good at
139 documents of any length in which the usual processing abilities are
140 required: automatic sectioning and pagination, spell checking, and
141 so forth. It can also be used to write a letter to your mom, though
142 granted, there are probably simpler programs available for that. It
143 is definitely not the best tool for creating banners, flyers, or advertisements
144 (we'll explain why later), though with some effort all these can be
147 \begin{wraptable}{i}[0.05\textwidth]{5ex}%
151 \centering{}dfgd\end{wraptable}%
152 \LyX{} is a document preparation system. It excels at letting you
153 create complex technical and scientific articles with mathematics,
154 cross-references, bibliographies, indices, etc. It is very good at
155 documents of any length in which the usual processing abilities are
156 required: automatic sectioning and pagination, spell checking, and
157 so forth. It can also be used to write a letter to your mom, though
158 granted, there are probably simpler programs available for that. It
159 is definitely not the best tool for creating banners, flyers, or advertisements
160 (we'll explain why later), though with some effort all these can be
175 \subfloat[te\%st]{sub\textcolor{red}{fig}u\%re 1
179 \hfill{} \subfloat[]{subfigure 2ö
183 \subfloat{subfigure 3}
185 \caption{figure caption}
188 strange usage, but valid
192 \subsection{Some paragraph stuff}
194 A paragraph\footnote{hello} with a footnote and another
197 there} with several paragraphs \vspace{1cm} aa
199 and another paragraph
208 \subsubsection*{with a command inside it}
215 With another one inside it (with same layout)
217 [this one even has several paragraphs!]
222 We can also nest enumerations
229 \item Item1.b (there is a paragraph break in front of this)
238 \item Item1 (appears as Item3 with bug 5716)
240 Normal paragraph in Item1
247 Let's see what happens when normal paragraphs are inserted in lists:
252 with some explanatory text under it
254 and a second paragraph for good measure
256 \subsubsection*{we can even have one as a subsubsection}
258 \item the second item
262 \subsubsection*{and a sssection heading inside it (why not?)}
265 What else? Well, we have descriptions:
267 \item[ABC] first item
268 \item[BCD] second one
271 \begin{lyxlist}{00.00.0000}
272 \item [label~1] first item
273 \item [label~2] second item
276 \begin{thebibliography}{9}
277 \bibitem{FOO} Edward Bar. \emph{The Foo Book}. (1999)
278 \bibitem{FO2} Walter Müller \emph{The Müller Book}. (2004)
279 \end{thebibliography}
283 \section{This is the Appendix}
285 \noindent blabla bla bla
287 switch to german:\selectlanguage{german}
289 \foreignlanguage{french}{some \emph{french}}
290 back to english:\selectlanguage{newzealand}
291 and some nested \foreignlanguage{francais}{french \foreignlanguage{german}{nested
292 \emph{german}} french} english stuff.
293 Note that we both used \texttt{french} and the \texttt{francais} alias for the
294 french text, but for some reason this does not work with the
295 \texttt{newzealand} alias and \texttt{english} for english text.
297 \section{Another Appendix section}
301 Test for missing \textbackslash end\_deeper (file format 278).
302 This must stay at the very end of the document!