Changing Figure Labelling in LyX

Paul A. Rubin parubin73 at gmail.com
Thu Mar 18 19:40:53 UTC 2021


On 3/18/21 2:13 PM, Philippe Burden wrote:
>
> To whomever this may concern,
>
> I have recently started using LyX to write scientific papers for my 
> undergraduate degree. In writing one of my reports, I found myself 
> wanting to change the way the figures are labelled. I have managed to 
> change the figure labelling from “Figure 1, Figure 2, Figure 3…” to 
> labelling per section “Figure 1.1, Figure 1.2, Figure 2.1…” However, I 
> was wondering if there was a way to change it to say “Fig. 1.1”, 
> instead of “Figure 1.1”
>
> I’ve also changed the size of the font inside the caption to be 
> smallest. This works great, no issues. However, the figure label 
> itself does not change in size. It simply shows “Figure 1.1: Blah Blah 
> Blah, this is only an example…”. Is there a way to make the size of 
> the label match that of the caption.
>
> Thank in advance to anyone who can help me.
>
> Cheers,
>
> Philippe Burden
>
>
As someone with old eyes, I feel that I should discourage you from using 
"smallest" as the size for captions. That said, if you have the LaTeX 
'caption' package installed, you can put the following in your preamble:

\usepackage{caption}

\captionsetup[figure]{labelfont={scriptsize}, name={Fig.},labelsep=colon}

I think that will do what you want.

Paul

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lyx.org/pipermail/lyx-users/attachments/20210318/e9ef63ee/attachment-0001.html>


More information about the lyx-users mailing list