]> git.lyx.org Git - lyx.git/blobdiff - src/tex2lyx/test/box-color-size-space-align.tex
tex2lyx/table.cpp: please Vincent as discussed
[lyx.git] / src / tex2lyx / test / box-color-size-space-align.tex
index c97ccc92f5e2da4d39ea3f0d38e71ddd15436189..278a5e1928c60aeac951b1a418adcbb59135d986 100644 (file)
 
 \usepackage{amsmath}
 \usepackage{color}
+\definecolor{page_backgroundcolor}{rgb}{1, 0.3359375, 0}
+\pagecolor{page_backgroundcolor}
+\definecolor{document_fontcolor}{rgb}{0.66796875, 1, 0}
+\color{document_fontcolor}
 \definecolor{note_fontcolor}{rgb}{0, 0, 1}
-\definecolor{shadecolor}{rgb}{1, 0, 0}
+\definecolor{shadecolor}{rgb}{1, 1, 0}
 \usepackage{framed}
+\usepackage{calc}
+\usepackage{fancybox}
+\PassOptionsToPackage{normalem}{ulem}
+\usepackage{ulem}
 
 \setlength{\parskip}{3mm}
 \setlength{\parindent}{0sp}
@@ -30,6 +38,8 @@
 
 \definecolor{darkgreen}{cmyk}{0.5, 0, 1, 0.5}
 
+\color[rgb]{0,0,0}
+
 \usepackage{ifpdf} % part of the hyperref bundle
 \ifpdf % if pdflatex is used
 
@@ -77,6 +87,7 @@ blabla \makebox[3cm][l]{makebox 3} blabla
 \begin{picture}(8,6)
 \put(0,0){\makebox(0,0)[tr]{AAA}}
 \put(8,0){\makebox(0,0){BBB}}
+\put(0,8){\framebox(0,0){x}}
 \put(1,0){\line(1,0){6}}   
 \end{picture}
 
@@ -86,34 +97,46 @@ blabla \makebox[3cm][l]{makebox 3} blabla
 
 \subsection{Framed Boxes}
 
+blabla \begin{framed}framed\end{framed} blabla
+
+blabla \begin{framed}\begin{framed}nested framed\end{framed}\end{framed} blabla
+
 blabla \fbox{fbox} blabla
 
-blabla \framebox{framebox 1} blabla
+blabla \framebox{fr\textcolor{blue}{ame}box 1} blabla
 
 blabla \framebox[3cm]{framebox 2} blabla
 
 blabla \framebox[3cm][l]{framebox 3} blabla
 
-Dies ist ein Beispieltext. %
+This is an example text. %
 \framebox{%
 \begin{minipage}[c][1\totalheight][s]{0.2\columnwidth}%
  \begin{center}
-  Der Boxinhalt
+  The box content
  \par\end{center}
 
  \begin{center}
-  ist über die
+  is evenly distributed
  \par\end{center}
 
  \begin{center}
-  Boxhöhe
+  over the
  \par\end{center}
 
  \begin{center}
-  gleichmäßig verteilt.
+  box height.
  \par\end{center}%
 \end{minipage}}
-Dies ist ein Beispieltext.
+This is an example text.
+
+blabla \ovalbox{ovalbox} blabla
+
+blabla \Ovalbox{Ovalbox} blabla
+
+blabla \shadowbox{shadowbox} blabla
+
+blabla \doublebox{doublebox} blabla
 
 $\boxed{\int A=B}$
 
@@ -126,6 +149,11 @@ $\boxed{\int A=B}$
 \begin{shaded}%
 Shaded background box\end{shaded}
 
+\begin{minipage}[c]{1\columnwidth}%
+\begin{shaded}%
+Shaded background box, with inner minipage\end{shaded}%
+\end{minipage}
+
 \section{Colors}
 
 \subsection{Predefined Colors}
@@ -187,6 +215,26 @@ bla blub
 bla blub
 \normalsize
 
+
+\section{Strikeout, underlined etc.}
+
+Emphasized: \emph{test}
+
+Underbar: \uline{test}
+
+Double underbar: \uuline{test}
+
+Wavy underbar: \uwave{test}
+
+Strike out: \sout{test}
+
+Crossed out: \xout{test}
+
+Noun: \noun{test}
+
+Underbar, emphasized, strikeout: \emph{\uline{\sout{test}}}
+
+
 \section{Paragraph spacing}
 
 bla
@@ -281,9 +329,11 @@ raggedleft 2 raggedleft 2 raggedleft 2 raggedleft 2 raggedleft 2
 %set back to justified
 \raggedright{}
 
+
 \subsection{Horizontal spaces}
 
 Lines can have an hfill \hfill in the middle.
+Lines can have an hfill \hspace{\fill} in the middle.
 Lines can have a protected hfill \hspace*{\fill} in the middle.
 Lines can have a dotted fill \dotfill in the middle.
 Lines can have a rule fill \hrulefill in the middle.
@@ -298,6 +348,8 @@ We also handle defined spaces:
 
 Interword\ a
 
+Visible\textvisiblespace{}a
+
 Thin\,a
 
 Medium\:a
@@ -318,9 +370,25 @@ quad\quad{}a
 
 qquad\qquad{}a
 
+\subsubsection*{now some math examples:}
+
+$a\hfill b$
+
+$a\hspace*{2cm}b$
+
+$a\hspace{1cm}b$
+
+$a\hspace*{\fill} b$
+
+$a\enskip b$
+
+$a\enspace b$
+
+
 \subsection{Vertical spaces}
 
-Lines can have an vfill \vfill in the middle.
+Lines can have a vfill \vfill in the middle.
+Lines can have a vfill \vspace{\fill} in the middle.
 Lines can have a protected vfill \vspace*{\fill} in the middle.
 Lines can have vertical space \vspace{2cm} in the middle.
 Lines can have protected vertical space \vspace*{2cm} in the middle.