Thanks for answers, friends!

I don't have ruby installed, so I try Mojca solution.

It works perfectly (thanks!), except I need to wrap the lyrics into the 'lines' envinroment. To achieve this, I need to replace \setupwhitespace with \setupinterlinespace and adjust raisebox amount.

\starttext

\def\Ch#1{%

\strut\hbox to 0pt{\raisebox{0.45\baselineskip}\hbox{\bf#1}\hss}}

\setupinterlinespace[big]

\startlines

\Ch{E}Cvet dišeč z \Ch{H7}jutrom se od\Ch{cis}pre,

\Ch{A}sonce od\Ch{E}pira o\Ch{H}či.

\Ch{E}Polje z vetrom v \Ch{H7}plesu ziblje \Ch{cis}se.

Gos\Ch{E}pod, pov\Ch{H}sod vidim \Ch{E}Te.

\stoplines

\stoptext


What do you mean talking about optimization? )


Regards,
Vyatcheslav
___________________________________________________________________________________
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
___________________________________________________________________________________

Reply via email to