]> git.lyx.org Git - lyx.git/blobdiff - src/tex2lyx/test/box-color-size-space-align.tex
tex2lyx: fix a regression
[lyx.git] / src / tex2lyx / test / box-color-size-space-align.tex
index f0ece400d7e9246537ccebcfd8000d78589b613d..6a8a5d61db486cb0c2238673dc1482bb64061824 100644 (file)
@@ -19,6 +19,8 @@
 \usepackage{framed}
 \usepackage{calc}
 \usepackage{fancybox}
+\PassOptionsToPackage{normalem}{ulem}
+\usepackage{ulem}
 
 \setlength{\parskip}{3mm}
 \setlength{\parindent}{0sp}
@@ -36,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
 
@@ -83,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}
 
@@ -98,32 +103,32 @@ 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
 
@@ -223,9 +228,11 @@ Wavy underbar: \uwave{test}
 
 Strike out: \sout{test}
 
+Crossed out: \xout{test}
+
 Noun: \noun{test}
 
-Underbar, ephasized, stikreout: \emph{\uline{\sout{test}}}
+Underbar, emphasized, strikeout: \emph{\uline{\sout{test}}}
 
 
 \section{Paragraph spacing}
@@ -345,10 +352,6 @@ Visible\textvisiblespace{}a
 
 Thin\,a
 
-Medium\:a
-
-Thick\;a
-
 NegThin\negthinspace{}a
 
 NegMed\negmedspace{}a
@@ -363,19 +366,38 @@ quad\quad{}a
 
 qquad\qquad{}a
 
-\subsubsection*{now some math examples:}
 
-$a\hfill b$
+\subsubsection*{now in math:}
+
+fill: $a\hfill b$
+
+protected fill: $a\hspace*{\fill} b$
+
+2\,cm: $a\hspace*{2cm}b$
+
+protected 2\,cm: $a\hspace{1cm}b$
+
+enskip: $a\enskip b$
+
+enspace: $a\enspace b$
+
+thin: $a\, b$
+
+medium: $a\: b$
+
+thick: $a\; b$
+
+negative thin: $a\negthinspace b$
 
-$a\hspace*{2cm}b$
+negative medium: $a\negmedspace b$
 
-$a\hspace{1cm}b$
+negative thick: $a\negthickspace b$
 
-$a\hspace*{\fill} b$
+quad: $a\quad b$
 
-$a\enskip b$
+qquad: $a\qquad b$
 
-$a\enspace b$
+interword: $a\ b$
 
 
 \subsection{Vertical spaces}