Tag Archives: Degree Symbol

degree symbol

Degree Symbol in Latex

I want to be able to simply enter the degree symbol as ° in my source code. The German keyboard has a key that makes the source more readable. I’m using  pdfLaTeX    from TeXLive 2012, and this minimal reproduction example:

\documentclass{article}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{textcomp}
\begin{document}
Degree symbol in plain text works: 90° is a right angle.
Degree in math won’t work: $\cos(90°) = 0$.
\end{document}

Compile this file and I get a message

Missing character: There is no in font cmr10!

Where there actually means that a single byte cannot form a valid UTF-8 sequence, so it cannot be printed correctly on my console.

I have a rough idea, all of them come from, but I don’t know anything about how to solve this problem. I want to make \textdegree symbols that can also work in math mode, or let the engine replace some different commands to replace my unicode code point. Ideally, the command will choose the correct form based on whether the current mode is a math mode, I do n’t know how to check (yet). For the final result, it would be nice if the symbols look the same in both text and math mode OK, so I might look for a solution that will switch to text mode to output the symbol.

But maybe there is an easier way to do it all. Maybe there is even a package. Searching through previous posts, I found that there is a package unicode-math , but this does not work for pdfLaTeX, and the switching engine does not seem to be most of my applications Reasonable requirements of the program.

Latest recovery

1.The following code should work:

\documentclass{article}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{textcomp}
\usepackage{gensymb}
\begin{document}
Degree symbol in plain text works: 90° is a right angle.
Degree in math now work: $\cos(90\degree) = 0$.
\end{document}

2. That’s why you have the siunitx package:

\documentclass{article}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{textcomp}
\usepackage{siunitx}
\begin{document}
Degree symbol in plain text works: 90\si{\degree} (or \SI{90}{\degree}) is a right angle.
Degree in math would work: $\cos(90\si{\degree}) = 0$.
\end{document}
As cgnieder said, \ang it can also be used for this purpose:

\documentclass{article}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{textcomp}
\usepackage{siunitx}
\begin{document}
Degree symbol in plain text works: \ang{90} is a right angle.
Degree in math would work: $\cos(\ang{90}) = 0$.
\end{document}

3. I used ^{\circ} to get the degree notation in math mode. It works every time. I encountered compatibility issues with some other code / package combinations.

4. If you do not need to textcomp pack, remove it and change the utf8 inputencselection to utf8x be useful to you, just for me.

\documentclass{article}
\usepackage[utf8x]{inputenc}
\usepackage[T1]{fontenc}
%\usepackage{textcomp}
\begin{document}
Degree symbol in plain text works: 90° is a right angle.
Degree in math won’t work: $\cos(90°) = 0$.
\end{document}

5. I ended up using the gensymb answer from Papiro to get the \degree command, combining it with a line to tie it to ° a symbol inspired by comments to that answer:

\documentclass{article}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{textcomp}
\usepackage{gensymb}
\DeclareUnicodeCharacter{00B0}{\degree}
\begin{document}
Degree symbol in plain text still works: 90° is a right angle.
Degree in math now works as well: $\cos(90°) = 0$.
\end{document}

