\unexpanded\def\WordDef
{\dodoubleargument\doWordDef}
\def\doWordDef[#1][#2]%
{\dontleavehmode\hbox\bgroup
\setbox\scratchbox\hbox{#2}%
\raise\strutheight\hbox to
\wd\scratchbox{\hss\rotate[rotation=25]{\tfxx\color[red]#1}\hss}%
\hskip-\wd\scratchbox
\box\scratchbox
\egroup}
Thank you! I will wikify the examples with an explanation on the
syntax. However I would be interested in learning more about the bgrop,
dontleavehmode, raise etc. commands. The cont-eni manual uses them but
without explanation on their exact syntax and use cases.
--
* Otso Helenius
* Helsinki University, Faculty of Mathematics
* Aalto University, Faculty of Architecture
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://tex.aanhet.net
archive : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________