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(1,0){\line(1,0){6}}
95 \raisebox {8.5mm}{test}\raisebox {-6.5mm}{tset}
97 \subsection{Framed Boxes}
99 blabla \begin{framed}framed\end{framed} blabla
101 blabla \begin{framed}\begin{framed}nested framed\end{framed}\end{framed} blabla
103 blabla \fbox{fbox} blabla
105 blabla \framebox{fr\textcolor{blue}{ame}box 1} blabla
107 blabla \framebox[3cm]{framebox 2} blabla
109 blabla \framebox[3cm][l]{framebox 3} blabla
111 This is an example text. %
113 \begin{minipage}[c][1\totalheight][s]{0.2\columnwidth}%
119 is evenly distributed
130 This is an example text.
132 blabla \ovalbox{ovalbox} blabla
134 blabla \Ovalbox{Ovalbox} blabla
136 blabla \shadowbox{shadowbox} blabla
138 blabla \doublebox{doublebox} blabla
142 \subsection{LyX Boxes}
145 \textbf{Note:} Not all DVI-viewers are able to display rotations.
149 Shaded background box\end{shaded}
151 \begin{minipage}[c]{1\columnwidth}%
153 Shaded background box, with inner minipage\end{shaded}%
158 \subsection{Predefined Colors}
160 test \textcolor{blue}{blue} test \textcolor{red}{red red red} test \textcolor{green}{bla}\textcolor{magenta}{blub}
162 \textcolor{green}{c}%
165 \textcolor{green}{o}%
168 \subsection{Custom Colors}
170 test \textcolor{darkgreen}{dark green} test
172 \definecolor{violet}{rgb}{0.5, 0, 1}
174 test \textcolor{violet}{violet} test
188 \normalsize normalsize text
192 \footnotesize footnotesize text
194 \scriptsize scriptsize text
198 \Huge Huge text \huge huge text \LARGE LARGE text \Large Large text
199 \large large text \normalsize normalsize text \small small text
200 \footnotesize footnotesize text \scriptsize scriptsize text \tiny tiny text
202 \normalsize Font size switches don't affect section headings!
206 \section{Font size dummy 1}
212 \section*{Font size dummy 2}
218 \section{Strikeout, underlined etc.}
220 Emphasized: \emph{test}
222 Underbar: \uline{test}
224 Double underbar: \uuline{test}
226 Wavy underbar: \uwave{test}
228 Strike out: \sout{test}
230 Crossed out: \xout{test}
234 Underbar, emphasized, strikeout: \emph{\uline{\sout{test}}}
237 \section{Paragraph spacing}
242 singlespace single singlespace single singlespace single singlespace single
243 singlespace single singlespace single singlespace single singlespace single
247 onehalfspace 1 onehalfspace 1 onehalfspace 1 onehalfspace 1 onehalfspace 1
248 onehalfspace 1 onehalfspace 1 onehalfspace 1 onehalfspace 1 onehalfspace 1
250 onehalfspace 2 onehalfspace 2 onehalfspace 2 onehalfspace 2 onehalfspace 2
251 onehalfspace 2 onehalfspace 2 onehalfspace 2 onehalfspace 2 onehalfspace 2
257 onehalfspace single onehalfspace single onehalfspace single onehalfspace single
258 onehalfspace single onehalfspace single onehalfspace single onehalfspace single
264 doublespace single doublespace single doublespace single doublespace single
265 doublespace single doublespace single doublespace single doublespace single
269 1.2 spacing single 1.2 spacing single 1.2 spacing single 1.2 spacing single
270 1.2 spacing single 1.2 spacing single 1.2 spacing single 1.2 spacing single
273 \section{Paragraph alignment}
278 center single center single center single center single center single
279 center single center single center single center single center single
285 flushleft 1 flushleft 1 flushleft 1 flushleft 1 flushleft 1 flushleft 1
286 flushleft 1 flushleft 1 flushleft 1 flushleft 1 flushleft 1 flushleft 1
288 flushleft 2 flushleft 2 flushleft 2 flushleft 2 flushleft 2 flushleft 2
289 flushleft 2 flushleft 2 flushleft 2 flushleft 2 flushleft 2 flushleft 2
295 flushleft single flushleft single flushleft single flushleft single
296 flushleft single flushleft single flushleft single flushleft single
302 flushright single flushright single flushright single flushright single
303 flushright single flushright single flushright single flushright single
309 centering single centering single centering single centering single
310 centering single centering single centering single centering single
315 raggedright 1 raggedright 1 raggedright 1 raggedright 1 raggedright 1
316 raggedright 1 raggedright 1 raggedright 1 raggedright 1 raggedright 1
318 raggedright 2 raggedright 2 raggedright 2 raggedright 2 raggedright 2
319 raggedright 2 raggedright 2 raggedright 2 raggedright 2 raggedright 2
322 raggedleft 1 raggedleft 1 raggedleft 1 raggedleft 1 raggedleft 1
323 raggedleft 1 raggedleft 1 raggedleft 1 raggedleft 1 raggedleft 1
325 raggedleft 2 raggedleft 2 raggedleft 2 raggedleft 2 raggedleft 2
326 raggedleft 2 raggedleft 2 raggedleft 2 raggedleft 2 raggedleft 2
328 %set back to justified
332 \subsection{Horizontal spaces}
334 Lines can have an hfill \hfill in the middle.
335 Lines can have an hfill \hspace{\fill} in the middle.
336 Lines can have a protected hfill \hspace*{\fill} in the middle.
337 Lines can have a dotted fill \dotfill in the middle.
338 Lines can have a rule fill \hrulefill in the middle.
339 Lines can have a left arrow fill \leftarrowfill in the middle.
340 Lines can have a right arrow fill \rightarrowfill in the middle.
341 Lines can have a upbrace fill \upbracefill in the middle.
342 Lines can have a downbrace fill \downbracefill in the middle.
343 Lines can have space \hspace{2cm} in the middle.
344 Lines can have protected space \hspace*{2cm} in the middle.
346 We also handle defined spaces:
350 Visible\textvisiblespace{}a
358 NegThin\negthinspace{}a
360 NegMed\negmedspace{}a
362 NegThick\negthickspace{}a
372 \subsubsection*{now some math examples:}
387 \subsection{Vertical spaces}
389 Lines can have a vfill \vfill in the middle.
390 Lines can have a vfill \vspace{\fill} in the middle.
391 Lines can have a protected vfill \vspace*{\fill} in the middle.
392 Lines can have vertical space \vspace{2cm} in the middle.
393 Lines can have protected vertical space \vspace*{2cm} in the middle.
395 We also handle skips:
399 bigskip 2:\vspace{\bigskipamount}
403 medskip 2:\vspace{\medskipamount}
405 smallskip 1:\smallskip
407 smallskip 2:\vspace{\smallskipamount}