home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.text.tex
- Path: sparky!uunet!wupost!udel!rochester!cornell!raman
- From: raman@cs.cornell.edu (T. V. Raman)
- Subject: Help writing a macro that expands to \verb
- Message-ID: <1992Sep1.123134.7107@cs.cornell.edu>
- Summary: How: \def\term#1{\verb|#1|}
- Keywords: Macro \verb Latex
- Organization: Cornell Univ. CS Dept, Ithaca NY 14853
- Date: Tue, 1 Sep 1992 12:31:34 GMT
- Lines: 16
-
-
- Hi!
-
- I would like to have a macro of the following type:
- \term#1 which expands to \verb|#1| but do not know how to write it.
-
- Clearly \def\term#1{\verb|#1|} is not the solution.
-
- Thanks,
-
- --Raman
- --
- T. V. Raman <raman@cs.cornell.edu>Tel: (607)255-9202 R 272-3649
- Office: 4116 Upson Hall,
- Department of Computer Science, Cornell University Ithaca NY 14853-6201
- Res: 226 Bryant Avenue Ithaca NY 14850
-