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{note_fontcolor}{rgb}{0, 0, 1}
14 \definecolor{shadecolor}{rgb}{1, 0, 0}
19 \setlength{\parskip}{3mm}
20 \setlength{\parindent}{0sp}
24 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%% LyX specific LaTeX commands.
26 %% The greyedout annotation environment
27 \newenvironment{lyxgreyedout}{\textcolor{note_fontcolor}\bgroup}{\egroup}
29 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%% User specified LaTeX commands.
31 \setlength{\fboxsep}{3mm}
33 \definecolor{darkgreen}{cmyk}{0.5, 0, 1, 0.5}
35 \usepackage{ifpdf} % part of the hyperref bundle
36 \ifpdf % if pdflatex is used
38 % set fonts for nicer pdf view
39 \IfFileExists{lmodern.sty}{\usepackage{lmodern}}{}
41 % link all cross references and URLs in pdf output
42 \usepackage[colorlinks=true, bookmarks, bookmarksnumbered,
43 bookmarksopen, bookmarksopenlevel=2,
44 linkcolor=black, citecolor=black, urlcolor=blue, filecolor=blue,
45 pdfpagelayout=OneColumn, pdfnewwindow=true,
46 pdfstartview=XYZ, plainpages=false, pdfpagelabels,
47 pdfauthor={LyX Team}, pdftex,
48 pdftitle={tex2lyx testcase},pdfsubject={tex2lyx},
49 pdfkeywords={LyX, tex2lyx}]{hyperref}
51 \else % if dvi or ps is produced
53 % link all cross references and URLs in dvi output
54 \usepackage[ps2pdf]{hyperref}
56 \fi % end if pdflatex is used
65 \subsection{Frameless Boxes}
67 blabla \mbox{mbox} blabla
69 blabla \makebox{makebox 1} blabla
71 blabla \makebox[3cm]{makebox 2} blabla
73 blabla \makebox[3cm][l]{makebox 3} blabla
77 \setlength{\unitlength}{.2in}
80 \put(0,0){\makebox(0,0)[tr]{AAA}}
81 \put(8,0){\makebox(0,0){BBB}}
82 \put(1,0){\line(1,0){6}}
87 \raisebox {8.5mm}{test}\raisebox {-6.5mm}{tset}
89 \subsection{Framed Boxes}
91 blabla \begin{framed}framed\end{framed} blabla
93 blabla \begin{framed}\begin{framed}nested framed\end{framed}\end{framed} blabla
95 blabla \fbox{fbox} blabla
97 blabla \framebox{framebox 1} blabla
99 blabla \framebox[3cm]{framebox 2} blabla
101 blabla \framebox[3cm][l]{framebox 3} blabla
103 Dies ist ein Beispieltext. %
105 \begin{minipage}[c][1\totalheight][s]{0.2\columnwidth}%
119 gleichmäßig verteilt.
122 Dies ist ein Beispieltext.
124 blabla \ovalbox{ovalbox} blabla
126 blabla \Ovalbox{Ovalbox} blabla
128 blabla \shadowbox{shadowbox} blabla
130 blabla \doublebox{doublebox} blabla
134 \subsection{LyX Boxes}
137 \textbf{Note:} Not all DVI-viewers are able to display rotations.
141 Shaded background box\end{shaded}
145 \subsection{Predefined Colors}
147 test \textcolor{blue}{blue} test \textcolor{red}{red red red} test \textcolor{green}{bla}\textcolor{magenta}{blub}
149 \textcolor{green}{c}%
152 \textcolor{green}{o}%
155 \subsection{Custom Colors}
157 test \textcolor{darkgreen}{dark green} test
159 \definecolor{violet}{rgb}{0.5, 0, 1}
161 test \textcolor{violet}{violet} test
175 \normalsize normalsize text
179 \footnotesize footnotesize text
181 \scriptsize scriptsize text
185 \Huge Huge text \huge huge text \LARGE LARGE text \Large Large text
186 \large large text \normalsize normalsize text \small small text
187 \footnotesize footnotesize text \scriptsize scriptsize text \tiny tiny text
189 \normalsize Font size switches don't affect section headings!
193 \section{Font size dummy 1}
199 \section*{Font size dummy 2}
204 \section{Paragraph spacing}
209 singlespace single singlespace single singlespace single singlespace single
210 singlespace single singlespace single singlespace single singlespace single
214 onehalfspace 1 onehalfspace 1 onehalfspace 1 onehalfspace 1 onehalfspace 1
215 onehalfspace 1 onehalfspace 1 onehalfspace 1 onehalfspace 1 onehalfspace 1
217 onehalfspace 2 onehalfspace 2 onehalfspace 2 onehalfspace 2 onehalfspace 2
218 onehalfspace 2 onehalfspace 2 onehalfspace 2 onehalfspace 2 onehalfspace 2
224 onehalfspace single onehalfspace single onehalfspace single onehalfspace single
225 onehalfspace single onehalfspace single onehalfspace single onehalfspace single
231 doublespace single doublespace single doublespace single doublespace single
232 doublespace single doublespace single doublespace single doublespace single
236 1.2 spacing single 1.2 spacing single 1.2 spacing single 1.2 spacing single
237 1.2 spacing single 1.2 spacing single 1.2 spacing single 1.2 spacing single
240 \section{Paragraph alignment}
245 center single center single center single center single center single
246 center single center single center single center single center single
252 flushleft 1 flushleft 1 flushleft 1 flushleft 1 flushleft 1 flushleft 1
253 flushleft 1 flushleft 1 flushleft 1 flushleft 1 flushleft 1 flushleft 1
255 flushleft 2 flushleft 2 flushleft 2 flushleft 2 flushleft 2 flushleft 2
256 flushleft 2 flushleft 2 flushleft 2 flushleft 2 flushleft 2 flushleft 2
262 flushleft single flushleft single flushleft single flushleft single
263 flushleft single flushleft single flushleft single flushleft single
269 flushright single flushright single flushright single flushright single
270 flushright single flushright single flushright single flushright single
276 centering single centering single centering single centering single
277 centering single centering single centering single centering single
282 raggedright 1 raggedright 1 raggedright 1 raggedright 1 raggedright 1
283 raggedright 1 raggedright 1 raggedright 1 raggedright 1 raggedright 1
285 raggedright 2 raggedright 2 raggedright 2 raggedright 2 raggedright 2
286 raggedright 2 raggedright 2 raggedright 2 raggedright 2 raggedright 2
289 raggedleft 1 raggedleft 1 raggedleft 1 raggedleft 1 raggedleft 1
290 raggedleft 1 raggedleft 1 raggedleft 1 raggedleft 1 raggedleft 1
292 raggedleft 2 raggedleft 2 raggedleft 2 raggedleft 2 raggedleft 2
293 raggedleft 2 raggedleft 2 raggedleft 2 raggedleft 2 raggedleft 2
295 %set back to justified
298 \subsection{Horizontal spaces}
300 Lines can have an hfill \hfill in the middle.
301 Lines can have an hfill \hspace{\fill} in the middle.
302 Lines can have a protected hfill \hspace*{\fill} in the middle.
303 Lines can have a dotted fill \dotfill in the middle.
304 Lines can have a rule fill \hrulefill in the middle.
305 Lines can have a left arrow fill \leftarrowfill in the middle.
306 Lines can have a right arrow fill \rightarrowfill in the middle.
307 Lines can have a upbrace fill \upbracefill in the middle.
308 Lines can have a downbrace fill \downbracefill in the middle.
309 Lines can have space \hspace{2cm} in the middle.
310 Lines can have protected space \hspace*{2cm} in the middle.
312 We also handle defined spaces:
322 NegThin\negthinspace{}a
324 NegMed\negmedspace{}a
326 NegThick\negthickspace{}a
336 \subsection{Vertical spaces}
338 Lines can have a vfill \vfill in the middle.
339 Lines can have a vfill \vspace{\fill} in the middle.
340 Lines can have a protected vfill \vspace*{\fill} in the middle.
341 Lines can have vertical space \vspace{2cm} in the middle.
342 Lines can have protected vertical space \vspace*{2cm} in the middle.
344 We also handle skips:
348 bigskip 2:\vspace{\bigskipamount}
352 medskip 2:\vspace{\medskipamount}
354 smallskip 1:\smallskip
356 smallskip 2:\vspace{\smallskipamount}