I'd like to make something like a songbook - just chords and lyrics. I have found several packages, but I also wanted to improve my TeXing skills by making my own commands/environmnets etc. Now I am struggling with this: I want to put chords above certain parts of lyrics, for example.
Gm
Remember when you were young,
Gb Bb
You shone like the sun.
Eb Dm Cm Bb F
Shine on you crazy diamond.
But I don't want to do this manually for maybe hundreds of songs. I'm hoping for a better way than counting the space between each two chords, something like this:
% ... TeX code
Eb\hspace*{XYpt}Dm\hspace*{XYpt}Cm\hspace*{XYpt}Bb\hspace*{XYpt}F
Shine on you crazy diamond.
% .. TeX code
or:
% .. TeX code
Eb\verb= =Dm\verb= =Cm\verb= =Bb\verb= =F
Shine on you crazy diamond.
% .. TeX code
I would be happy to find solution that would look like:
% .. TeX code
\chord{Eb}Shine\chords{Dm} y\chord{Cm}ou cr\chord{Bb}azy di\chord{F}amond
% .. TeX code
Maybe it looks more "messy", bud I think the result would be more precise. And as soon as I will find the solution to this problem, I will write some script in C or Python to format the songs for me.