[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: a LaTeX question



On Sat, Sep 01, 2007 at 07:08:11AM -0500, Russell L. Harris wrote:

> * Richard Lyons <richard@the-place.net> [070901 06:21]:
> > Does anyone here use LaTeX.  Not a Debian question at all, but isn't it
> > possible to define a quantity, say a cash amount
> >     \def\yearly {12000}
> > and then have latex calculate from it to enter another figure, say
> >     \monthly=\yearly / 12
> > hoping to get the figure '1000' printed in the document by inserting
> > '\monthly'.
> > Obviously that is not correct markup, but does any wise person know how
> > to achieve that?
> 
> Look at the "calc" package.

Right, thanks.
> 
> If you do not have a copy of "A Guide to LaTeX" by Helmut Kopka &
> Patrick W. Daly, you need to get a copy.  It is by far the best LaTeX
> book, and the only one you likely shall need.  The 4th edition is the
> latest, but the 3rd edition is the one I use, and the 3rd edition has
> a better grade of paper.  ISBN 0-201-39825-7 for the 3rd edition.

I suppose I'll have to get a copy.  This is not the first time I have
seen that recommendation.  It is just that I prefer to use online
resources.  TeX/LaTeX seems unique in lacking a good online manual.

-- 
richard



Reply to: