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}{\\}
19 \newcommand{\lyxadded}[3]{#3}
20 \newcommand{\lyxdeleted}[3]{}
22 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Textclass specific LaTeX commands.
23 \newenvironment{lyxlist}[1]
25 {\settowidth{\labelwidth}{#1}
26 \setlength{\leftmargin}{\labelwidth}
27 \addtolength{\leftmargin}{\labelsep}
28 \renewcommand{\makelabel}[1]{##1\hfil}}}
30 \newcommand{\strong}[1]{\textbf{#1}}
32 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%% User specified LaTeX commands.
33 \newenvironment{foo}{==[}{]==}
35 \usepackage{fixltx2e} % this should cause the fixltx2e module to be loaded
39 \@ifundefined{showcaptionsetup}{}{%
40 \PassOptionsToPackage{caption=false}{subfig}}
46 \providecommand{\og}{\leavevmode\flqq~}%
47 \providecommand{\fg}{\ifdim\lastskip>\z@\unskip\fi~\frqq}%
54 % this should be recognized as empty date:
58 This document contains all sorts of layouts we are supposed to
59 support, along with weird nestings.
61 At time you will see that I use subsubsections in weird places. The
62 intent is just to make sure that I can include a macro-type layout
63 everyzhere it makes sense.
74 ... with two paragraphs
78 an unknown environment
84 \section[Hello!]{A section with optional argument}
86 This causes the \strong{logikalmkup} module to be loaded.
92 We also support change tracking:
93 \lyxadded{Hans Wurst}{Sun Nov 6 10:39:39 2011}{Added text}
95 \lyxdeleted{Hans Wurst}{Sun Nov 6 10:39:55 2011}{This was the original text}
98 \section*{A starred section for floats}
101 \caption{ \emph{\noun{is}} a caption}
105 \caption[s\noun{ho}rt]{this \emph{is} a caption}
108 \begin{sidewaystable*}
109 \caption{rotated table, spanning all columns}
112 \begin{tabular}[b]{|c|c|}
122 \begin{wrapfigure}[4]{L}[2ex]{0.5\columnwidth}%
129 \LyX{} is a document preparation system. It excels at letting you
130 create complex technical and scientific articles with mathematics,
131 cross-references, bibliographies, indices, etc. It is very good at
132 documents of any length in which the usual processing abilities are
133 required: automatic sectioning and pagination, spell checking, and
134 so forth. It can also be used to write a letter to your mom, though
135 granted, there are probably simpler programs available for that. It
136 is definitely not the best tool for creating banners, flyers, or advertisements
137 (we'll explain why later), though with some effort all these can be
140 \begin{wrapfigure}{o}{0.5\columnwidth}%
147 \LyX{} is a document preparation system. It excels at letting you
148 create complex technical and scientific articles with mathematics,
149 cross-references, bibliographies, indices, etc. It is very good at
150 documents of any length in which the usual processing abilities are
151 required: automatic sectioning and pagination, spell checking, and
152 so forth. It can also be used to write a letter to your mom, though
153 granted, there are probably simpler programs available for that. It
154 is definitely not the best tool for creating banners, flyers, or advertisements
155 (we'll explain why later), though with some effort all these can be
158 \begin{wraptable}{i}[0.05\textwidth]{5ex}%
162 \centering{}dfgd\end{wraptable}%
163 \LyX{} is a document preparation system. It excels at letting you
164 create complex technical and scientific articles with mathematics,
165 cross-references, bibliographies, indices, etc. It is very good at
166 documents of any length in which the usual processing abilities are
167 required: automatic sectioning and pagination, spell checking, and
168 so forth. It can also be used to write a letter to your mom, though
169 granted, there are probably simpler programs available for that. It
170 is definitely not the best tool for creating banners, flyers, or advertisements
171 (we'll explain why later), though with some effort all these can be
186 \subfloat[te\%st]{sub\textcolor{red}{fig}u\%re 1
190 \hfill{} \subfloat[]{subfigure 2ö
194 \subfloat{subfigure 3}
196 \caption{figure caption}
199 strange usage, but valid
203 \subsection{Some paragraph stuff}
205 A paragraph\footnote{hello} with a footnote and another
208 there} with several paragraphs \vspace{1cm} aa
210 and another paragraph
219 \subsubsection*{with a command inside it}
226 With another one inside it (with same layout)
228 [this one even has several paragraphs!]
233 We can also nest enumerations
240 \item Item1.b (there is a paragraph break in front of this)
249 \item Item1 (appears as Item3 with bug 5716)
251 Normal paragraph in Item1
258 Let's see what happens when normal paragraphs are inserted in lists:
263 with some explanatory text under it
265 and a second paragraph for good measure
267 \subsubsection*{we can even have one as a subsubsection}
269 \item the second item
273 \subsubsection*{and a sssection heading inside it (why not?)}
276 What else? Well, we have descriptions:
278 \item[ABC] first item
279 \item[BCD] second one
280 \item[{x y z}] with space
283 z}] and with comments
286 \begin{lyxlist}{00.00.0000}
287 \item [label~1] first item
288 \item [label~2] second item
289 \item [{$\left[\textrm{ }\right]^{x}$}] Label with space, math and ] in it
292 \begin{thebibliography}{9}
293 \bibitem{FOO} Edward Bar. \emph{The Foo Book}. (1999)
294 \bibitem{FO2} Walter Müller \emph{The Müller Book}. (2004)
295 \end{thebibliography}
299 \section{This is the Appendix}
301 \noindent blabla bla bla
303 switch to german:\selectlanguage{german}
305 \foreignlanguage{french}{some \emph{french}}
306 back to english:\selectlanguage{newzealand}
307 and some nested \foreignlanguage{francais}{french \foreignlanguage{german}{nested
308 \emph{german}} french} english stuff.
309 Note that we both used \texttt{french} and the \texttt{francais} alias for the
310 french text, but for some reason this does not work with the
311 \texttt{newzealand} alias and \texttt{english} for english text.
313 \section{Another Appendix section}
317 Test for missing \textbackslash end\_deeper (file format 278).
318 This must stay at the very end of the document!