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 having trouble with 'sidewaysfigure'. It simply isn't recognized and says ' Missing number, treated as zero'

my code is

\setlength{\abovecaptionskip}{0.01pt} % Chosen fairly arbitrarily
\caption{Variables in \textbf{CD4}-dataset}

and my preamble

%   \usepackage{chemarrow}
%   \usepackage{array}
% indexing
\usepackage{float} % needs to be "fixed" by hyperref
\usepackage{placeins} % float placement, defines \FloatBarrier
\usepackage{titlesec, blindtext, color}

does anyone see why this isn't working for me??

share|improve this question

closed as too localized by lockstep, Thorsten, Stefan Kottwitz May 11 '13 at 13:33

This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, visit the help center.If this question can be reworded to fit the rules in the help center, please edit the question.

Welcome to TeX.sx! – texenthusiast Apr 9 '13 at 5:09
Welcome to TeX.sx! A tip: If you indent lines by 4 spaces or enclose words in backticks `, they'll be marked as code, as can be seen in my edit. You can also highlight the code and click the "code" button (with "{}" on it). – topskip Apr 9 '13 at 5:12
sidewaysfigure has no optional argument. However, create a complete example document which shows the error. With your preamble and your example code it works for me. – Herbert Apr 9 '13 at 6:36
Please always post a complete (small) document that shows the problem. Your preamble shows some strange things but nothing that would generate an error. don't load epsfig (use graphicx) don't load lscape and pdflscape don't load setspace twice no ned to load amsfonts as you load amssymb – David Carlisle Apr 9 '13 at 7:02
note that you might surprise yourself with \includegraphics[width=\paperwidth-3cm,height=\paperheight-3cm]{whatever} inside a sidewaysfigure environment; the width and height settings aren't changed inside a sidewaysfigure, so your settings should take account of the rotation: \includegraphics[width=\paperheight-3cm,height=\paperwidth-3cm]{whatever} – wasteofspace Apr 9 '13 at 11:22