Graphics, Figures & TablesText belwo Graphic

Information and discussion about graphics, figures & tables in LaTeX documents.
Post Reply
rockybalboa
Posts: 15
Joined: Wed Mar 04, 2009 12:33 am

Text belwo Graphic

Post by rockybalboa »

Hi, I've been trying to place a note below the graphic, but it is not neat if the text is too long. I would like it to be aligned to the left but centered in the graphic. Can someone help me please?

Code: Select all

\begin{figure}
\begin{center}
\caption{Myfig}
\includegraphics[scale=0.6] {fig}
This is a note This is a note
\end{center}
\end{figure}
Javier

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

Text belwo Graphic

Post by localghost »

Put the image and the note together into a minipage environment.

Code: Select all

\begin{figure}
  \centering
  \begin{minipage}{0.6\textwidth}
    \includegraphics[width=linewidth]{filename}\\[\medskipamount]
    This is a note.
  \end{minipage}
  \caption{Myfig}\label{fig:myfig}
\end{figure}
Adapt the width of the minipage environment to your needs.


Best regards
Thorsten
Post Reply