Hi, I've tried many ways to get my graph centered but I still do not find the way to do it. I've trid viewport, bounding box, etc. Any help greatly appreciated.
Javier
\begin{center}
\begin{figure}[htbp]
\includegraphics{myfigure}
\end{figure}
\end{center}
Graphics, Figures & Tables ⇒ centering graphics
NEW: TikZ book now 40% off at Amazon.com for a short time.
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
centering graphics
You are using the wrong sequence and commands.
Best regards
Thorsten¹
Code: Select all
\begin{figure}[!ht]
\centering
\includegraphics{myfigure}
\caption{My Figure}\label{fig:myfig}
\end{figure}
Best regards
Thorsten¹
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10