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}
43 \usepackage{ifpdf} % part of the hyperref bundle
44 \ifpdf % if pdflatex is used
46 % set fonts for nicer pdf view
47 \IfFileExists{lmodern.sty}{\usepackage{lmodern}}{}
49 % link all cross references and URLs in pdf output
50 \usepackage[colorlinks=true, bookmarks, bookmarksnumbered,
51 bookmarksopen, bookmarksopenlevel=2,
52 linkcolor=black, citecolor=black, urlcolor=blue, filecolor=blue,
53 pdfpagelayout=OneColumn, pdfnewwindow=true,
54 pdfstartview=XYZ, plainpages=false, pdfpagelabels,
55 pdfauthor={LyX Team}, pdftex,
56 pdftitle={tex2lyx testcase},pdfsubject={tex2lyx},
57 pdfkeywords={LyX, tex2lyx}]{hyperref}
59 \else % if dvi or ps is produced
61 % link all cross references and URLs in dvi output
62 \usepackage[ps2pdf]{hyperref}
64 \fi % end if pdflatex is used
73 \subsection{Frameless Boxes}
75 blabla \mbox{mbox} blabla
77 blabla \makebox{makebox 1} blabla
79 blabla \makebox[3cm]{makebox 2} blabla
81 blabla \makebox[3cm][l]{makebox 3} blabla
85 \setlength{\unitlength}{.2in}
88 \put(0,0){\makebox(0,0)[tr]{AAA}}
89 \put(8,0){\makebox(0,0){BBB}}
90 \put(0,8){\framebox(0,0){x}}
91 \put(1,0){\line(1,0){6}}
96 \raisebox {8.5mm}{test}\raisebox {-6.5mm}{tset}
98 \subsection{Framed Boxes}
100 blabla \begin{framed}framed\end{framed} blabla
102 blabla \begin{framed}\begin{framed}nested framed\end{framed}\end{framed} blabla
104 blabla \fbox{fbox} blabla
106 blabla \framebox{fr\textcolor{blue}{ame}box 1} blabla
108 blabla \framebox[3cm]{framebox 2} blabla
110 blabla \framebox[3cm][l]{framebox 3} blabla
112 This is an example text. %
114 \begin{minipage}[c][1\totalheight][s]{0.2\columnwidth}%
120 is evenly distributed
131 This is an example text.
133 blabla \ovalbox{ovalbox} blabla
135 blabla \Ovalbox{Ovalbox} blabla
137 blabla \shadowbox{shadowbox} blabla
139 blabla \doublebox{doublebox} blabla
143 \subsection{LyX Boxes}
146 \textbf{Note:} Not all DVI-viewers are able to display rotations.
150 Shaded background box\end{shaded}
152 \begin{minipage}[c]{1\columnwidth}%
154 Shaded background box, with inner minipage\end{shaded}%
159 \subsection{Predefined Colors}
161 test \textcolor{blue}{blue} test \textcolor{red}{red red red} test \textcolor{green}{bla}\textcolor{magenta}{blub}
163 \textcolor{green}{c}%
166 \textcolor{green}{o}%
169 \subsection{Custom Colors}
171 test \textcolor{darkgreen}{dark green} test
173 \definecolor{violet}{rgb}{0.5, 0, 1}
175 test \textcolor{violet}{violet} test
189 \normalsize normalsize text
193 \footnotesize footnotesize text
195 \scriptsize scriptsize text
199 \Huge Huge text \huge huge text \LARGE LARGE text \Large Large text
200 \large large text \normalsize normalsize text \small small text
201 \footnotesize footnotesize text \scriptsize scriptsize text \tiny tiny text
203 \normalsize Font size switches don't affect section headings!
207 \section{Font size dummy 1}
213 \section*{Font size dummy 2}
219 \section{Strikeout, underlined etc.}
221 Emphasized: \emph{test}
223 Underbar: \uline{test}
225 Double underbar: \uuline{test}
227 Wavy underbar: \uwave{test}
229 Strike out: \sout{test}
231 Crossed out: \xout{test}
235 Underbar, emphasized, strikeout: \emph{\uline{\sout{test}}}
238 \section{Paragraph spacing}
243 singlespace single singlespace single singlespace single singlespace single
244 singlespace single singlespace single singlespace single singlespace single
248 onehalfspace 1 onehalfspace 1 onehalfspace 1 onehalfspace 1 onehalfspace 1
249 onehalfspace 1 onehalfspace 1 onehalfspace 1 onehalfspace 1 onehalfspace 1
251 onehalfspace 2 onehalfspace 2 onehalfspace 2 onehalfspace 2 onehalfspace 2
252 onehalfspace 2 onehalfspace 2 onehalfspace 2 onehalfspace 2 onehalfspace 2
258 onehalfspace single onehalfspace single onehalfspace single onehalfspace single
259 onehalfspace single onehalfspace single onehalfspace single onehalfspace single
265 doublespace single doublespace single doublespace single doublespace single
266 doublespace single doublespace single doublespace single doublespace single
270 1.2 spacing single 1.2 spacing single 1.2 spacing single 1.2 spacing single
271 1.2 spacing single 1.2 spacing single 1.2 spacing single 1.2 spacing single
274 \section{Paragraph alignment}
279 center single center single center single center single center single
280 center single center single center single center single center single
286 flushleft 1 flushleft 1 flushleft 1 flushleft 1 flushleft 1 flushleft 1
287 flushleft 1 flushleft 1 flushleft 1 flushleft 1 flushleft 1 flushleft 1
289 flushleft 2 flushleft 2 flushleft 2 flushleft 2 flushleft 2 flushleft 2
290 flushleft 2 flushleft 2 flushleft 2 flushleft 2 flushleft 2 flushleft 2
296 flushleft single flushleft single flushleft single flushleft single
297 flushleft single flushleft single flushleft single flushleft single
303 flushright single flushright single flushright single flushright single
304 flushright single flushright single flushright single flushright single
310 centering single centering single centering single centering single
311 centering single centering single centering single centering single
316 raggedright 1 raggedright 1 raggedright 1 raggedright 1 raggedright 1
317 raggedright 1 raggedright 1 raggedright 1 raggedright 1 raggedright 1
319 raggedright 2 raggedright 2 raggedright 2 raggedright 2 raggedright 2
320 raggedright 2 raggedright 2 raggedright 2 raggedright 2 raggedright 2
323 raggedleft 1 raggedleft 1 raggedleft 1 raggedleft 1 raggedleft 1
324 raggedleft 1 raggedleft 1 raggedleft 1 raggedleft 1 raggedleft 1
326 raggedleft 2 raggedleft 2 raggedleft 2 raggedleft 2 raggedleft 2
327 raggedleft 2 raggedleft 2 raggedleft 2 raggedleft 2 raggedleft 2
329 %set back to justified
333 \subsection{Horizontal spaces}
335 Lines can have an hfill \hfill in the middle.
336 Lines can have an hfill \hspace{\fill} in the middle.
337 Lines can have a protected hfill \hspace*{\fill} in the middle.
338 Lines can have a dotted fill \dotfill in the middle.
339 Lines can have a rule fill \hrulefill in the middle.
340 Lines can have a left arrow fill \leftarrowfill in the middle.
341 Lines can have a right arrow fill \rightarrowfill in the middle.
342 Lines can have a upbrace fill \upbracefill in the middle.
343 Lines can have a downbrace fill \downbracefill in the middle.
344 Lines can have space \hspace{2cm} in the middle.
345 Lines can have protected space \hspace*{2cm} in the middle.
347 We also handle defined spaces:
351 Visible\textvisiblespace{}a
359 NegThin\negthinspace{}a
361 NegMed\negmedspace{}a
363 NegThick\negthickspace{}a
373 \subsubsection*{now some math examples:}
388 \subsection{Vertical spaces}
390 Lines can have a vfill \vfill in the middle.
391 Lines can have a vfill \vspace{\fill} in the middle.
392 Lines can have a protected vfill \vspace*{\fill} in the middle.
393 Lines can have vertical space \vspace{2cm} in the middle.
394 Lines can have protected vertical space \vspace*{2cm} in the middle.
396 We also handle skips:
400 bigskip 2:\vspace{\bigskipamount}
404 medskip 2:\vspace{\medskipamount}
406 smallskip 1:\smallskip
408 smallskip 2:\vspace{\smallskipamount}