home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.text.tex
- Path: sparky!uunet!newsstand.cit.cornell.edu!news
- From: Tim Larkin <tsl1@cornell.edu>
- Subject: Re: HELP on LaTeX macro
- Message-ID: <1992Nov20.195547.9694@mail.cornell.edu>
- X-Xxdate: Fri, 20 Nov 92 20: 00:07 GMT
- Sender: news@mail.cornell.edu
- Nntp-Posting-Host: 128.253.27.134
- Nntp-Posting-User: tsl1@cornell.edu
- Organization: Cornell University
- X-Useragent: Nuntius v1.1.1d7
- References: <1992Nov19.112431.7525@inesc.pt>
- Date: Fri, 20 Nov 1992 19:55:47 GMT
- Lines: 18
-
- In article <1992Nov19.112431.7525@inesc.pt> Nuno Joao Mamede,
- njm@thor.inesc.pt writes:
- >How can I define such a loop in LaTeX (TeX)?
-
- Why not use the \loop command? See page 217 of the TeXBook. For your
- example,
-
- \def\manylines#1{%
- \count0=#1%
- \loop\ifnum\count0>0 \oneline\advance\count0 by -1\repeat
- }
-
- Tim Larkin
- Federal Nutrition Laboratory
- Tower Road
- Ithaca, New York
- tsl1@cornell.edu
- 607-255-7008
-