home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / text / tex / 14570 < prev    next >
Encoding:
Text File  |  1993-01-03  |  620 b   |  24 lines

  1. Newsgroups: comp.text.tex
  2. Path: sparky!uunet!haven.umd.edu!wam.umd.edu!joel
  3. From: joel@wam.umd.edu (Joel M. Hoffman)
  4. Subject: Boolean operators for TeX's \if constructions?
  5. Message-ID: <1993Jan3.150933.3089@wam.umd.edu>
  6. Sender: usenet@wam.umd.edu (USENET News system)
  7. Nntp-Posting-Host: rac2.wam.umd.edu
  8. Organization: University of Maryland, College Park
  9. Date: Sun, 3 Jan 1993 15:09:33 GMT
  10. Lines: 12
  11.  
  12. Is there any way to incorporate boolean operators into TeX's \if
  13. constructions?  What I'd like to do is something like
  14.  
  15.     \if\a\b \and \if\a\c \or \if\a\d
  16.         \dosomething
  17.     \else
  18.         \dosomethingelse
  19.     \fi
  20.  
  21. Any ideas?
  22.  
  23. -Joel
  24.