Am 15.11.2012 um 09:07 schrieb MANUEL GONZALEZ SUAREZ
<[email protected]>:
>
> Hello.
> I wish someone would help me "translate" this code LaTeX to ConTeXt. It is a
> command to do word by word translations, so that a word appears under another.
> Here's the code:
> \newcommand\dos[2]{\begin{tabular}{@{}c}{\textDidot{\footnotesize#1}}\\{\scriptsize\em#2}\end{tabular}}
\usemodule[ruby]
\defineruby[dos]
\starttext
Left \dos{middle}{middle text} right
\blank
Left \dos[alternative=bottom]{middle}{middle text} right
\blank
Left \dos[textstyle={\setcharactercasing[WORD]\tfxx}]{middle}{middle text} right
\stoptext
Wolfgang
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : [email protected] / 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
___________________________________________________________________________________