1

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.

\includegraphics[scale=1]{image1.png}\hspace{-0.1mm}
\includegraphics[scale=1]{image2.png}
  • 1
    Just use a % after the first image, without it a space is inserted – daleif Feb 21 '14 at 13:57
5
\includegraphics[scale=1]{image1.png}%
\includegraphics[scale=1]{image2.png}

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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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