Am 15.11.2012 um 09:07 schrieb MANUEL GONZALEZ SUAREZ <gonzalezsmanuel@uniovi.es>:


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