How to make a symbol like Unicode Character 'WHITE VERTICAL RECTANGLE' (U+25AF) in LaTeX?
I tried this:
\documentclass{article}
\usepackage{stix}
\begin{document}
$a \vrectangle b $
\end{document}
– it works, but makes my PDF change its look entirely (which is uglier than usual).
I also tried to adapt the \newcommand answers from this question, but failed.
Context
This symbol is needed to typeset a paper about Communicating Sequential Processes (CSP). According to my professor, this symbol is read as "fetbar" (misspelling of "fat bar") and is used to signify choice by channel. Like this:
MACHINE = (coinslot.$5 → (tea_button.press → hatch.tea → MACHINE ▭ icetea_button.press → hatch.icetea → MACHINE ) )
(But instead of horizontal white rectangle, should have a vertical one.)


tikzor primitives. – Oleg Lobachev Dec 18 '19 at 08:00