Jump to content

Degree symbol: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
→‎Encoding: separated lookalikes from the true degree sign
Line 16: Line 16:


==Encoding==
==Encoding==
The degree sign is included in Unicode as {{unichar|00B0|degree sign|nlink=Degree symbol|html=}}.
Unicode characters similar in appearance include:


* {{unichar|00B0|degree sign|nlink=Degree symbol|html=}}
For use with [[kanji]] there are also code points for {{unichar|2103|Degree Celsius|html=}} and {{unichar|2109|Degree Fahrenheit|html=}}.

* {{unichar|00ba|masculine ordinal indicator|nlink=Masculine ordinal indicator|html=}}<br>The normal degree sign is represented by a uniform circle and is never underlined but the masculine ordinal indicator is represented by the letter o. The o may be oval or elliptical, can have a varying stroke width and may also be underlined. Further the meaning is a somewhat different one.
The degree character was missing from the basic 7-bit [[ASCII]] set of 1963, but was introduced in the 1987 [[Latin-1]] extension. The code point in [[CP437]] etc. is 0xF8 (248 decimal).

In the commonly used 8-bit character set [[ISO/IEC 8859-1|ISO-8859-1]] and its extension [[Windows-1252|CP1252]] the character is found at table position 0xB0 (176 decimal).

