From: Uwe Stöhr Date: Wed, 26 Oct 2011 01:16:19 +0000 (+0000) Subject: tex2lyx: testfiles: the spaces are already in box-color-size-space-align.tex X-Git-Tag: 2.1.0beta1~2485 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=7be5a98e1d2ea86fe0ba048e8b0e15484b2b4536;p=features.git tex2lyx: testfiles: the spaces are already in box-color-size-space-align.tex git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39990 a592a061-630c-0410-9148-cb99ea01b6c8 --- diff --git a/src/tex2lyx/test/box-color-size-space-align.tex b/src/tex2lyx/test/box-color-size-space-align.tex index dcbfb70d3b..9a265d8205 100644 --- a/src/tex2lyx/test/box-color-size-space-align.tex +++ b/src/tex2lyx/test/box-color-size-space-align.tex @@ -304,6 +304,7 @@ 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. @@ -344,6 +345,21 @@ 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 a vfill \vfill in the middle. diff --git a/src/tex2lyx/test/test-insets.tex b/src/tex2lyx/test/test-insets.tex index efaf11f5df..040bd8c629 100644 --- a/src/tex2lyx/test/test-insets.tex +++ b/src/tex2lyx/test/test-insets.tex @@ -308,58 +308,6 @@ test \textcolor{red}{\rule[-4ex]{5in}{1cm}} -\subsection{Spaces} - -simple: a\ b - -simple, protected: a~b - -thin: a\,b - -medium: a\negthinspace{}b - -thick: a\negmedspace{}b - -negative thin: a\negthinspace{}b - -negative meduim: a\negmedspace{}b - -negative thick: a\negthickspace{}b - -half quad: a\enskip{}b - -half quad, protected: a\enspace{}b - -a\quad{}b - -a\qquad{}b - -hfill: a\hfill{}b - -hfill, protected: a\hspace*{\fill}b - -custom,: a\hspace{1cm}b - -custom, protected: a\hspace*{1cm}b - -visible: a\textvisiblespace{}b - - -\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{Phantoms} test\phantom{Wow}test