I want to create a mathematical symbol as below.
This symbol should be exactly the same as the usual \angle
command (with the amsfonts
package) in terms of dimensions: it should not be wider or taller. It should have the same 'arc' as in \measuredangle
(but not its dimensions, since this is taller). And of course, it should be filled with gray: \color{gray}
(with the xcolor
package). I want to be able to use it in an equation like \(\filledangle ABC\)
, identical to how commands like \angle
are used. How can I do this? I have a sense that I would perhaps need to define a macro perhaps using tikz; but I have no clue where to start.
I can draw the figure by itself quite easily. Consider the following MWE:
\documentclass{article}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}
\draw[fill=gray] (0,0) -- +(45:2) arc (45:0:2) -- (0,0);
\draw (0,0)--(45:3) (0,0)--(0:3);
\end{tikzpicture}
\end{document}
This produces something similar to what I want, but I am not sure that this is the correct scale used in \angle
, nor do I know how to get this into the form of a command in math mode or how to get it to scale correctly.
P.S. This symbol should scale properly and be of the correct relative size to the math beside it; e.g. if I type \(x^{\filledangle ABC}\)
for whatever reason, the symbol should turn smaller accordingly. Thanks in advance!
MWE
. This will help us to have an head-start rather than starting from scratch!! – Raaja_is_at_topanswers.xyz Aug 20 '18 at 8:45