How to insert degree symbol in macOS (OS X[)

A reader recently asked how to use a degree symbol on macOS (OS X). Fortunately, typing a degree symbol on your Mac on macOS is as easy as typing on your iOS phone, which allows you to properly express both math and increasingly unstable weather.

There are two ways to enter the degree symbol in macOS, and both of them are system level functions, which means that they will work in any application on your Mac at almost any time (with some exceptions for protected text input fields).

But don’t worry, all of the most common applications in which you want to enter a degree symbol are supported, including web browsers, MacOS messages, Skype, email clients, and even journal applications such as the popular Day One

Degree symbol from the special character menu

You can insert a degree character (among many other characters) using the special character menu, now called the Emoji & Symbols menu in later versions of macOS, including macOS Mojave.

To access it, place the cursor where you want to insert the degree symbol, and then go to Edit> Special characters (or Edit> Emoji and characters ) in the menu bar. Alternatively, you can use the Control-Command-Space keyboard shortcut on your Mac keyboard.

A new window will appear displaying a series of special characters, characters and, for Yosemite, Emoji. Instead of manually viewing hundreds of available characters, simply enter “degree” in the search field to display the available degree characters.

As you can see in the screenshot above (based on OS X Yosemite 10.10.2), you have a choice of three options for degree symbols: one for degrees Fahrenheit and Celsius and a simple degree symbol. Just double-click on the character you want to paste it at the current location of the mouse cursor or trackpad. Frequently used symbols and symbols will be displayed under the search box, which will save you a little time in the future.

Keyboard Shortcut Key

The Special Characters menu described above gives you hundreds of useful characters, characters, and emoticons to choose from, but if you just need a simple degree symbol, this is not the fastest option. Instead, let’s use a keyboard shortcut.

While typing, hover over the place where you want to insert the degree symbol. Then use one of the following keyboard shortcuts:

Shift-Option-8: This key combination inserts the correct degree symbol (i.e., 72 °);
Option-K: This key combination inserts a small degree symbol, very similar to the actual degree symbol, but smaller (i.e., 72˚)

We are not sure if there is any significant difference between the symbols of large and small degree, when they are used in meteorological or mathematical contexts, but using any of them will most likely help you with this (see Note below). It should be noted that when using the special character menu approach described in the section above, a larger character is inserted.

How To Find The IPhone Degree Symbol On The IOS Virtual Keyboard

When Steve Jobs introduced the first iPhone, he lauded the device’s virtual keyboard as superior to then-prevalent physical keyboards thanks to its ability to dynamically change based on the needs of software. But just because the iPhone’s virtual keyboard is flexible, it doesn’t mean that certain symbols aren’t hard to find.
Once such example is the degree symbol, which is particularly relevant considering the crazy state of weather in recent months. While some apps, especially weather and math-based apps, put the degree symbol front and center, the standard iPhone keyboard layout hides it without much indication of where to find it.
To find the iPhone degree symbol, launch any app that brings up the virtual keyboard. Tap on the 123 modifier to bring up the numeric and symbols keyboard and tap and hold on the 0 (zero). After a brief delay, a pop-up will appear allowing you to choose the degree symbol. While continuing to hold, simply slide your finger or thumb over to the degree symbol until it’s highlighted in blue. Release to insert the symbol at your cursor’s location.
Note that while our screenshot demonstrates this feature in iOS 7, the degree symbol can be found via the same method on all supported versions of iOS and on all iDevices, including the iPad and iPod touch.

How to insert a degree symbol in Windows 10

As a Windows user, you may have noticed that many of the characters a user may need are not on the keyboard.One such symbol is a degree symbol . Many engineers or teachers may need a degree symbol at different points in time. Today we will look at how to use it in Microsoft Word in Windows 10.

Enter the degree symbol in Windows 10

It is worth noting that there are no major changes on the computer, so the level of risk is almost negligible, and you can continue it without any hesitation.

There are many ways to add a degree symbol in Windows 10. Some of these are:

  1. Using character cards.
  2. Using the character insert function in Microsoft Word.
  3. Create custom keyboard shortcuts in Microsoft Word.
  4. Use default keyboard shortcuts.
  5. Using third-party software.

1] Using a character map

degrees symbol for pc

Start by searching the Character Map in the Cortana search field, and then select the appropriate result.

Now find the degree symbol on the entire symbol map and press Select. Add a character to the text box at the bottom of the mini-window.

Now click Copy , it will be copied to the clipboard and paste it anywhere.

2] Using the character insert function in Microsoft Word

After opening Microsoft Word, click Paste , and then Symbol.

degree symbol in windows 10

A mini window will appear. Inside this, simply select the degree icon and finally click Insert.

This will add a degree icon to the position of your cursor.

3] Create custom keyboard shortcuts in Microsoft Word

To do this, you need to open the Symbol mini-window in Microsoft Word, as indicated in ” Using the” Insert Symbol “function in Microsoft Word.”

Then, after you have just selected a symbol, click on the button at the bottom of the window labeled Keyboard shortcut …

degree symbol

Another mini-window opens with the name Keyboard Settings.

You just need to press the key combination on the keyboard to trigger the degree symbol in Microsoft Word.

When done, click Assign and finally close the minimap.

4] Using default keyboard shortcuts

Some Windows computers offer a default keyboard shortcut to insert a degree character:

  • ALT + 0176
  • ALT + 248

Here you need to press and hold the ALT button , and then press and hold the buttons mentioned above only on the numeric keypad on the keyboard on the right side.

Another prerequisite is that Num Lock must be enabled.

5] Using third-party software

You can also refer to our post on how to quickly embed Unicode and special characters in documents using CatchCar, a third-party free software that does the same.