Elie:<br><br>I once wrote a package about adding code to token
registers, typicaly \everypar, \everymath, ... Surely one only among
many existing solutions. The concept is similar to adding functions to
a callback, so here are a few ideas that may be usefull for you:<br>
<br>I wrote \fornexttokl and \fornexttokr (left and right). In this
case one usually used left (i.e., fist executed). It is normally clear
from what you are adding whether it has to go at the left or at the
right.<br>I also implemented a command that allows to remove what you
added at some point before, whitout interfering with code that might
have been added since you added your&#39;s. (As yet nobody has pointed this
problem).<br>
<br>Happy coding<br><br>--Javier A.