]> git.lyx.org Git - features.git/commitdiff
tex2lyx: test also for algorithm floats
authorUwe Stöhr <uwestoehr@lyx.org>
Mon, 4 Feb 2013 01:19:54 +0000 (02:19 +0100)
committerUwe Stöhr <uwestoehr@lyx.org>
Mon, 4 Feb 2013 01:19:54 +0000 (02:19 +0100)
src/tex2lyx/test/test-refstyle-references.tex

index ee81b0f330994f2080181cddd3589f5a8f706d22..f2bb0e65a60329e82b0d1810012e1e2a940ea6c2 100644 (file)
@@ -2,6 +2,7 @@
 \usepackage[T1]{fontenc}
 \usepackage[latin9]{inputenc}
 \usepackage{refstyle}
+\usepackage{float}
 \usepackage{amsthm}
 
 \makeatletter
@@ -135,6 +136,13 @@ Ref to \subref{Subsubsection}.
 
 \Staref{table}
 
+\begin{algorithm}
+\protect\caption{algorithm\label{Sta:algorithm}}
+\end{algorithm}
+
+
+\Staref{algorithm}
+
 \footnote{foot\label{fn:foot}%
 }