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

I am using \hspace{-0.1mm} to ensure the image1 and image2 are right next to each other. Otherwise, when the pdf viewer is zoomed in, a blank vertical line is seen between the images. I wonder if there is a more logical way to ensure images are laid out right next to each other.

share|improve this question
Just use a % after the first image, without it a space is inserted – daleif Feb 21 '14 at 13:57
up vote 5 down vote accepted

The percent character comments the end of line that causes a space to be set in horizontal mode.

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.