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[b4paper,twoside, twocolumn,12pt]{article}
5 \usepackage[T1]{fontenc}
6 \usepackage[latin9]{inputenc}
9 \geometry{verbose,landscape,b4paper,tmargin=1cm,bmargin=2cm,lmargin=3cm,rmargin=4cm,headheight=6cm,headsep=5cm,footskip=7cm,columnsep=8cm}
13 \definecolor{page_backgroundcolor}{rgb}{1, 0.3359375, 0}
14 \pagecolor{page_backgroundcolor}
15 \definecolor{document_fontcolor}{rgb}{0.66796875, 1, 0}
16 \color{document_fontcolor}
17 \definecolor{note_fontcolor}{rgb}{0, 0, 1}
18 \definecolor{shadecolor}{rgb}{1, 1, 0}
22 \PassOptionsToPackage{normalem}{ulem}
25 \setlength{\parskip}{3mm}
26 \setlength{\parindent}{0sp}
30 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%% LyX specific LaTeX commands.
32 %% The greyedout annotation environment
33 \newenvironment{lyxgreyedout}{\textcolor{note_fontcolor}\bgroup}{\egroup}
35 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%% User specified LaTeX commands.
37 \setlength{\fboxsep}{3mm}
39 \definecolor{darkgreen}{cmyk}{0.5, 0, 1, 0.5}
41 \usepackage{ifpdf} % part of the hyperref bundle
42 \ifpdf % if pdflatex is used
44 % set fonts for nicer pdf view
45 \IfFileExists{lmodern.sty}{\usepackage{lmodern}}{}
47 % link all cross references and URLs in pdf output
48 \usepackage[colorlinks=true, bookmarks, bookmarksnumbered,
49 bookmarksopen, bookmarksopenlevel=2,
50 linkcolor=black, citecolor=black, urlcolor=blue, filecolor=blue,
51 pdfpagelayout=OneColumn, pdfnewwindow=true,
52 pdfstartview=XYZ, plainpages=false, pdfpagelabels,
53 pdfauthor={LyX Team}, pdftex,
54 pdftitle={tex2lyx testcase},pdfsubject={tex2lyx},
55 pdfkeywords={LyX, tex2lyx}]{hyperref}
57 \else % if dvi or ps is produced
59 % link all cross references and URLs in dvi output
60 \usepackage[ps2pdf]{hyperref}
62 \fi % end if pdflatex is used
71 \subsection{Frameless Boxes}
73 blabla \mbox{mbox} blabla
75 blabla \makebox{makebox 1} blabla
77 blabla \makebox[3cm]{makebox 2} blabla
79 blabla \makebox[3cm][l]{makebox 3} blabla
83 \setlength{\unitlength}{.2in}
86 \put(0,0){\makebox(0,0)[tr]{AAA}}
87 \put(8,0){\makebox(0,0){BBB}}
88 \put(1,0){\line(1,0){6}}
93 \raisebox {8.5mm}{test}\raisebox {-6.5mm}{tset}
95 \subsection{Framed Boxes}
97 blabla \begin{framed}framed\end{framed} blabla
99 blabla \begin{framed}\begin{framed}nested framed\end{framed}\end{framed} blabla
101 blabla \fbox{fbox} blabla
103 blabla \framebox{framebox 1} blabla
105 blabla \framebox[3cm]{framebox 2} blabla
107 blabla \framebox[3cm][l]{framebox 3} blabla
109 Dies ist ein Beispieltext. %
111 \begin{minipage}[c][1\totalheight][s]{0.2\columnwidth}%
125 gleichmäßig verteilt.
128 Dies ist ein Beispieltext.
130 blabla \ovalbox{ovalbox} blabla
132 blabla \Ovalbox{Ovalbox} blabla
134 blabla \shadowbox{shadowbox} blabla
136 blabla \doublebox{doublebox} blabla
140 \subsection{LyX Boxes}
143 \textbf{Note:} Not all DVI-viewers are able to display rotations.
147 Shaded background box\end{shaded}
149 \begin{minipage}[c]{1\columnwidth}%
151 Shaded background box, with inner minipage\end{shaded}%
156 \subsection{Predefined Colors}
158 test \textcolor{blue}{blue} test \textcolor{red}{red red red} test \textcolor{green}{bla}\textcolor{magenta}{blub}
160 \textcolor{green}{c}%
163 \textcolor{green}{o}%
166 \subsection{Custom Colors}
168 test \textcolor{darkgreen}{dark green} test
170 \definecolor{violet}{rgb}{0.5, 0, 1}
172 test \textcolor{violet}{violet} test
186 \normalsize normalsize text
190 \footnotesize footnotesize text
192 \scriptsize scriptsize text
196 \Huge Huge text \huge huge text \LARGE LARGE text \Large Large text
197 \large large text \normalsize normalsize text \small small text
198 \footnotesize footnotesize text \scriptsize scriptsize text \tiny tiny text
200 \normalsize Font size switches don't affect section headings!
204 \section{Font size dummy 1}
210 \section*{Font size dummy 2}
216 \section{Strikeout, underlined etc.}
218 Emphasized: \emph{test}
220 Underbar: \uline{test}
222 Double underbar: \uuline{test}
224 Wavy underbar: \uwave{test}
226 Strike out: \sout{test}
228 Crossed out: \xout{test}
232 Underbar, emphasized, strikeout: \emph{\uline{\sout{test}}}
235 \section{Paragraph spacing}
240 singlespace single singlespace single singlespace single singlespace single
241 singlespace single singlespace single singlespace single singlespace single
245 onehalfspace 1 onehalfspace 1 onehalfspace 1 onehalfspace 1 onehalfspace 1
246 onehalfspace 1 onehalfspace 1 onehalfspace 1 onehalfspace 1 onehalfspace 1
248 onehalfspace 2 onehalfspace 2 onehalfspace 2 onehalfspace 2 onehalfspace 2
249 onehalfspace 2 onehalfspace 2 onehalfspace 2 onehalfspace 2 onehalfspace 2
255 onehalfspace single onehalfspace single onehalfspace single onehalfspace single
256 onehalfspace single onehalfspace single onehalfspace single onehalfspace single
262 doublespace single doublespace single doublespace single doublespace single
263 doublespace single doublespace single doublespace single doublespace single
267 1.2 spacing single 1.2 spacing single 1.2 spacing single 1.2 spacing single
268 1.2 spacing single 1.2 spacing single 1.2 spacing single 1.2 spacing single
271 \section{Paragraph alignment}
276 center single center single center single center single center single
277 center single center single center single center single center single
283 flushleft 1 flushleft 1 flushleft 1 flushleft 1 flushleft 1 flushleft 1
284 flushleft 1 flushleft 1 flushleft 1 flushleft 1 flushleft 1 flushleft 1
286 flushleft 2 flushleft 2 flushleft 2 flushleft 2 flushleft 2 flushleft 2
287 flushleft 2 flushleft 2 flushleft 2 flushleft 2 flushleft 2 flushleft 2
293 flushleft single flushleft single flushleft single flushleft single
294 flushleft single flushleft single flushleft single flushleft single
300 flushright single flushright single flushright single flushright single
301 flushright single flushright single flushright single flushright single
307 centering single centering single centering single centering single
308 centering single centering single centering single centering single
313 raggedright 1 raggedright 1 raggedright 1 raggedright 1 raggedright 1
314 raggedright 1 raggedright 1 raggedright 1 raggedright 1 raggedright 1
316 raggedright 2 raggedright 2 raggedright 2 raggedright 2 raggedright 2
317 raggedright 2 raggedright 2 raggedright 2 raggedright 2 raggedright 2
320 raggedleft 1 raggedleft 1 raggedleft 1 raggedleft 1 raggedleft 1
321 raggedleft 1 raggedleft 1 raggedleft 1 raggedleft 1 raggedleft 1
323 raggedleft 2 raggedleft 2 raggedleft 2 raggedleft 2 raggedleft 2
324 raggedleft 2 raggedleft 2 raggedleft 2 raggedleft 2 raggedleft 2
326 %set back to justified
330 \subsection{Horizontal spaces}
332 Lines can have an hfill \hfill in the middle.
333 Lines can have an hfill \hspace{\fill} in the middle.
334 Lines can have a protected hfill \hspace*{\fill} in the middle.
335 Lines can have a dotted fill \dotfill in the middle.
336 Lines can have a rule fill \hrulefill in the middle.
337 Lines can have a left arrow fill \leftarrowfill in the middle.
338 Lines can have a right arrow fill \rightarrowfill in the middle.
339 Lines can have a upbrace fill \upbracefill in the middle.
340 Lines can have a downbrace fill \downbracefill in the middle.
341 Lines can have space \hspace{2cm} in the middle.
342 Lines can have protected space \hspace*{2cm} in the middle.
344 We also handle defined spaces:
348 Visible\textvisiblespace{}a
356 NegThin\negthinspace{}a
358 NegMed\negmedspace{}a
360 NegThick\negthickspace{}a
370 \subsubsection*{now some math examples:}
385 \subsection{Vertical spaces}
387 Lines can have a vfill \vfill in the middle.
388 Lines can have a vfill \vspace{\fill} in the middle.
389 Lines can have a protected vfill \vspace*{\fill} in the middle.
390 Lines can have vertical space \vspace{2cm} in the middle.
391 Lines can have protected vertical space \vspace*{2cm} in the middle.
393 We also handle skips:
397 bigskip 2:\vspace{\bigskipamount}
401 medskip 2:\vspace{\medskipamount}
403 smallskip 1:\smallskip
405 smallskip 2:\vspace{\smallskipamount}