== Lookalikes ==
Other characters with similar appearance but different meanings include:
* {{unichar|00ba|masculine ordinal indicator|nlink=Masculine ordinal indicator|html=}} (superscript letter used in abbreviating words; varies with the font and sometimes underlined)
* {{unichar|02da|modifier letter ring above|html=|nlink=Modifier letter ring above}} (standalone)
* {{unichar|02da|modifier letter ring above|html=|nlink=Modifier letter ring above}} (standalone)
** {{unichar|030a|ring above|cwith=&#x25cc;|html=|nlink=Ring (diacritic)}} (applied to a letter)
** {{unichar|030a|ring above|cwith=&#x25cc;|html=|nlink=Ring (diacritic)}} (applied to a letter)
Line 25: Line 32:
* {{unichar|2070|superscript zero|html=}}
* {{unichar|2070|superscript zero|html=}}
* {{unichar|2218|ring operator|html=|nlink=Composition operator}}
* {{unichar|2218|ring operator|html=|nlink=Composition operator}}

There are additional code points for {{unichar|2103|Degree Celsius|html=}} and {{unichar|2109|Degree Fahrenheit|html=}}.

The degree character was missing from the basic 7-bit [[ASCII]] set of 1963, but was introduced in the 1987 [[Latin-1]] extension. The code point in [[CP437]] etc. is 0xF8 (248 decimal).

In the commonly used 8-bit character set [[ISO/IEC 8859-1|ISO-8859-1]] and its extension [[Windows-1252|CP1252]] the character is found at table position 0xB0 (176 decimal).


==Keyboard entry==
==Keyboard entry==

Revision as of 17:07, 9 August 2013

The degree symbol (°) is a typographical symbol that is used, among other things, to represent degrees of arc (e.g. in geographic coordinate systems), hours (in the medical field), or degrees of temperature. The symbol consists of a small raised circle, historically a zero glyph.

In Unicode it is encoded at U+00B0 ° DEGREE SIGN (&deg;).

History

The first known recorded modern use of the degree symbol in mathematics is from 1569[1] where the usage clearly shows that the symbol is a small raised zero, to match the prime symbol notation of sexagesimal subdivisions of degree such as minute , second , and tertia ‴ which originates as small raised Roman numerals.

Typography

In the case of degrees of arc, the degree symbol follows the number without any intervening space.

In the case of degrees of temperature, two scientific and engineering standards bodies (BIPM and the U.S. Government Printing Office) prescribe printing temperatures with a space between the number and the degree symbol, as in 10 °C.[2][3] However, in many works with professional typesetting, including scientific works published by the University of Chicago Press or Oxford University Press, the degree symbol is printed with no spaces between the number, the symbol, and the Latin letters "C" or "F" representing Celsius or Fahrenheit, respectively (as in 10°C).[4] This is also the practice of the University Corporation for Atmospheric Research, which operates the National Center for Atmospheric Research.[5] Others put a space between the degree symbol and the letter (10° C), which is probably no longer recommended by any of the major style guides. Use of the degree symbol to refer to temperatures measured in kelvins (symbol: K) was abolished in 1967 by the 13th General Conference on Weights and Measures (CGPM). Therefore, the triple point of water, for instance, is correctly written today as simply 273.16 K. The SI fundamental temperature unit is now "kelvin" (note the lower case), and no longer "degree Kelvin".

Encoding

The degree sign is included in Unicode as U+00B0 ° DEGREE SIGN (&deg;).

For use with kanji there are also code points for U+2103 DEGREE CELSIUS and U+2109 DEGREE FAHRENHEIT.

The degree character was missing from the basic 7-bit ASCII set of 1963, but was introduced in the 1987 Latin-1 extension. The code point in CP437 etc. is 0xF8 (248 decimal).

In the commonly used 8-bit character set ISO-8859-1 and its extension CP1252 the character is found at table position 0xB0 (176 decimal).

Lookalikes

Other characters with similar appearance but different meanings include:

Keyboard entry

Some computer keyboard layouts, such as the QWERTZ layout as used in Germany, Austria and Switzerland, and the AZERTY layout as used in France and Belgium, have the degree symbol available directly on a key. But the common keyboard layouts in English-speaking countries do not include the degree sign, which then has to be input some other way. The method of inputting depends on the operating system being used.

On the Colemak keyboard layout, one can press AltGr+\ followed by D to insert a degree sign.

With Microsoft Windows, there are several ways to make the degree symbol:

  • One can type Alt+248 or Alt+0176 - Note: The NumLock must be set first; on full size keyboards, the numeric keypad must be used; on laptops the virtual numeric keypad must be used. Note: Alt+0186 is often cited as the same degree symbol, but is actually a masculine ordinal indicator.
  • The Character Map tool also may be used to obtain a graphical menu of symbols.
  • The US-International English keyboard layout creates the degree symbol with AltGr+⇧ Shift+:

In Microsoft Office and similar programs, there is often also an Insert menu with an Insert Symbol or Symbol command that brings up a graphical palette of symbols to insert, including the degree symbol.

In the Mac OS operating system, the degree symbol can be entered by typing Opt+⇧ Shift+8. One can also use the Mac OS character palette, which is available in many programs by selecting Special Characters from the Edit Menu, or from the Input Menu (flag) icon on the menu bar (enabled in the International section of the System Preferences).

In iOS, the degree symbol is accessed by pressing and holding 0 and dragging your finger to the degree symbol. This procedure is the same as entering diacritics on other characters.

In LaTeX, the packages gensymb or textcomp that provides the commands \degree or \textdegree, respectively. In the absence of these packages one can write the degree symbol as ^{\circ} in math mode. In other words, it is written as the empty circle glyph \circ as a superscript.

In Linux operating systems such as Ubuntu, this symbol may be entered via the Compose key followed by o, o. Some keyboard layouts print this symbol upon pressing AltGr+⇧ Shift+0 (once or twice, depending on specific keyboard layout), and, in programs created by GTK+, one can enter Unicode characters in any text entry field by first pressing Ctrl+Shift+U+Unicode, regardless of keyboard layout. For the degree symbol, this is done by entering Ctrl+⇧ Shift+UB0.

See also

References

  1. ^ *Cajori, Florian (1993) [1928-1929], A History of Mathematical Notations, Dover Publications, ISBN 0-486-67766-4
  2. ^ The International System of Units (PDF) (8th ed.), Bureau International des Poids et Mesures, 2006
  3. ^ Style Manual (PDF) (30th ed.), United States Government Printing Office, 2008
  4. ^ Chicago Manual of Style (– Scholar search) (15th ed.), 2006 {{citation}}: |first= missing |last= (help); Check |first= value (help); External link in |format= (help) [dead link]
  5. ^ UCAR, UCAR Communications Style Guide, retrieved 2007-09-01