New answers tagged

0

Leading < characters are interpreted by lhs2TeX as shorthand for the spec environment (i.e. literate Haskell that should not be picked up by the compiler), as explained in chapter 3 of its usage guide. I was able to work around this by simply adding a leading space before the < on the production rule's left-hand side: \documentclass{article} ...


5

It is instructive to examine the exact definitions of \( and \) that are provided by the LaTeX kernel (contained in the file latex.ltx, version early 2016): \DeclareRobustCommand\({% \relax\ifmmode\@badmath\else$\fi}% \DeclareRobustCommand\){% \relax\ifmmode\ifinner$\else\@badmath\fi\else \@badmath\fi}% The main thing to note is that \( and \) act as ...



Top 50 recent answers are included