Re: calculating with TeX/LaTeX

2001-07-05 Thread David Z. Maze
Martin F Krafft <[EMAIL PROTECTED]> writes: MFK> how can you {add,multiply,negate,divide} two scalars in TeX/LaTeX? MFK> MFK> in a new command that i am writing (it places a \picture), i want to MFK> use one of the two arguments (width) and \linewidth or \textwidth to MFK> calculate the remaining

Re: calculating with TeX/LaTeX

2001-07-05 Thread Martin F. Krafft
also sprach Andrew Perrin (on Thu, 05 Jul 2001 11:34:25AM -0500): > Just glancing through the geometry.sty file, it looks like it's done with > lots of \addtolength and \setlength commands. that's where i am looking right now. that, and then there is \divide and \multiply, although i can't figure

Re: calculating with TeX/LaTeX

2001-07-05 Thread Andrew Perrin
Just glancing through the geometry.sty file, it looks like it's done with lots of \addtolength and \setlength commands. -- Andrew J Perrin - [EMAIL PROTECTED] - http://www.unc.edu/~aperrin Assistant Professor of Sociology, U of N

calculating with TeX/LaTeX

2001-07-05 Thread Martin F. Krafft
hi, how can you {add,multiply,negate,divide} two scalars in TeX/LaTeX? in a new command that i am writing (it places a \picture), i want to use one of the two arguments (width) and \linewidth or \textwidth to calculate the remaining horizontal space i have (for another picture). i know i can conv