2

How does one turn the circular degree symbol \textdegree

°

into an equilateral triangle degree symbol?

I am just very curious about this, I only know how to type up basic mathematics.

2 Answers 2

5

You can simple use ^ to make a triangle appear as a superscript:

\documentclass{article}

\begin{document}
    $15^\triangle$
\end{document}

enter image description here

or even smaller but requiring another package:

\documentclass{article}

\usepackage{mathabx}

\begin{document}
    $15^\smalltriangleup$
\end{document}

enter image description here

7
  • 1
    Thank you for your answer!
    – Alex
    Jun 6 at 19:51
  • 1
    Sure. What do you want to use it for? Jun 6 at 19:54
  • I was interested in an alternative symbol for the hypothetical scenario where one full turn is defined to be something other than 360 units.
    – Alex
    Jun 6 at 20:13
  • 2
    Note that mathabx redefines many math symbols. You may or may not want that.
    – Sandy G
    Jun 6 at 20:37
  • @Alex you mean like radians or gradians? Jun 7 at 11:53
3

I was interested in an alternative symbol for the hypothetical scenario where one full turn is defined to be something other than 360 units.

Besides using other fonts, you may also draw your own symbols and use them like chracters. The code below:

  • uses tikz and one of its libraries shapes.geometric, which provides a star shape
  • the star can have other than 5 points and can degrade into a pentagon with its default of 5 beams
  • to simplify use I introduced a shortcut \turn
  • inside it simply draws and rescales the star \tikz[scale=.5,transform shape]{\node[star,draw,star point height=7pt]{};}
  • to highlight some typographical effects the document simply repeats some text for the star and the triangle

res

\documentclass[10pt,a4paper]{article}

% ~~~ cfor reating visuals ~~~~~~~~~
\usepackage{tikz}
\usetikzlibrary{shapes.geometric}

% ~~~ shortcut ~~~~~~~~~~
\newcommand\turn[0]{\tikz[scale=.5,transform shape]{\node[star,draw,star point height=7pt]{};}}

% ~~~ document ~~~~~~~~~~~~~~~~
\begin{document}
    Some text using $15^{\turn}$. Some text using $15^{\turn}$. Some text using $15^{\turn}$. Some text using $15^{\turn}$. Some text using $15^{\turn}$. Some text using $15^{\turn}$. Some text using $15^{\turn}$. Some text using $15^{\turn}$. Some text using $15^{\turn}$. Some text using $15^{\turn}$. Some text using $15^{\turn}$. Some text using $15^{\turn}$.
    \bigskip
    
    Some text using $15^\triangle$. Some text using $15^\triangle$. Some text using $15^\triangle$. Some text using $15^\triangle$. Some text using $15^\triangle$. Some text using $15^\triangle$. Some text using $15^\triangle$. Some text using $15^\triangle$. Some text using $15^\triangle$. 
\end{document}

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .