Graphics, Figures & TablesWeird SS

Information and discussion about graphics, figures & tables in LaTeX documents.
Post Reply
lichfidlemming
Posts: 1
Joined: Fri Jul 15, 2011 2:40 pm

Weird SS

Post by lichfidlemming »

I wonder if someone could help me. I'm trying to insert two subfigures in a document. I've included subfig and put the pictures in using

Code: Select all

\begin{figure}[h!]
\centering
\subfloat[Picture 1]{\includegraphics[width=3ins]{pic 1}}
\subfloat[Picture 2]{\includegraphics[width=3ins]{pic 2}}
\caption{Two pictures}
\end{figure}
This has worked perfectly well except that the letters "SS" has been inserted just to the left of each of the pictures.

I'm not sure what's going on.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

Learn LaTeX easily with newest books:

The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis

The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more

LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis

5gon12eder
Posts: 126
Joined: Sun Feb 13, 2011 8:36 pm

Weird SS

Post by 5gon12eder »

Supposing you want the width to be 3 inches, write

Code: Select all

width=3in
If you put an additional 's' after it. LaTeX thinks you want to write an 's' before inserting the picture. Since you did it twice, it thinks you want to insert an 'ss'.

Best
I'm using pdfTeX, Version 3.1415926-1.40.10 (TeX Live 2009/Debian).
Post Reply