Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

degree symbol in LaTeX

20,453 views
Skip to first unread message

Dave Beeman

unread,
Jan 4, 1994, 3:11:13 PM1/4/94
to
Can someone tell me how to print the degree symbol in LaTeX?
(As in "10 degrees C".) I haven't been able to find an example
in any of my reference books.

Thanks for the help,
Dave Beeman - dbe...@dogstar.colorado.edu

R. Gubanski

unread,
Jan 4, 1994, 5:20:47 PM1/4/94
to
Dave Beeman (dbe...@dogstar.Colorado.edu) wrote:
This question occurs quite often - isn't it mentioned in the FAQ?
10 degrees Celsius can be written as 10$^\circ$ C.

R. Gubanski
: Can someone tell me how to print the degree symbol in LaTeX?

--
Dipl.-Chem Rainer Gubanski | Universitaet Hannover
E-Mail: nhch...@rrzn-user.uni-hannover.de | Inst. f. Techn. Chemie
Phone : (+49) 511 762-3057 | Callinstr 3
Fax : (+49) 511 762-3004 | D-30167 Hannover
** This Posting represents only my personal opinion **

Dan Cass

unread,
Jan 5, 1994, 8:45:08 AM1/5/94
to

Try this: $10^{\circ}& C
or put the C inside, with \rm: $10^{\circ} \, {\rm C}$
or make a macro like: \newcommand{\cent}[1]{$#1^{\circ}\,{\rm C}}
and invoke like \cent{10} to get 10 degrees C.
--Dan Cass

P Damian Cugley

unread,
Jan 5, 1994, 9:37:17 AM1/5/94
to
In article <1994Jan4.2...@newsserver.rrzn.uni-hannover.de>

nhch...@rrzn-user.uni-hannover.de (R. Gubanski) writes:
> Dave Beeman (dbe...@dogstar.Colorado.edu) wrote:
> This question occurs quite often - isn't it mentioned in the FAQ?
> 10 degrees Celsius can be written as 10$^\circ$ C.

Better (in plain TeX and LaTeX 2.09) as $10\,^{\circ}{\rm C}$ (the
space (\,) belongs between the ring and the number, not between the
ring and the "C". In using a thinspace rather than a paragraph space
I am following Knuth's lead; I think it looks better that way. You
certainly don't want a breakable space there.

In later versions of LaTeX you'd use $10\,^{\circ}\mathrm{C}$ or
something along those lines.

Damian

Dan Cass

unread,
Jan 5, 1994, 2:37:36 PM1/5/94
to
oops. the first one should be: $10^{\circ}$ C,
I mistyped & for $.
--Dan

J. Scott Stadler

unread,
Jan 5, 1994, 4:50:31 PM1/5/94
to
I would like to include PostScript figures in my LaTeX documents via
the 'psfig' macro. The macro will allow figures to be imported in
either a landscape or portrait mode, but LaTeX will always print the
caption and the figure number as if the figure was in portrait mode.
My question is how can LaTeX be told that a landscape figure is being
imported so that it can put the figure caption (but not the page
number) along the 11" side of the 8 1/2" x 11" page?

Thanks in advance,
Scott

Muhammad Masroor Ali

unread,
Jan 6, 1994, 7:54:08 PM1/6/94
to
\def\deg{\ifmmode^\circ\else$^\circ$\fi}
--

_____________________________________________________________

Zymurgy's Law of Volunteer Labor:
People are always available for work in the past tense.
_____________________________________________________________

mas...@human.ai.kyushu-u.ac.jp (Muhammad Masroor Ali)
Department of Computer Science and Communication Engineering
Faculty of Engineering, Kyushu University
Fukuoka, 812 JAPAN

0 new messages