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,newzealand,english,dummyoption]{article}
4 \usepackage[latin9]{inputenc}
7 \synctex=-1\usepackage{wrapfig}
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 %% Special footnote code from the package 'stblftnt.sty'
34 %% Author: Robin Fairbairns -- Last revised Dec 13 1996
35 \let\SF@@footnote\footnote
36 \def\footnote{\ifx\protect\@typeset@protect
37 \expandafter\SF@@footnote
39 \expandafter\SF@gobble@opt
42 \expandafter\def\csname SF@gobble@opt \endcsname{\@ifnextchar[%]
46 \edef\SF@gobble@opt{\noexpand\protect
47 \expandafter\noexpand\csname SF@gobble@opt \endcsname}
48 \def\SF@gobble@twobracket[#1]#2{}
50 \newenvironment{foo}{==[}{]==}
52 \usepackage{fixltx2e} % this should cause the fixltx2e module to be loaded
56 \@ifundefined{showcaptionsetup}{}{%
57 \PassOptionsToPackage{caption=false}{subfig}}
63 \providecommand{\og}{\leavevmode\flqq~}%
64 \providecommand{\fg}{\ifdim\lastskip>\z@\unskip\fi~\frqq}%
71 % this should be recognized as empty date:
75 This document contains all sorts of layouts we are supposed to
76 support, along with weird nestings.
78 At time you will see that I use subsubsections in weird places. The
79 intent is just to make sure that I can include a macro-type layout
80 everyzhere it makes sense.
91 ... with two paragraphs
95 an unknown environment
101 \section[Hello!]{A section with optional argument}
103 This causes the \strong{logikalmkup} module to be loaded.
109 We also support change tracking:
110 \lyxadded{Hans Wurst}{Sun Nov 6 09:39:39 2011}{Added text}
112 \lyxdeleted{Hans Wurst}{Sun Nov 6 09:39:55 2011}{This was the original text}
115 \section*{A starred section for floats}
118 \caption{ \emph{\noun{is}} a caption}
122 \caption[s\noun{ho}rt]{this \emph{is} a caption}
125 \begin{sidewaystable*}
126 \caption{rotated table, spanning all columns}
129 \begin{tabular}[b]{|c|c|}
139 \begin{wrapfigure}[4]{L}[2ex]{0.5\columnwidth}%
146 \LyX{} is a document preparation system. It excels at letting you
147 create complex technical and scientific articles with mathematics,
148 cross-references, bibliographies, indices, etc. It is very good at
149 documents of any length in which the usual processing abilities are
150 required: automatic sectioning and pagination, spell checking, and
151 so forth. It can also be used to write a letter to your mom, though
152 granted, there are probably simpler programs available for that. It
153 is definitely not the best tool for creating banners, flyers, or advertisements
154 (we'll explain why later), though with some effort all these can be
157 \begin{wrapfigure}{o}{0.5\columnwidth}%
164 \LyX{} is a document preparation system. It excels at letting you
165 create complex technical and scientific articles with mathematics,
166 cross-references, bibliographies, indices, etc. It is very good at
167 documents of any length in which the usual processing abilities are
168 required: automatic sectioning and pagination, spell checking, and
169 so forth. It can also be used to write a letter to your mom, though
170 granted, there are probably simpler programs available for that. It
171 is definitely not the best tool for creating banners, flyers, or advertisements
172 (we'll explain why later), though with some effort all these can be
175 \begin{wraptable}{i}[0.05\textwidth]{5ex}%
179 \centering{}dfgd\end{wraptable}%
180 \LyX{} is a document preparation system. It excels at letting you
181 create complex technical and scientific articles with mathematics,
182 cross-references, bibliographies, indices, etc. It is very good at
183 documents of any length in which the usual processing abilities are
184 required: automatic sectioning and pagination, spell checking, and
185 so forth. It can also be used to write a letter to your mom, though
186 granted, there are probably simpler programs available for that. It
187 is definitely not the best tool for creating banners, flyers, or advertisements
188 (we'll explain why later), though with some effort all these can be
203 \subfloat[te\%st]{sub\textcolor{red}{fig}u\%re 1
207 \hfill{} \subfloat[]{subfigure 2ö
211 \subfloat{subfigure 3}
213 \caption{figure caption}
216 strange usage, but valid
220 \subsection{Some paragraph stuff}
222 A paragraph\footnote{hello} with a footnote and another
225 there} with several paragraphs \vspace{1cm} aa
227 and another paragraph
236 \subsubsection*{with a command inside it}
243 With another one inside it (with same layout)
245 [this one even has several paragraphs!]
250 We can also nest enumerations
257 \item Item1.b (there is a paragraph break in front of this)
266 \item Item1 (appears as Item3 with bug 5716)
268 Normal paragraph in Item1
275 Let's see what happens when normal paragraphs are inserted in lists:
280 with some explanatory text under it
282 and a second paragraph for good measure
284 \subsubsection*{we can even have one as a subsubsection}
286 \item the second item
288 \item[custom label] the third item has a custom label
290 \subsubsection*{and a sssection heading inside it (why not?)}
293 What else? Well, we have descriptions:
295 \item[ABC] first item
296 \item[BCD] second one
297 \item[{x y z}] with space
300 z}] and with comments
304 \begin{lyxlist}{00.00.0000}
305 \item [label~1] first item
306 \item [label~2] second item
307 \item [{$\left[\textrm{ }\right]^{x}$}] Label with space, math and ] in it
312 verbat im % $ 02/19/12
323 \verb+\item[ABC] first item+
324 \verb+something\+ bug 4468
327 \begin{thebibliography}{9}
328 \bibitem{FOO} Edward Bar. \emph{The Foo Book}. (1999)
329 \bibitem{FO2} Walter Müller \emph{The Müller Book}. (2004)
330 \end{thebibliography}
334 \section{This is the Appendix}
336 \noindent blabla bla bla
338 switch to german:\selectlanguage{german}
340 \foreignlanguage{french}{some \emph{french}}
341 back to english:\selectlanguage{newzealand}
342 and some nested \foreignlanguage{francais}{french \foreignlanguage{german}{nested
343 \emph{german}} french} english stuff.
344 Note that we both used \texttt{french} and the \texttt{francais} alias for the
345 french text, but for some reason this does not work with the
346 \texttt{newzealand} alias and \texttt{english} for english text.
348 \section{Another Appendix section}
352 Test for missing \textbackslash end\_deeper (file format 278).
353 This must stay at the very end of the document!