🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.text.tex
Article #157

Re: How to make the "degree" symbol?

#157
From: Pierre Darmon
Date: Fri, 30 Oct 1992 12:58
17 lines
1002 bytes
GS>Well, the subject line says it all. I went through the whole book
GS>by Leslie Lamport and couldn't find this symbol. Do I have to use^O in order
GS>achieve that?

Here is what I use in TeX:

\def\degree{\ifmmode^\circ\else$^\circ$\fi}
\catcode`\.=\active \gdef.{\relax\degree}

The first line just defines \degree. The second one allows you to use the
ASCII degree symbol in your input files (ASCII 248 = .). You can use
either the control sequence or the character itself.

Pierre Darmon
acc1bbs!pierre.darmon@ssr.com
                                            
Technical Details
Message-ID: <4743.109.uupcb@ssr.com>
Path: arc1-ca.pugleaf.net!sparky!uunet!hotmomma!acc1bbs!pierre.darmon

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!hotmomma!acc1bbs!pierre.darmon
From: pierre.darmon%acc1bbs@ssr.com (Pierre Darmon) 
Newsgroups: comp.text.tex
Subject: Re: How to make the "degree" symbol?
Message-ID: <4743.109.uupcb@ssr.com>
Date: 30 Oct 92 12:58:00 GMT
Distribution: world
Organization: Advanced Computer Concepts BBS, New Rochelle, NY 914-654-1981
Reply-To: pierre.darmon%acc1bbs@ssr.com (Pierre Darmon) 
Lines: 17