Re: How to move a picture to the left

Ulrike Fischer <[email protected]>
Newsgroups gmane.comp.tex.miktex
Message-ID <[email protected]>
Am Sun, 15 Dec 2013 23:42:24 -0800 (PST) schrieb Wu Zhang:

> Hi folks,
>   I am using the following code to import picture:
> 
> \hspace{-15mm} 
> \begin{center}
> \begin{figure}[!htb]
> \vspace*{-15mm} 
> \par
> \begin{center}
> %\epsfig{file=math.eps}%, scale=0.80,angle=0}\vspace*{-8mm}
> \includegraphics[scale=0.9]{results/may_sd_missing.pdf}\vspace*{-25mm} {}
> \vspace*{0mm}
> \end{center}
> \caption{All school districts of Ohio in 2010.}
> \label{ohsd}
> \end{figure}
> \end{center}
> 
> But the margin of the right is smaller than the left; I would like to move the picture about half of inch to the left. Could someone help me with that?

You are overdoing with all your center environments (which introduce
unwanted spaces) and your spacing commands are at the wrong places:

\begin{figure}[!htb]
 \centering 
 \hspace*{-0.5in}%
 \includegraphics[scale=0.9]{results/may_sd_missing.pdf}
 \caption{All school districts of Ohio in 2010.}
 \label{ohsd}
\end{figure}

Is there any way that I turn the picture and caption together?

Use sidewaysfigure from the rotating package:

\documentclass{article}
\usepackage{rotating}
\usepackage{lipsum}
\begin{document}
\lipsum[1-2]
\begin{sidewaysfigure}
\centering
\rule{0.9\textwidth}{4cm}
\caption{Landscape figure}
\end{sidewaysfigure}

\lipsum[1-2]
\end{document}


-- 
Ulrike Fischer 
http://www.troubleshooting-tex.de/


------------------------------------------------------------------------------
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.