TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

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

How do you create spaces between Images? I have tried using the commands // after paragraphs that precede images but this only produces a space between the paragraph and the image. I have also used // between images but this caused the error: ! LaTeX Error: There's no line here to end.

Just give me some commands to copy and paste to separate images. I have minimal knowledge of programming I just want to be able to separate the images.

share|improve this question
You need vertical and horizontal spaces, don't you? You can add a margin around an image using the adjustbox package. See Padding left, top, right and bottom in LaTeX, but you can also use the margin=... key with \includegraphics when loading adjustbox with the export option. – Martin Scharrer Mar 29 '13 at 12:43
What in text command do I need to create said margin between images? – Brenton Horne Mar 29 '13 at 12:46

You should avoid using \\ at all inside a document other than ending table rows. An image has no special spacing in LaTeX it is just exactly like a big letter so you can space it the same way.

If you want to put one above the other, put them in separate paragraphs with a blank line between them. As for any paragraphs you can either set \parskip length to control the vertical space or just explicitly use \vspace to ass extra space.

To separate two images horizontally, again just as for separating two letters, use \hspace

share|improve this answer

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.