Graphics, Figures & Tablesfigure position

Information and discussion about graphics, figures & tables in LaTeX documents.
Post Reply
wayne
Posts: 8
Joined: Wed Sep 01, 2010 10:46 am

figure position

Post by wayne »

Hi,

I have a document written in two columns. At some point, i include a figure over the two columns with figure*.
Unfortunately, the figure is not really centered but a bit shifted to the right.
Is there a way to control its position and shift it to the left?
Thanks!

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

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

localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

figure position

Post by localghost »

I can't comprehend the problem.

Code: Select all

\documentclass[11pt,a4paper,twocolumn,english]{article}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{babel}
\usepackage{blindtext}

\begin{document}
  \blindtext[5]

  \begin{figure*}[!ht]
    \centering
    \rule{0.75\textwidth}{0.5\textwidth}
    \caption{Dummy figure}\label{fig:dummy}
  \end{figure*}

  \blindtext[5]
\end{document}
You may enlighten me with a counterexample.


Thorsten
wayne
Posts: 8
Joined: Wed Sep 01, 2010 10:46 am

Re: figure position

Post by wayne »

Thanks but i would like to shift the figure a bit to the left. How should i do that?
cheers
User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Re: figure position

Post by localghost »

Perhaps you should first check if the image itself is not disarranged. In case of an external graphics file there may be superfluous white margins and the image needs to be cut.
wayne
Posts: 8
Joined: Wed Sep 01, 2010 10:46 am

Re: figure position

Post by wayne »

No I think the image is correct (no extra margin). Then, there is no way to tell latex to shift it?
User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

figure position

Post by localghost »

At the moment the problem is not comprehensible with this poor information. Please create a minimal working example (MWE) that shows the problem clearly and upload the concerned image file as attachment to the forum server.
Post Reply