[Tugindia] Could we able to increase the default dimension?
Radhakrishnan CV
cvr at river-valley.org
Mon Sep 29 12:01:48 CEST 2003
>>>>> "Baskaran" == Baskaran K <baskaran at sps.co.in> writes:
[...]
Baskaran> The caption text is one page; less than a4paper. We use
Baskaran> one style file for copy editing purpose, so the point
Baskaran> size of caption is 14pt/16pt.I find the dimension of
Baskaran> caption, if the width of the caption less than textwidth
Baskaran> then the caption is centered, otherwise the caption is
Baskaran> like a paragraph. So first i find the dimension by
Baskaran> \setbox0=\hbox{caption}
\setbox0=\vbox{<whatever>}
\ifdim\ht0>\fontdimen6\font
\typeout{Box has more than one line}
\else
\typeout{Box has single line}
\fi
This could save you from the \maxdimen tragedy.
Radhakrishnan
More information about the tugindia
mailing list