120

My question is about changing the font size.

I have to insert two figures side by side. Coming to inserting the captions for the figures individually:

Figure 3: blah blah.....................Figure 4: blah blah...

I am able to change the font size of "blah blah". What I want to know is how to change the font size of "Figure 3" or "Figure 4", say the figure headers or something. I do not know what they are called to search on-line.

2
  • 2
    Welcome to TeX.sx! While cmhughes' answer is a very good one some classes like KOMA-Script or memoir have their own ways to do these things which is why a minimal working example (MWE) would be a good addition to your question.
    – cgnieder
    Commented Dec 8, 2012 at 16:29
  • It's not necessary to sign your questions (as there is already a box with your username below it). Usually, we don't put a greeting or a "thank you" in our posts. While this might seem strange at first, it is not a sign of lack of politeness, but rather part of our trying to keep everything very concise. Upvoting (with the upward pointing arrow to the left of it; you need 15 reputation points before you can upvote) and accepting it (by clicking on the checkmark) is the preferred way here to say "thank you" to users who helped you.
    – Stephen
    Commented Dec 8, 2012 at 16:40

3 Answers 3

180

You can do this (and more!) with the caption package

\usepackage[font=small,labelfont=bf]{caption}

will make Figure in bold, and make the caption content small.

Referencing Section 2.3 of the documentation, the size options for font are as follows:

  • scriptsize
  • footnotesize
  • small
  • normalsize
  • large
  • Large

Here's a MWE to play with

\documentclass{article}

\usepackage[font=scriptsize]{caption}
\usepackage{mwe}

\begin{document}

\begin{figure}
\centering
\begin{minipage}{.4\textwidth}
  \includegraphics[width=\textwidth]{example-image-a}
  \caption{My caption here}
\end{minipage}%
\hfill
\begin{minipage}{.4\textwidth}
  \includegraphics[width=\textwidth]{example-image-b}
  \caption{My other caption here}
\end{minipage}
\end{figure}

\end{document}

screenshot

13
  • 1
    Thank you for your reply.... I do not know its not working for me...I am actually using Lyx...I tried writing this command in preamble its not working either Commented Dec 8, 2012 at 16:38
  • @JeshwanthKundem you're welcome :) When you say 'not working', does that mean not producing the output, or not compiling, or something else? Perhaps an update is in order: How do I update my TeX distribution?
    – cmhughes
    Commented Dec 8, 2012 at 16:39
  • its compiling..I mean to say..i am not getting what I want...you understood my question right...the part "Figure 3" I need to change the font of this Commented Dec 8, 2012 at 16:42
  • 1
    @JeshwanthKundem It should work in LyX, too. You should perhaps read the caption manual to find out which options you need.
    – cgnieder
    Commented Dec 8, 2012 at 16:46
  • 2
    @JeshwanthKundem great, glad it's fixed :) if this finishes the question, then please consider accepting my answer by using the green check mark, and upvoting my answer once you have enough reputation to do so :) welcome!
    – cmhughes
    Commented Dec 8, 2012 at 16:54
31

Not sure why but the answer above did not work for me. If that's the case for you, simply declare:

\usepackage{caption}
\captionsetup[figure]{font=small}

For more detail see: Changing Figure caption text size..

1
  • 1
    in sciposter documentclass, it doesn't have any effect, either
    – ivan866
    Commented Aug 8, 2021 at 22:26
0

The reason that sciposter's code isn't working is that in more pedantic systems it requires:

\usepackage[font={small},labelfont={bf}]{caption}
New contributor
TheStumps is a new contributor to this site. Take care in asking for clarification, commenting, and answering. Check out our Code of Conduct.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .