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 have a document with subfigures that are printed sideways with rotating. I need to scale that figure (with subfigures) to fit to page.

%% LyX 1.6.7 created this file.  For more info, see http://www.lyx.org/.
%% Do not edit unless you really know what you are doing.


%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% LyX specific LaTeX commands.
%% A simple dot to overcome graphicx limitations





\captcont{Gene Ontology analysis of cancer marked control overexpressed



\includegraphics[width=1\\linewidth,height=12cm]{\lyxdot \lyxdot /\lyxdot \lyxdot /fig/go_gprof/go_cncrUniqMrkdCntrlOvrExp}


\captcont{Gene Ontology analysis of cancer marked cancer overexpressed



\includegraphics[width=1\\linewidth,height=12cm]{\lyxdot \lyxdot /\lyxdot \lyxdot /fig/go_gprof/go_cncrUniqMrkdCncrOvrExp}




What variables should I use for width and height?

share|improve this question
up vote 1 down vote accepted

The figures begin used are probably long without rotating them, that is why rotating is used. Thus the width of the figures is what we what to control and we want the width to be equal to the height of the page (because we are rotating).

share|improve this answer
should be \textheight – Marin Jan 11 '11 at 19:28
true thanks @Marin – denilw Jan 12 '11 at 0:28

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.