I took a piece of code from here to indicate the steps taken in my software. However, while using $\triangleright$ it shows like this:
It didn't do that before so somewhere along the way I made some changes with unintended consequences. I wrote a bunch of packages and a document class to get here which I can't really share with you, so I hope it suffices to mention that I use XeLaTeX and the segoe ui font from here. I read here and there that it requires the latexsym package, but I didn't need that before.
EDIT: as I was writing the question I realized I could try to comment out the font selection, and I did, and it worked. So my question still stands and indeed it should suffice to mention that I use the segoe ui font as posted in that link.
ANOTHER EDIT: Using $\rhd$ instead works, but is kinda ugly. Are there other triangle-pointing-right symbols that I could use?


\trianglerightwas one of the basic characters – Steven Apr 08 '22 at 13:45