Re: [NTG-context] Solution to a superscript problem?

2011-10-12 Thread Hans Hagen
On 12-10-2011 21:43, Otso Helenius wrote: Hello, I've been trying to come up with a few methods to add definitions to text with the help of the metafun and context manuals. The first method adds the definition as sort of a superscript on top of the word, and the second one marks multiple words

Re: [NTG-context] Solution to a superscript problem?

2011-10-12 Thread Otso Helenius
\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

Re: [NTG-context] Solution to a superscript problem?

2011-10-12 Thread Aditya Mahajan
On Wed, 12 Oct 2011, Hans Hagen wrote: On 12-10-2011 21:43, Otso Helenius wrote: Hello, I've been trying to come up with a few methods to add definitions to text with the help of the metafun and context manuals. The first method adds the definition as sort of a superscript on top of the word,