Take a look at the VERY poorly documented program and its helpers Btex. Also see how the TitleTex, Title is made (it uses Btex as well).


my home page