home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / text / tex / 14606 < prev    next >
Encoding:
Internet Message Format  |  1993-01-04  |  2.3 KB

  1. 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
  2. From: ABARROS@lshtm.ac.uk (Aluisio J D Barros)
  3. Newsgroups: comp.text.tex
  4. Subject: Excluding text in TeX/LaTeX - summary
  5. Message-ID: <MAILQUEUE-101.930104142139.416@mail.lshtm.ac.uk>
  6. Date: 5 Jan 93 00:57:27 GMT
  7. Organization: London of School Of Hygiene
  8. Lines: 47
  9. X-Gateway-Source-Info: Mailing List
  10.  
  11. Thanks to you all! I received many many messages with suggestions.
  12. I'll summarize them in order to inform other interested people.
  13.  
  14. 1) The best way to comment out a block of text seems to be the
  15. COMMENT.STY style. I quote:
  16.  
  17. "Victor Eijkhout's comment.sty is what you are after.  in addition to
  18. allowing for commented ranges, it also allows you to have multiple
  19. versions of text in a document.  It is designed to work as a LaTeX
  20. style file or as a TeX macro -- examples of use are provided.
  21.  
  22. To retrieve the file via email, include:
  23.  SENDME STY.COMMENT
  24. in the body of a mail message to FILESERV@SHSU.BITNET
  25. (FILESERV@SHSU.edu). The file is available for anonymous ftp
  26. retrieval from Niord.SHSU.edu (192.92.115.8) in [FILESERV.STY] as
  27. STY.COMMENT.  This file is most likely available at all archival
  28. sites (i.e., as you are UK based, Aston is probably closer and
  29. quicker)."
  30.  
  31.  
  32. 2) The quicker and simpler way to exclude a block of text is to
  33. enclose it within \iffalse ... \fi. I quote again:
  34.  
  35. "The best solution should be to frame it with \iffalse...\fi because
  36. \if skips the unneeded brach very fast until it reachs the
  37. corresponding \fi.  Two things have to be observed:  1. There must be
  38. a corresponding number of curly braces, 2. \if...\fi constructions
  39. inside the ignored text must be balanced."
  40.  
  41.  
  42. That's it! Happy new year to you all.
  43.  
  44. Aluisio
  45.  
  46.  
  47. ==========================================================
  48. Aluisio J D Barros
  49. Maternal & Child Epidemiology Unit
  50. Epidemiology and Population Sciences
  51.  
  52.             LONDON SCHOOL OF HYGIENE AND TROPICAL MEDICINE
  53.                         Keppel Street, London WC1E 7HT, UK
  54.                               TEL: (+44 71)|(071) 927.2265
  55.                               FAX: (+44 71)|(071) 436.4230
  56.                                 EMAIL: ABARROS@LSHTM.AC.UK
  57. ==========================================================
  58.