0

I have \ngtr in some math mode content, and though the VS Code extension LaTeX Workshop's preview-equation-on-hover functionality displays it correctly, I get an undefined control sequence error when trying to build it.

  • Many math symbols (including this one) are only defined by packages, and you have to load that package for its name to be recognized. – barbara beeton Jan 17 '22 at 01:30

1 Answers1

1

You need to include this in your preamble:

\usepackage{amssymb}