I wanted to find a simple way to made degree symbol ° and have tried textcomp and gensymb, but none of them works. I wanted to avoid using ^{\circ}, which isn't nice when you have a long document. I thought may be something easy can be achievable, e.g. \degree?
|
|
||||
|
Anything wrong with |
|||||||||||||||
|
|
Maybe it’s a good alternative to use
It also gives you the oportunity to set all numbers in the same style an change it globally if it’s requested, e. g. changing from period to comma: 1.234 --> 1,234 Edit: To type radians just use the
|
|||||||||||||||
|
|
I prefer this solution
because it also works in math mode.
(At least for me,
does not work, but
does. |
||||
|
|
|
Using answers from this question, I've had good results with the following code:
As your original question states that |
|||
|
|
protected by Martin Scharrer♦ Jan 14 at 11:50
This question is protected to prevent "thanks!", "me too!", or spam answers by new users. To answer it, you must have earned at least 10 reputation on this site.

\degreeusing\newcommand{\degree}{$^{\circ}$}or better (using packagesxspaceandamsmath)\newcommand{\degree}{\ensuremath{{}^{\circ}}\xspace}. However, lockstep's answer might still be preferable. – Martin Scharrer♦ Jul 1 '11 at 21:24