-----Opprinnelig melding-----
> Fra: Steinar Graver [mailto:ste...@stud.ntnu.no] 
> Sendt: 14. september 2009 16:37
> Til: lyx-users@lists.lyx.org
> Emne: Problem
> 
> I would like to customize my caption regarding figures
> I would like to name my figures 1.1 or 1.2 or 3.2a ect
> 
> With \setcounter{figure}{value} I can only use whole numbers, 
> not , or .
> How can I fiks this

A counter is just a counter and by using \setcounter you can only specify a 
number, not a string. 

You should let LaTeX do the heavy lifting for you and decide on how your figure 
should be numbered. Is the first number the section, and then the number of the 
figure in that section? Is the "a" part of a subfigure? 

In that case you can put somthing like this in your preamble:
\renewcommand{\thefigure}{\thesection.\arabic{figure}} 
and then use subfigure to get the a and b etc. 

Ingar

Reply via email to