]> 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 b487bf17b4ba8f14ebc8acfc962a3772dad90726..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
@@ -296,7 +313,7 @@ jkh \ blah
 \begin{centering}
 
 
-zzz
+zzz \section{
 \end{raggedleft}
 
 \end{verbatim}