New answers tagged

3

I used OPmac trick 0153, so I needed to define the \eapply macro only: \def\tmp#1{}\edef\nb{\expandafter\tmp\string\\} % \nb is normal backslash \def\luaescapestring#1{\etoksA #1{\end}} \def\etoksA#1#{\etokssB#1 {\end} } \def\etokssB#1 #2 {\etoksC#1\end \ifx\end#2\empty\expandafter\etoksD\else\space\fihere{\etokssB#2 }\fi} \def\etoksC#1{\ifx\end#1\...


3

you just need to put the anchor somewhere safe, here I attach it to the theorem header (which hasn't been typeset yet, it's hanging around in the box \@labels waiting for a paragraph to start). I added some page breaks so that it is easier to see what happens when you click on a link. \documentclass[12pt]{article} \usepackage{amsthm} \usepackage[...



Top 50 recent answers are included