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}
23 \setlength{\parskip}{3mm}
24 \setlength{\parindent}{0sp}
28 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%% LyX specific LaTeX commands.
30 %% The greyedout annotation environment
31 \newenvironment{lyxgreyedout}{\textcolor{note_fontcolor}\bgroup}{\egroup}
33 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%% User specified LaTeX commands.
35 \setlength{\fboxsep}{3mm}
37 \definecolor{darkgreen}{cmyk}{0.5, 0, 1, 0.5}
39 \usepackage{ifpdf} % part of the hyperref bundle
40 \ifpdf % if pdflatex is used
42 % set fonts for nicer pdf view
43 \IfFileExists{lmodern.sty}{\usepackage{lmodern}}{}
45 % link all cross references and URLs in pdf output
46 \usepackage[colorlinks=true, bookmarks, bookmarksnumbered,
47 bookmarksopen, bookmarksopenlevel=2,
48 linkcolor=black, citecolor=black, urlcolor=blue, filecolor=blue,
49 pdfpagelayout=OneColumn, pdfnewwindow=true,
50 pdfstartview=XYZ, plainpages=false, pdfpagelabels,
51 pdfauthor={LyX Team}, pdftex,
52 pdftitle={tex2lyx testcase},pdfsubject={tex2lyx},
53 pdfkeywords={LyX, tex2lyx}]{hyperref}
55 \else % if dvi or ps is produced
57 % link all cross references and URLs in dvi output
58 \usepackage[ps2pdf]{hyperref}
60 \fi % end if pdflatex is used
69 \subsection{Frameless Boxes}
71 blabla \mbox{mbox} blabla
73 blabla \makebox{makebox 1} blabla
75 blabla \makebox[3cm]{makebox 2} blabla
77 blabla \makebox[3cm][l]{makebox 3} blabla
81 \setlength{\unitlength}{.2in}
84 \put(0,0){\makebox(0,0)[tr]{AAA}}
85 \put(8,0){\makebox(0,0){BBB}}
86 \put(1,0){\line(1,0){6}}
91 \raisebox {8.5mm}{test}\raisebox {-6.5mm}{tset}
93 \subsection{Framed Boxes}
95 blabla \begin{framed}framed\end{framed} blabla
97 blabla \begin{framed}\begin{framed}nested framed\end{framed}\end{framed} blabla
99 blabla \fbox{fbox} blabla
101 blabla \framebox{framebox 1} blabla
103 blabla \framebox[3cm]{framebox 2} blabla
105 blabla \framebox[3cm][l]{framebox 3} blabla
107 Dies ist ein Beispieltext. %
109 \begin{minipage}[c][1\totalheight][s]{0.2\columnwidth}%
123 gleichmäßig verteilt.
126 Dies ist ein Beispieltext.
128 blabla \ovalbox{ovalbox} blabla
130 blabla \Ovalbox{Ovalbox} blabla
132 blabla \shadowbox{shadowbox} blabla
134 blabla \doublebox{doublebox} blabla
138 \subsection{LyX Boxes}
141 \textbf{Note:} Not all DVI-viewers are able to display rotations.
145 Shaded background box\end{shaded}
147 \begin{minipage}[c]{1\columnwidth}%
149 Shaded background box, with inner minipage\end{shaded}%
154 \subsection{Predefined Colors}
156 test \textcolor{blue}{blue} test \textcolor{red}{red red red} test \textcolor{green}{bla}\textcolor{magenta}{blub}
158 \textcolor{green}{c}%
161 \textcolor{green}{o}%
164 \subsection{Custom Colors}
166 test \textcolor{darkgreen}{dark green} test
168 \definecolor{violet}{rgb}{0.5, 0, 1}
170 test \textcolor{violet}{violet} test
184 \normalsize normalsize text
188 \footnotesize footnotesize text
190 \scriptsize scriptsize text
194 \Huge Huge text \huge huge text \LARGE LARGE text \Large Large text
195 \large large text \normalsize normalsize text \small small text
196 \footnotesize footnotesize text \scriptsize scriptsize text \tiny tiny text
198 \normalsize Font size switches don't affect section headings!
202 \section{Font size dummy 1}
208 \section*{Font size dummy 2}
214 \section{Strikeout, underlined etc.}
216 Emphasized: \emph{test}
218 Underbar: \uline{test}
220 Double underbar: \uuline{test}
222 Wavy underbar: \uwave{test}
224 Strike out: \sout{test}
228 Underbar, ephasized, stikreout: \emph{\uline{\sout{test}}}
231 \section{Paragraph spacing}
236 singlespace single singlespace single singlespace single singlespace single
237 singlespace single singlespace single singlespace single singlespace single
241 onehalfspace 1 onehalfspace 1 onehalfspace 1 onehalfspace 1 onehalfspace 1
242 onehalfspace 1 onehalfspace 1 onehalfspace 1 onehalfspace 1 onehalfspace 1
244 onehalfspace 2 onehalfspace 2 onehalfspace 2 onehalfspace 2 onehalfspace 2
245 onehalfspace 2 onehalfspace 2 onehalfspace 2 onehalfspace 2 onehalfspace 2
251 onehalfspace single onehalfspace single onehalfspace single onehalfspace single
252 onehalfspace single onehalfspace single onehalfspace single onehalfspace single
258 doublespace single doublespace single doublespace single doublespace single
259 doublespace single doublespace single doublespace single doublespace single
263 1.2 spacing single 1.2 spacing single 1.2 spacing single 1.2 spacing single
264 1.2 spacing single 1.2 spacing single 1.2 spacing single 1.2 spacing single
267 \section{Paragraph alignment}
272 center single center single center single center single center single
273 center single center single center single center single center single
279 flushleft 1 flushleft 1 flushleft 1 flushleft 1 flushleft 1 flushleft 1
280 flushleft 1 flushleft 1 flushleft 1 flushleft 1 flushleft 1 flushleft 1
282 flushleft 2 flushleft 2 flushleft 2 flushleft 2 flushleft 2 flushleft 2
283 flushleft 2 flushleft 2 flushleft 2 flushleft 2 flushleft 2 flushleft 2
289 flushleft single flushleft single flushleft single flushleft single
290 flushleft single flushleft single flushleft single flushleft single
296 flushright single flushright single flushright single flushright single
297 flushright single flushright single flushright single flushright single
303 centering single centering single centering single centering single
304 centering single centering single centering single centering single
309 raggedright 1 raggedright 1 raggedright 1 raggedright 1 raggedright 1
310 raggedright 1 raggedright 1 raggedright 1 raggedright 1 raggedright 1
312 raggedright 2 raggedright 2 raggedright 2 raggedright 2 raggedright 2
313 raggedright 2 raggedright 2 raggedright 2 raggedright 2 raggedright 2
316 raggedleft 1 raggedleft 1 raggedleft 1 raggedleft 1 raggedleft 1
317 raggedleft 1 raggedleft 1 raggedleft 1 raggedleft 1 raggedleft 1
319 raggedleft 2 raggedleft 2 raggedleft 2 raggedleft 2 raggedleft 2
320 raggedleft 2 raggedleft 2 raggedleft 2 raggedleft 2 raggedleft 2
322 %set back to justified
326 \subsection{Horizontal spaces}
328 Lines can have an hfill \hfill in the middle.
329 Lines can have an hfill \hspace{\fill} in the middle.
330 Lines can have a protected hfill \hspace*{\fill} in the middle.
331 Lines can have a dotted fill \dotfill in the middle.
332 Lines can have a rule fill \hrulefill in the middle.
333 Lines can have a left arrow fill \leftarrowfill in the middle.
334 Lines can have a right arrow fill \rightarrowfill in the middle.
335 Lines can have a upbrace fill \upbracefill in the middle.
336 Lines can have a downbrace fill \downbracefill in the middle.
337 Lines can have space \hspace{2cm} in the middle.
338 Lines can have protected space \hspace*{2cm} in the middle.
340 We also handle defined spaces:
344 Visible\textvisiblespace{}a
352 NegThin\negthinspace{}a
354 NegMed\negmedspace{}a
356 NegThick\negthickspace{}a
366 \subsubsection*{now some math examples:}
381 \subsection{Vertical spaces}
383 Lines can have a vfill \vfill in the middle.
384 Lines can have a vfill \vspace{\fill} in the middle.
385 Lines can have a protected vfill \vspace*{\fill} in the middle.
386 Lines can have vertical space \vspace{2cm} in the middle.
387 Lines can have protected vertical space \vspace*{2cm} in the middle.
389 We also handle skips:
393 bigskip 2:\vspace{\bigskipamount}
397 medskip 2:\vspace{\medskipamount}
399 smallskip 1:\smallskip
401 smallskip 2:\vspace{\smallskipamount}