Path: utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!uwm.edu!ogicse!ucsd!ucbvax!hplabs!hplabsz!sartin From: sartin@hplabsz.HPL.HP.COM (Rob Sartin) Newsgroups: comp.lang.c++ Subject: Re: Writing `C++' in LaTeX Message-ID: <4866@hplabsz.HPL.HP.COM> Date: 23 Feb 90 18:35:43 GMT References: <25E437AD.25614@paris.ics.uci.edu> Reply-To: sartin@hplabs.hp.com (Rob Sartin) Organization: Hewlett-Packard, Software Technology Lab Lines: 32 I just asked the same question on an HP internal group. I don't think the answers qualify as confidential information :-) ---- From: one person at HP Well, we've had pretty good results with the following macro: \def\CC{\hbox{C\hspace{-.05em}\raisebox{.4ex}{\tiny\bf ++}}} We've been using it in all our LaTeX documents - just stick it in before the \documentstyle command. Don't forget to enter a trailing backslash \CC\ if a space is supposed to follow it. Someone with greater intestinal fortitude could make it size-independent. The macro looks yucky in the title of a document. Perhaps there shoudl be two macros - \CC and \titleCC. ---- From: another person at HP I like the following macro: \def\Cpp{C\raise.22ex\hbox{+}\raise.22ex\hbox{+}} It works well with most font styles and sizes. ---- I haven't yet tried either. Rob Sartin internet: sartin@hplabs.hp.com Software Technology Lab uucp : hplabs!sartin Hewlett-Packard voice : (415) 857-7592