答案1
答案2
你可以画出它们:
\documentclass{article}
\usepackage{xparse,l3draw,amsmath,amssymb}
\ExplSyntaxOn
\NewDocumentCommand{\whitetriangle}{}
{
\mathord{ \text { \sukan_triangle:n { stroke } } }
}
\NewDocumentCommand{\filledtriangle}{}
{
\mathord{ \text { \sukan_triangle:n { fill } } }
}
\cs_new_protected:Nn \sukan_triangle:n
{
\hspace{0.1em}
\draw_begin:
\draw_linewidth:n {0.1ex}
\draw_join_round:
\draw_path_moveto:n { 0.0em, 0.0em }
\draw_path_lineto:n { 0.7em, 0.0em }
\draw_path_lineto:n { 0.7em, 0.7em }
\draw_path_close:
\draw_path_use_clear:n { #1 }
\draw_end:
\hspace{0.1em}
}
\ExplSyntaxOff
\begin{document}
This is an example $\whitetriangle+\filledtriangle+\square$
At reduced sizes $\scriptstyle\whitetriangle+\filledtriangle$
and $\scriptscriptstyle\whitetriangle+\filledtriangle$
\end{document}