[Tugindia] tugindia Digest, Vol 42, Issue 3

Ravi Gautam aol_gautam at rediffmail.com
Fri Jun 16 08:16:25 CEST 2006

The code that I had refered is the following. I don't know how to extract the full figure number from this code.
Kindly let me know if any body has the solution.

\newenvironment{myFirstSubFigure}[1] {% caption as parameter 
  \addtocounter{figure}{1}% increase the float figure counter
\newenvironment{mySubFigure}[1] {% caption as parameter 
  \addtocontents{lof}{\protect\contentsline %
  \hfill\textbf{Figure \thefigure\alph{mySubCounter} : }\mySubCaption\hfill% 
\newenvironment{myLastSubFigure}[1] {% caption as parameter 
  \setcounter{mySubCounter}{0}% resetting the subcounter

On Thu, 15 Jun 2006 Ravi Gautam wrote :
>In the following url
>  http://www.tug.org/TeXnik/mainFAQ.cgi?file=floats/nonFloat
>we get the code facilitates us to use subfigures with pagebreak.
>I am not able to understand how to put label. If we put the label
>in the begining of the caption, we get only figure number starting from
>1 (that is subcounter) by using \ref and not the full reference number
>foreg. instead of Figure 14.2 we get Figure 2.
>A solution to the above problem will be highly appreciated.
>Ravi Shankar Gautam

More information about the tugindia mailing list