LaTeX forum ⇒ Graphics, Figures & Tables ⇒ How to centering a picture?

Information and discussion about graphics, figures & tables in LaTeX documents.
ohmp2007
Posts: 7
Joined: Fri Aug 01, 2014 3:07 pm

How to centering a picture?

Hi!

I try to solve a problem, but without any benefit! I have the code that you see below, with the command "centering" but it wont work. Everything i tried is not working, the picture starts from the left corner...

\begin{figure}[H]
\centering
\includegraphics[width=0.7\textwidth]{images/kurve_boehm.pdf}
\caption[Zeitliche Abhängigkeit der Kosten für Änderungen]{\itshape Gesamtkosten durch "Anderungen am Produkt in einem klassischen Entwicklungsprozess.}
\label{kurve boehm}
\end{figure}

Thank you!

LaTeXguide.org • LaTeX-Cookbook.net

Johannes_B
Site Moderator
Posts: 4183
Joined: Thu Nov 01, 2012 4:08 pm

How to centering a picture?

Looking at the code it should work as expected. There might be another reason not visible. Try to prepare a minimal working example.

Judging from the file name, you are a german (speaking) user, you are very welcome at TeXwelt where you can seek german help.

EDIT: The OP decided to take a look at texwelt. We'll come back with the solution/reason.
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.