[comp.lang.c++] Typesetting the name C++ in TeX.

beshers@cs.cs.columbia.edu (Clifford Beshers) (07/29/89)

When TeX typesets the name C++, the ++ comes out too large and
too low on the line.  Has this small point bothered anyone else,
and if so, what have you done about it?

--
-----------------------------------------------
Cliff Beshers
Columbia University Computer Science Department
beshers@cs.columbia.edu

leichter@CS.YALE.EDU (Jerry Leichter) (08/01/89)

In article <BESHERS.89Jul28142912@cs.cs.columbia.edu>, beshers@cs.cs.columbia.edu (Clifford Beshers) writes...
> 
>When TeX typesets the name C++, the ++ comes out too large and
>too low on the line.  Has this small point bothered anyone else,
>and if so, what have you done about it?
> 
The "++" has never seemed too big to me, but I agree that it's too low.  I
use the following TeX (or LaTeX) code, which looks a lot better to my eye:

	\def\CPP{C\raise.193ex\hbox{++}}

							-- Jerry

sechrist@hp-ses.SDE.HP.COM (Nancy Sechrist) (08/02/89)

I use LaTeX and

    \def\CC{\mbox{C\hspace{-.05em}\raisebox{.4ex}{\tiny\bf ++}}}

It's only my personal preference, but you might like to try it.

kenny@m.cs.uiuc.edu (08/03/89)

Or you can try my favorite:

	C{\tt ++}