[Prev][Next][Index]

! in spec environment



------- Original Message

From: John Penix <jpenix@ece.uc.edu>
Date: Thu, 16 Feb 1995 08:08:15 -0500 (EST)
Subject: ! in spec environment

Hi.  I'm trying to print a ! inside the latex spec environment.  I
realise that it is a special character inside that style.  However, I
cannot figure out what you mapped the old meaning to.  Help!

Thank you.

John Penix               University of Cincinnati ECECS
jpenix@ece.uc.edu        Knowledge-Based Software Engineering Lab

------- Reply Message

From: lamport@pa.dec.com
Date: Thu, 16 Feb 95 13:57:55 -0800
Subject: Re: FWD: ! in spec environment

I think that

   \newcommand{\bang}{!}

in the preamble will make !bang! in a spec environment produce a !.
You might try it by running the following in a directory containing
larch.sty and checking the output.

Leslie

\documentstyle[larch]{article}
\newcommand{\bang}{!}
\begin{document}
\begin{spec}
Bang!bang!
\end{spec}
\end{document}

------- End of Messages