I want to use the \squareulblack
symbol (or others) from the unicode-math
package, but I have to keep compiling with pdfLaTex (since the document has evolved always using this compiler and it would be a paint to now make it work with XeLaTex).
How can I do this?
Best Answer
The symbol is provided by
stix2
, but you probably don't want to change your fonts to the Times based STIX2 font.In
stix2.sty
we findso we know that we need to find the definition of the math symbol font
arrows3
so we need to declare the
LS2
encodingThe
\noaccents@
declaration is irrelevant for our purposes. Now we can import the symbols. However, the first attempt does not really mix with\square
.The symbols are larger and don't sit on the baseline. Let's fix the issues.
The result is much better, isn't it?
Also the previous version scales well in the other math styles.