Graphics, Figures & Tables ⇒ centering the figure and justifying its caption
centering the figure and justifying its caption
Regards
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
- 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: 10360
- 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