Graphics, Figures & Tables ⇒ centering the figure and justifying its caption
centering the figure and justifying its caption
Regards
NEW: TikZ book now 40% off at Amazon.com for a short time.
And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p
- Ijon Tichy
- Posts: 640
- Joined: Mon Dec 24, 2018 10:12 am
centering the figure and justifying its caption
\centering
inside a figure
environment does not center the caption. So a 

centering the figure and justifying its caption
Code: Select all
\begin{figure}[h]
\centering
\includegraphics[scale=0.30]{Figures/Figure}
\caption{XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX.}
\label{RelativeIntensity}
\end{figure}
- Ijon Tichy
- Posts: 640
- Joined: Mon Dec 24, 2018 10:12 am
centering the figure and justifying its caption
but neither aAmlaser wrote:Here is an example


- Stefan Kottwitz
- Site Admin
- Posts: 10335
- Joined: Mon Mar 10, 2008 9:44 pm
centering the figure and justifying its caption
I marked the code in your post. That can be done with the "Code" button when writing a post. The benefit is that it's much better readable and can be compiled to PDF in a single click. (even this incomplete snippet, with limited guessing auto-completion).
Also I would use the caption package, the settings are explained in the caption manual.
Stefan
centering the figure and justifying its caption
Actually, I'm new here and I couldn't express what I meant well.
Thanks again