home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / text / tex / 10759 < prev    next >
Encoding:
Text File  |  1992-09-01  |  832 b   |  28 lines

  1. Newsgroups: comp.text.tex
  2. Path: sparky!uunet!wupost!udel!rochester!cornell!raman
  3. From: raman@cs.cornell.edu (T. V. Raman)
  4. Subject: Help writing a macro that expands to \verb
  5. Message-ID: <1992Sep1.123134.7107@cs.cornell.edu>
  6. Summary: How: \def\term#1{\verb|#1|}
  7. Keywords: Macro \verb Latex
  8. Organization: Cornell Univ. CS Dept, Ithaca NY 14853
  9. Date: Tue, 1 Sep 1992 12:31:34 GMT
  10. Lines: 16
  11.  
  12.  
  13. Hi!
  14.  
  15. I would like to have a macro of the following type:
  16. \term#1 which expands to \verb|#1| but do not know how to write it.
  17.  
  18. Clearly \def\term#1{\verb|#1|} is not the solution.
  19.  
  20. Thanks,
  21.  
  22. --Raman
  23. -- 
  24.    T. V. Raman <raman@cs.cornell.edu>Tel: (607)255-9202  R 272-3649
  25.                        Office: 4116 Upson Hall,
  26. Department of Computer Science, Cornell University Ithaca NY 14853-6201
  27.                 Res: 226 Bryant Avenue Ithaca NY 14850
  28.