home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!zaphod.mps.ohio-state.edu!uwm.edu!caen!destroyer!ncar!noao!arizona!arizona.edu!cerritos.edu!news.service.uci.edu!unogate!mvb.saic.com!info-tex
- From: ABARROS@lshtm.ac.uk (Aluisio J D Barros)
- Newsgroups: comp.text.tex
- Subject: Excluding text in TeX/LaTeX - summary
- Message-ID: <MAILQUEUE-101.930104142139.416@mail.lshtm.ac.uk>
- Date: 5 Jan 93 00:57:27 GMT
- Organization: London of School Of Hygiene
- Lines: 47
- X-Gateway-Source-Info: Mailing List
-
- Thanks to you all! I received many many messages with suggestions.
- I'll summarize them in order to inform other interested people.
-
- 1) The best way to comment out a block of text seems to be the
- COMMENT.STY style. I quote:
-
- "Victor Eijkhout's comment.sty is what you are after. in addition to
- allowing for commented ranges, it also allows you to have multiple
- versions of text in a document. It is designed to work as a LaTeX
- style file or as a TeX macro -- examples of use are provided.
-
- To retrieve the file via email, include:
- SENDME STY.COMMENT
- in the body of a mail message to FILESERV@SHSU.BITNET
- (FILESERV@SHSU.edu). The file is available for anonymous ftp
- retrieval from Niord.SHSU.edu (192.92.115.8) in [FILESERV.STY] as
- STY.COMMENT. This file is most likely available at all archival
- sites (i.e., as you are UK based, Aston is probably closer and
- quicker)."
-
-
- 2) The quicker and simpler way to exclude a block of text is to
- enclose it within \iffalse ... \fi. I quote again:
-
- "The best solution should be to frame it with \iffalse...\fi because
- \if skips the unneeded brach very fast until it reachs the
- corresponding \fi. Two things have to be observed: 1. There must be
- a corresponding number of curly braces, 2. \if...\fi constructions
- inside the ignored text must be balanced."
-
-
- That's it! Happy new year to you all.
-
- Aluisio
-
-
- ==========================================================
- Aluisio J D Barros
- Maternal & Child Epidemiology Unit
- Epidemiology and Population Sciences
-
- LONDON SCHOOL OF HYGIENE AND TROPICAL MEDICINE
- Keppel Street, London WC1E 7HT, UK
- TEL: (+44 71)|(071) 927.2265
- FAX: (+44 71)|(071) 436.4230
- EMAIL: ABARROS@LSHTM.AC.UK
- ==========================================================
-