20

In Unicode, I can find the symbol U+2314 SECTOR:

rendering from the official Unicode chart

Is there something similar in LaTeX?

2
  • 2
    You could draw it with pict2e, just a two \lines and one \arc. @Mico It's an unicode character. – Manuel May 19 '16 at 8:40
  • 5
    Oh no, the wi-fi signal is down! – Paulo Cereda May 20 '16 at 10:17
16
\usepackage{MnSymbol}

enter image description here

I just searched The Comprehensive LaTeX Symbol List and found it.

3
  • 4
    Note you will have to be in math mode: $\downslice$. – user1717828 May 19 '16 at 13:26
  • 8
    Good but with the same caveat @egreg pointed out to Thomas' answer above: MnSymbol will change a lot of other symbols too. – campa May 19 '16 at 13:32
  • Under MnSymbol, there are also \upslice, \leftslice, and \rightslice. – user45727 May 20 '16 at 9:58
20

This is an implementation using pict2e; the angle is 40 degrees.

\documentclass{article}
\usepackage{pict2e}

\makeatletter
\DeclareRobustCommand{\sector}{\mathord{\mathpalette\make@sector\relax}}
\newcommand{\make@sector}[2]{%
  \settoheight{\unitlength}{$#1x$}%
  \begin{picture}(1,1.06)
  \linethickness{.08\unitlength}
  \moveto(0.5,0)
  \lineto(0.842,1)
  \curveto(.6,1.08)(.4,1.08)(0.158,1)
  \closepath
  \strokepath
  \end{picture}%
}
\makeatother

\begin{document}

$A\sector x$

$A_{x\sector}$

\end{document}

enter image description here

15

There is a symbol from the fdsymbol package called \sector.

Also, depending on your level of desperation, you might want to look through The Comprehensive LATEX Symbol List.

enter image description here

1
  • 14
    Beware that fdsymbol changes almost all symbols. – egreg May 19 '16 at 11:17
8

The symbol drawn with pgf. The size (\SectorRadius), the angle (\SectorHalfAngle), and the line width (\SectorLineWidth) can be configured:

\documentclass{article}
\usepackage{pgf}

\newcommand*{\SectorRadius}{1ex}
\newcommand*{\SectorHalfAngle}{45}
\newcommand*{\SectorLineWidth}{.4pt}

\newcommand*{\sector}{%
  \begin{pgfpicture}
    \pgfpathmoveto{\pgforigin}%
    \pgfpathlineto{\pgfpointpolar{90-(\SectorHalfAngle)}{\SectorRadius}}%
    \pgfarc{90-(\SectorHalfAngle)}{90+\SectorHalfAngle}{\SectorRadius}%
    \pgfpathclose
    \pgfsetlinewidth{\SectorLineWidth}%
    \pgfusepath{stroke}%
  \end{pgfpicture}%
}
\begin{document}
  \begin{tabular}{lc}
    Symbol:   & \sector\\
    Bolder:   & \renewcommand*{\SectorLineWidth}{1pt}\sector\\
    Larger:   & \pgfmathsetlengthmacro\SectorRadius{height("h")}\sector\\
    Narrower: & \renewcommand*{\SectorHalfAngle}{30}\sector\\
    Wider:    & \renewcommand*{\SectorHalfAngle}{60}\sector\\
  \end{tabular}
\end{document}

Result with some variants

3
  • Great answer! Is there some way to rotate the symbol 90 clockwise? So it is oriented more like an angle symbol? – Mathemanic Jan 30 '20 at 22:01
  • @Mathemanic \rotatebox of package graphics/graphicx, or \sector can be redefined (instead of the more low-level pgfpicture commands, the rotated \sector can also be defined using tikzpicture. – Heiko Oberdiek Feb 10 '20 at 18:37
  • I tried using \rotatebox and it rotated successfully, but it ended up drawn strangely below the text line. – Mathemanic Feb 14 '20 at 1:33
3

You can find a font that has that Unicode symbol (see the list at http://www.fileformat.info/info/unicode/char/2314/fontsupport.htm), install it as a system font, load it using fontspec, and put that symbol directly in your .tex file. Compile with XeLaTeX or LuaLaTeX instead of pdfLaTeX.

\documentclass{article}

\usepackage{fontspec}
\setmainfont{Cambria}

\begin{document}
Here is the symbol: ⌔
\end{document}

enter image description here

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy