4

I am looking for these symbols.

enter image description here

What package should I include?

1

2 Answers 2

8

You want stix package

\lrtriangle
\lrblacktriangle

Alternatively, you can use unicode-math with these commands:

\varlrtriangle
\lrblacktriangle
1

You can draw them:

\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}

enter image description here

You must log in to answer this question.

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