Graphics, Figures & TablesChange font/size text in a Figure's label

Information and discussion about graphics, figures & tables in LaTeX documents.
Post Reply
harakiri1976
Posts: 4
Joined: Tue Feb 03, 2009 6:53 am

Change font/size text in a Figure's label

Post by harakiri1976 »

Hi all!

I have a document with lots of figures. I am using \figure and \documentclass[a4paper,12pt]{report}. I would like to change the appearance of text below the pic, i.e, I would like to change in \label{fig:Figure 1} so that it appears "Figure 1" in bold. And, change its size for instance. I want \caption text' font remains the same. I tried to insert \bf and \textbf in \label but neither worked:S
Can somebody please help me?

Code: Select all

\begin{figure}[htp]
\centering
\includegraphics[width=0.6\textwidth]{Path/To/Picture/My_Picture.jpg}
\caption{This is my picture}
\label{fig:Figure1}
\end{figure}

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

Learn LaTeX easily with newest books:

The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis

The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more

LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis

User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Change font/size text in a Figure's label

Post by localghost »

The caption package does this job for you.

Code: Select all

\usepackage[font=small,labelfont=bf]{caption}
Take a look at the manual to learn more about this package.


Best regards
Thorsten¹
harakiri1976
Posts: 4
Joined: Tue Feb 03, 2009 6:53 am

Re: Change font/size text in a Figure's label

Post by harakiri1976 »

Thanks Thorsten!

I'm new to LaTeX.

Thanks a lot!

Nuno
Post Reply