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}
213 \section{Paragraph spacing}
218 singlespace single singlespace single singlespace single singlespace single
219 singlespace single singlespace single singlespace single singlespace single
223 onehalfspace 1 onehalfspace 1 onehalfspace 1 onehalfspace 1 onehalfspace 1
224 onehalfspace 1 onehalfspace 1 onehalfspace 1 onehalfspace 1 onehalfspace 1
226 onehalfspace 2 onehalfspace 2 onehalfspace 2 onehalfspace 2 onehalfspace 2
227 onehalfspace 2 onehalfspace 2 onehalfspace 2 onehalfspace 2 onehalfspace 2
233 onehalfspace single onehalfspace single onehalfspace single onehalfspace single
234 onehalfspace single onehalfspace single onehalfspace single onehalfspace single
240 doublespace single doublespace single doublespace single doublespace single
241 doublespace single doublespace single doublespace single doublespace single
245 1.2 spacing single 1.2 spacing single 1.2 spacing single 1.2 spacing single
246 1.2 spacing single 1.2 spacing single 1.2 spacing single 1.2 spacing single
249 \section{Paragraph alignment}
254 center single center single center single center single center single
255 center single center single center single center single center single
261 flushleft 1 flushleft 1 flushleft 1 flushleft 1 flushleft 1 flushleft 1
262 flushleft 1 flushleft 1 flushleft 1 flushleft 1 flushleft 1 flushleft 1
264 flushleft 2 flushleft 2 flushleft 2 flushleft 2 flushleft 2 flushleft 2
265 flushleft 2 flushleft 2 flushleft 2 flushleft 2 flushleft 2 flushleft 2
271 flushleft single flushleft single flushleft single flushleft single
272 flushleft single flushleft single flushleft single flushleft single
278 flushright single flushright single flushright single flushright single
279 flushright single flushright single flushright single flushright single
285 centering single centering single centering single centering single
286 centering single centering single centering single centering single
291 raggedright 1 raggedright 1 raggedright 1 raggedright 1 raggedright 1
292 raggedright 1 raggedright 1 raggedright 1 raggedright 1 raggedright 1
294 raggedright 2 raggedright 2 raggedright 2 raggedright 2 raggedright 2
295 raggedright 2 raggedright 2 raggedright 2 raggedright 2 raggedright 2
298 raggedleft 1 raggedleft 1 raggedleft 1 raggedleft 1 raggedleft 1
299 raggedleft 1 raggedleft 1 raggedleft 1 raggedleft 1 raggedleft 1
301 raggedleft 2 raggedleft 2 raggedleft 2 raggedleft 2 raggedleft 2
302 raggedleft 2 raggedleft 2 raggedleft 2 raggedleft 2 raggedleft 2
304 %set back to justified
308 \subsection{Horizontal spaces}
310 Lines can have an hfill \hfill in the middle.
311 Lines can have an hfill \hspace{\fill} in the middle.
312 Lines can have a protected hfill \hspace*{\fill} in the middle.
313 Lines can have a dotted fill \dotfill in the middle.
314 Lines can have a rule fill \hrulefill in the middle.
315 Lines can have a left arrow fill \leftarrowfill in the middle.
316 Lines can have a right arrow fill \rightarrowfill in the middle.
317 Lines can have a upbrace fill \upbracefill in the middle.
318 Lines can have a downbrace fill \downbracefill in the middle.
319 Lines can have space \hspace{2cm} in the middle.
320 Lines can have protected space \hspace*{2cm} in the middle.
322 We also handle defined spaces:
326 Visible\textvisiblespace{}a
334 NegThin\negthinspace{}a
336 NegMed\negmedspace{}a
338 NegThick\negthickspace{}a
348 \subsubsection*{now some math examples:}
363 \subsection{Vertical spaces}
365 Lines can have a vfill \vfill in the middle.
366 Lines can have a vfill \vspace{\fill} in the middle.
367 Lines can have a protected vfill \vspace*{\fill} in the middle.
368 Lines can have vertical space \vspace{2cm} in the middle.
369 Lines can have protected vertical space \vspace*{2cm} in the middle.
371 We also handle skips:
375 bigskip 2:\vspace{\bigskipamount}
379 medskip 2:\vspace{\medskipamount}
381 smallskip 1:\smallskip
383 smallskip 2:\vspace{\smallskipamount}