Re: [NTG-context] Putting chord names above the lyrics
Thanks, Wolfgang! Good toy ) \usemodule[ruby] \define[1]\chord{\dontleavehmode\ruby[position=before,align=left,inbetween={\blank[big]}]{}{#1}} \starttext \setupinterlinespace[big] \startlines \chord{E}Cvet dišeč z \chord{H7}jutrom se od\chord{cis}pre, \chord{A}sonce od\chord{E}pira o\chord{H}či. \chord{E}Polje z vetrom v \chord{H7}plesu ziblje \chord{cis}se. Gos\chord{E}pod, pov\chord{H}sod vidim \chord{E}Te. \stoplines \stoptext However, it was tricky to find out that "inbetween={\blank[big]}"key controls the distance between chords and lyrics. Can this distance be set more precisely? And "position=before" or "after" would better be "above" and "below", respectively. Don't you dare to change this? ) Regards, Vyatcheslav
Am 12.01.2010 um 23:51 schrieb Vyatcheslav Yatskovsky:
However, it was tricky to find out that "inbetween={\blank[big]}"key controls the distance between chords and lyrics. Can this distance be set more precisely?
You can use \blank[<dimen>] or \vskip xxpt or whatever else inserts a vertical space.
And "position=before" or "after" would better be "above" and "below", respectively. Don't you dare to change this? )
The names for keys/values are taken from ruby documentation on the W3C page, changing them to context is something i left out so far. I want to keep before and after but i can make above/below synonyms (just one extra line for each name). Wolfgang
participants (2)
-
Vyatcheslav Yatskovsky
-
Wolfgang Schuster