[texhax] Before and After Display Hooks

Vafa Khalighi vafa018 at gmail.com
Fri Apr 29 15:40:53 CEST 2011


There is \everydisplay primitive but how can you have something before
display and something after display. I mean can you define
\beforeeveryDisplay and \aftereverydisplay hooks? See this example:

start
$$1+2=3$$
end

So I could have
\beforeeverydisplay{start}
\aftereverydisplay{end}
$$1+2=3$$

\beforeeverydisplay and \aftereverydisplay works for every single display
just like how \everydisplay works.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/texhax/attachments/20110429/9bdfb397/attachment.html>


More information about the texhax mailing list