-
-
Save stanislaw/8b99534197c4351d29ec264d506dede4 to your computer and use it in GitHub Desktop.
Eliminate white space around wrapfigure environments in LaTeX.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
%% The typical answer for how to eliminate white space in wrapfigure doesn't work for me (I'm using a SIGGRAPH style sheet): | |
%% http://tex.stackexchange.com/questions/111393/too-much-space-around-wrap-figure | |
%% Instead, let's just offset the image. | |
%% The horizontal white space is \columnsep and the vertical white space is \intextsep. | |
%% Subtract them from the column width and offset the image accordingly. | |
%% How to move an image: | |
%% http://tex.stackexchange.com/questions/107340/how-to-shift-graphics-adjust-placement-of-figure-with-includegraphics | |
\begin{wrapfigure}[11]{R}{1in - .75\columnsep} | |
%\centering | |
\vspace{-\intextsep} | |
\hspace*{-.75\columnsep}\includegraphics[width=1in]{path/to/image} | |
\end{wrapfigure} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment