]> git.lyx.org Git - features.git/commitdiff
tex2lyx: nothing to do for the new math spaces as shown by the updated TeX testfile
authorUwe Stöhr <uwestoehr@web.de>
Tue, 25 Oct 2011 16:47:31 +0000 (16:47 +0000)
committerUwe Stöhr <uwestoehr@web.de>
Tue, 25 Oct 2011 16:47:31 +0000 (16:47 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39966 a592a061-630c-0410-9148-cb99ea01b6c8

src/tex2lyx/TODO.txt
src/tex2lyx/test/test-insets.tex

index f97bbf3416198fb56fa43f60127cdfb8e7f6d34a..fc30aadc337f9ff73c6ee44061e64b07f849b2cb 100644 (file)
@@ -82,6 +82,4 @@ Format LaTeX feature                        LyX feature
 411    babel etc.                           \language_package
 412    tabular*                             InsetTabular
 415    undertilde.sty                       fonts
-416    \hfill, \enspace, \hspace*,          InsetMathSpace
-       \hspace*{\fill}
 
index 1dd90ad3e7b426cfe2da14df0e46739bb09e45dc..efaf11f5dfaa6169e9436cf2ac7c89d000828fd4 100644 (file)
@@ -133,24 +133,6 @@ An URL: \url{http://www.lyx.org}
 \listoftables
 
 
-\section{Phantoms}
-
-test\hphantom{Wow}test
-
-test\phantom{\textcolor{green}{W}\textbf{ow}\textsuperscript{Wow}}test
-
-test\vphantom{Wow\textbackslash{}\&\%}test
-
-$test\hphantom{Wow}test$
-
-\[
-test\phantom{\textcolor{green}{W}\mathbf{ow}\textsuperscript{Wow}}test
-\]
-
-
-$test\vphantom{Wow\&\%}test$
-
-
 \section{Graphics\index{Graphics}}
 
 There is also some basic support for graphics, in the form
@@ -326,6 +308,76 @@ 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
+
+test\phantom{\textcolor{green}{W}\textbf{ow}\textsuperscript{Wow}}test
+
+test\phantom{Wow\textbackslash{}\&\%}test
+
+$test\hphantom{Wow}test$
+
+\[
+test\phantom{\textcolor{green}{W}\mathbf{ow}\textsuperscript{Wow}}test
+\]
+
+
+$test\vphantom{Wow\&\%}test$
+
+
 \subsection{Line breaks}
 
 They can also or be broken by a newline\\