]> git.lyx.org Git - lyx.git/blobdiff - src/tex2lyx/test/test-structure.tex
tex2lyx/table.cpp: please Vincent as discussed
[lyx.git] / src / tex2lyx / test / test-structure.tex
index e19e0026697b083d4111eb911c1759f1c1d70fde..3cb6fc7a89dd25910f134323fab80be348abf1a4 100644 (file)
 \newcommand{\strong}[1]{\textbf{#1}}
 
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%% User specified LaTeX commands.
+%% Special footnote code from the package 'stblftnt.sty'
+%% Author: Robin Fairbairns -- Last revised Dec 13 1996
+\let\SF@@footnote\footnote
+\def\footnote{\ifx\protect\@typeset@protect
+    \expandafter\SF@@footnote
+\else
+    \expandafter\SF@gobble@opt
+\fi
+}
+\expandafter\def\csname SF@gobble@opt \endcsname{\@ifnextchar[%]
+    \SF@gobble@twobracket
+    \@gobble
+}
+\edef\SF@gobble@opt{\noexpand\protect
+  \expandafter\noexpand\csname SF@gobble@opt \endcsname}
+  \def\SF@gobble@twobracket[#1]#2{}
+
 \newenvironment{foo}{==[}{]==}
 
 \usepackage{fixltx2e} % this should cause the fixltx2e module to be loaded
@@ -277,12 +294,29 @@ What else? Well, we have descriptions:
 \begin{description}
 \item[ABC] first item
 \item[BCD] second one
+\item[{x y z}] with space
+\item  % hi there
+[{x y % bla
+z}] and with comments
 \end{description}
 labelings:
 \begin{lyxlist}{00.00.0000}
 \item [label~1] first item
 \item [label~2] second item
+\item [{$\left[\textrm{ }\right]^{x}$}] Label with space, math and ] in it
 \end{lyxlist}
+verbatim:
+\begin{verbatim}
+verbat  im % $ 02/19/12
+hjkh
+jkh \ blah
+\begin{centering}
+
+
+zzz \section{
+\end{raggedleft}
+
+\end{verbatim}
 and bibliography:
 \begin{thebibliography}{9}
 \bibitem{FOO} Edward Bar. \emph{The Foo Book}. (1999)