Article View: comp.text.tex
Article #11183Re: what use is a scaled point?
From: Donald Arseneau
Date: Tue, 12 Jan 1993 23:59
Date: Tue, 12 Jan 1993 23:59
25 lines
1443 bytes
1443 bytes
In article <1993Jan12.125543.23429@newssrv.edvz.univie.ac.at>, A8131DAL@vm.univie.ac.at (Peter Schmitt) writes... >>From: pflynn@ccvax.ucd.ie (Peter Flynn) >>\divide\lines by\baselineskip >> >>and you have the approximate number of lines in the box, because the >>calculations were done in sp's. >> > >Sorry, but I don't see what this has to do with the fact that TeX >internally calculates in sp: >height+depth / height of line >will always give the number of lines (approximately, if lines are >not fixed spaced) - regardless of the length unit used. Yes it gives a number (integer). But it is in a length register. So what length is it?? If the number is 5, the length is 5sp. Continuing, if you want to subsequently set \lines to have a minimum value of 2, \ifnum\lines<2 \lines=2sp \fi If you want to increment the line count, \advance \lines 2sp Donald
Technical Details
Message-ID:
<12JAN199315595227@msr.triumf.ca>Path:
arc1-ca.pugleaf.net!sparky!uunet!elroy.jpl.nasa.gov!sdd.hp.com!spool.mu.edu!yale.edu!yale!gumby!destroyer!cs.ubc.ca!unixg.ubc.ca!msr.triumf.ca!asndReferences:
<1993Jan12.125543.23429@newssrv.edvz.univie.ac.at>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!elroy.jpl.nasa.gov!sdd.hp.com!spool.mu.edu!yale.edu!yale!gumby!destroyer!cs.ubc.ca!unixg.ubc.ca!msr.triumf.ca!asnd From: asnd@msr.triumf.ca (Donald Arseneau) Newsgroups: comp.text.tex Subject: Re: what use is a scaled point? Date: 12 Jan 1993 15:59 PST Organization: TRIUMF: Tri-University Meson Facility Lines: 25 Distribution: world Message-ID: <12JAN199315595227@msr.triumf.ca> References: <1993Jan12.125543.23429@newssrv.edvz.univie.ac.at> NNTP-Posting-Host: msr.triumf.ca News-Software: VAX/VMS VNEWS 1.41