On Wed, Aug 08, 2001 at 04:13:03PM +0300, Dekel Tsur wrote:
> See attached file

I forgot to attach the file, so here it is:
#LyX 1.2 created this file. For more info see http://www.lyx.org/
\lyxformat 218
\textclass article
\begin_preamble
\newcounter{parentfigure}

\newenvironment{subfigures}{%
  \refstepcounter{figure}%
  \protected@edef\theparentfigure{\thefigure}%
   \setcounter{parentfigure}{\value{figure}}%
   \setcounter{figure}{0}%
   \def\thefigure{\theparentfigure\alph{figure}}%
  \ignorespaces
}{%
  \setcounter{figure}{\value{parentfigure}}%
  \ignorespacesafterend
}
\end_preamble
\language english
\inputencoding auto
\fontscheme default
\graphics default
\paperfontsize default
\spacing single 
\papersize Default
\paperpackage a4
\use_geometry 0
\use_amsmath 0
\paperorientation portrait
\secnumdepth 3
\tocdepth 3
\paragraph_separation indent
\defskip medskip
\quotes_language english
\quotes_times 2
\papercolumns 1
\papersides 1
\paperpagestyle default

\layout Standard


\begin_inset LatexCommand \listoffigures{}

\end_inset 


\layout Standard

\begin_float fig 
\layout Caption

Test
\end_float 
\begin_float fig 
\layout Standard


\latex latex 

\backslash 
addtocounter{figure}{-1}
\layout Caption

Test
\end_float 

\latex latex 

\backslash 
begin{subfigures}
\begin_float fig 
\layout Caption

Test
\end_float 
\begin_float fig 
\layout Caption

Test
\end_float 

\latex latex 

\backslash 
end{subfigures}
\layout Standard

\begin_float fig 
\layout Caption

Test
\end_float 
\the_end

Reply via email to