Putting chord names above the lyrics
![](https://secure.gravatar.com/avatar/30ef4fea8acc9a4c7a392675260cfcb9.jpg?s=120&d=mm&r=g)
Hello, How to put chord names above the lyrics? I have the following in mind \starttext \setupinterlinespace[big] \startlines \chord[C6]Pardon me, boy Is that the Chattanooga choo choo? Track twenty-nin\chord[Gadd9/D]e Boy, you can gimme a sh\chord[C6]ine \stoplines \setupinterlinespace[small] \stoptext which should look like C6 Pardon me, boy Is that the Chattanooga choo choo? Gadd9/D Track twenty-nine C6 Boy, you can gimme a shine Regards, Vyatcheslav
![](https://secure.gravatar.com/avatar/93131e1e6e2204bd13501390d768dbdc.jpg?s=120&d=mm&r=g)
Am 12.01.2010 um 03:48 schrieb Vyatcheslav Yatskovsky:
Hello,
How to put chord names above the lyrics? I have the following in mind
Do you need them at the begin of the line or can you live with a solution where the chord names are place at the same horizontal position where you inserted them in your text? Wolfgang
![](https://secure.gravatar.com/avatar/6114858d84b0f40cf715f12237ab67a1.jpg?s=120&d=mm&r=g)
On Tue, Jan 12, 2010 at 03:48, Vyatcheslav Yatskovsky wrote:
Hello,
How to put chord names above the lyrics? I have the following in mind
\starttext \setupinterlinespace[big] \startlines \chord[C6]Pardon me, boy
Is that the Chattanooga choo choo?
Track twenty-nin\chord[Gadd9/D]e Boy, you can gimme a sh\chord[C6]ine
I'm just copy-pasting some of old songs. (written LaTeX): The following LaTeX code worked perfectly: \def\Ch#1{% \makebox[0pt][l]{% \raisebox{0.4\baselineskip}{\bf #1}% }} \setlength{\baselineskip}{1.8\baselineskip}} \Ch{E}Cvet dišeč z \Ch{H7}jutrom se od\Ch{cis}pre, \par \Ch{A}sonce od\Ch{E}pira o\Ch{H}či. \par \Ch{E}Polje z vetrom v \Ch{H7}plesu ziblje \Ch{cis}se. \par Gos\Ch{E}pod, pov\Ch{H}sod vidim \Ch{E}Te. \par} In ConTeXt an approximately the same, but unoptimized solution could be \def\Ch#1{% \strut\hbox to 0pt{\raisebox{0.8\baselineskip}\hbox{\bf#1}\hss}} \setupwhitespace[big] and then the same lyrics. Mojca
![](https://secure.gravatar.com/avatar/93131e1e6e2204bd13501390d768dbdc.jpg?s=120&d=mm&r=g)
Am 12.01.2010 um 10:08 schrieb Mojca Miklavec:
In ConTeXt an approximately the same, but unoptimized solution could be
\def\Ch#1{% \strut\hbox to 0pt{\raisebox{0.8\baselineskip}\hbox{\bf#1}\hss}} \setupwhitespace[big]
and then the same lyrics.
Mojca
Or he can use my ruby module (where i should put the latest version to the garden) and define himself a command with \define[1]\Chord{\ruby[position=after,align=left]{}{#1}} text text tex\Chord{Chord}t text Wolfgang
participants (3)
-
Mojca Miklavec
-
Vyatcheslav Yatskovsky
-
Wolfgang Schuster