TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm writing a document with a wrapfigure and its part looks like this:

  ~~~~~~~~   ________
~~~~~~~~~~  |        |
~~~~~~~~~~  | Figure |
~~~~~~~~~~  |________| 

How can I reduce the margin at the top of the figure by \baselineskip so that it looks like this:

~~~~~~       ________
  ~~~~~~~~  |        | 
~~~~~~~~~~  | Figure |
~~~~~~~~~~  |________|

Here is a MWE with a simplified figure:


  \begin{tikzpicture}[inner sep=0pt, outer sep=0pt]
    \node (A) {A};
    \node[above right] (B) at (A.north east) {B};
    \draw (A.south west)--(B.north east);
share|improve this question
@UlrikeFischer Thanks. I want to reduce only the top margin. – krnk Feb 15 '14 at 12:09
up vote 9 down vote accepted

Another simple solution would consist in making LaTeX believe the figure height is smaller than it really is, thanks to the optional arguments of the \raiseboxcommand. Here is a code:

        \documentclass[11pt, a4paper]{article}

        \usepackage{kantlipsum, wrapfig,graphicx}


        Here is some text to fill up the first line and give some typing practice to me.




enter image description here

share|improve this answer
This worked fine. Thanks! – krnk Feb 16 '14 at 1:49

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.