diff --git a/bin/build.sh b/bin/build.sh index 7fbff1e..45822e7 100755 --- a/bin/build.sh +++ b/bin/build.sh @@ -3,7 +3,17 @@ mkdir -p ~/Library/texmf/tex/latex ln -s "`realpath tex`" ~/Library/texmf/tex/latex/ +input_file="`realpath "$1"`" + +output_file=$(\ + cat "$input_file" | \ + grep "\\\begin{song}" | \ + sed -E 's/.*title={([^}]*)}, band={([^}]*)}, year={([^}]*)}.*/\1 - \2 (\3)/' | \ + tr -d '\n' \ +) + pdflatex \ -interaction=nonstopmode \ -output-directory pdf \ - "`realpath "$1"`" + -jobname="$output_file" \ + "$input_file" diff --git a/songs/Daniel Johnston/Life In Vain.tex b/songs/Daniel Johnston/Life In Vain.tex new file mode 100644 index 0000000..42161f9 --- /dev/null +++ b/songs/Daniel Johnston/Life In Vain.tex @@ -0,0 +1,84 @@ +\documentclass{skrul-leadsheet} +\usepackage{layouts} +\setuplayouts +\trytopmargin{1000pt} +\usepackage{framed} + +\begin{document} +\trypaperwidth{10pt} + +%\pagediagram + + +\begin{song}{title={Life In Vain}, band={Daniel Johnston}, year={1993}, key={C}} + +\newenvironment{verse-tabular}{% +\begin{verse}\begin{tabular}[t]{@{}p{2.5in}l}}{\end{tabular}\end{verse}% +} + +\newcommand{\myinterlude}{% +\begin{interlude} +\begin{tabular}{@{}lllll} +|_{G} & |_{C} & |_{D} & |_{D} & | 2x \textit{with violin} +\end{tabular} +\end{interlude}% +} + +\begin{intro} +\begin{tabular}{@{}lllll} +|_{G} & |_{C} & |_{D} & |_{D} & | 2x +\end{tabular} +\end{intro} + +\begin{verse-tabular} +^{G}Don't want to ^{C}be free of hope ^{D} \space\space ^{D} & +^{G}And I'm at the ^{C}end of my rope^{D} \space\space ^{D} \\ +^{G}It's so toug^{C}h just to be a^{D}live ^{D} & +^{G}When I f^{C}eel like the living d^{D}ead ^{D} +\end{verse-tabular} + +\begin{chorus} +^{C} I'm giving it up so p^{G}lain, I'm living my life in ^{D}vain, and where am I ^{C}going to? \\ +^{C} I got to really ^{G}try, try so hard to get ^{D}by, and where am I ^{C}going to? ^{C} +\end{chorus} + +\myinterlude + +\begin{verse-tabular} +^{G}I don't know w^{C}here is up or d^{D}own \space\space ^{D} & +^{G}And there ain't ^{C}any love left ^{D}around ^{D} \\ +^{G}Every bo^{C}dy wearin' a ^{D}frown ^{D} & +^{G}Waiting for^{C} Santa to come to ^{D}town ^{D} \end{verse-tabular} + +\begin{chorus} +^{C} You're giving it up so ^{G}plain, you're living your lives in ^{D}vain, and where are you ^{C}going to? \\ +^{C} You've got to really ^{G}try, try so hard to get ^{D}by, and where are you ^{C}going to? ^{C} +\end{chorus} + +\myinterlude + +\begin{verse-tabular} +^{G}Flip ^{C}on your ^{D}TV ^{D} & +^{G}And try to make se^{C}nse out of that ^{D} ^{D} \\ +^{G}If we were^{C} all in the mo^{D}vies ^{D} & +^{G}Maybe we w^{C}ouldn't be so bor^{D}ed ^{D} +\end{verse-tabular} + +\begin{chorus} +^{C} We're giving it up so ^{G}plain, we're living our lives in ^{D}vain, and where are we g^{C}oing to? \\ +^{C} You gotta really t^{G}ry, try so hard to get b^{D}y, and where are you g^{C}oing to? ^{C} +\end{chorus} + +\begin{interlude} +\begin{tabular}{@{}lllll} +|_{G} & |_{C} & |_{D} & |_{D} & | +\end{tabular} +\end{interlude} + +\begin{outro} +^{G} Goodbye ^{C} ^{D} ^{D} \\ +^{G} Goodbye ^{C} ^{D*} +\end{outro} + +\end{song} +\end{document} diff --git a/songs/Guns 'N Roses/Patience.tex b/songs/Guns 'N Roses/Patience.tex index 098be3f..b6d07fa 100644 --- a/songs/Guns 'N Roses/Patience.tex +++ b/songs/Guns 'N Roses/Patience.tex @@ -1,11 +1,12 @@ \documentclass{skrul-leadsheet} +\renewcommand{\thefootnote}{\fnsymbol{footnote}} \begin{document} \begin{song}{title={Patience}, band={Guns 'N Roses}, year={1989}, key={C}} \begin{intro} -\begin{tabular}{lllllllllll} -|_{C} & |_{G} & |_{A} & |_{D} & | & & |_{C} & |_{G} & |_{A} & |_{D} & | \\ +\begin{tabular}[t]{@{}lllllllllll} +|_{C} & |_{C} & |_{G} & |_{G} & | & & |_{A} & |_{A} & |_{D} & |_{D} & | 2x \\ \\ |_{C} & |_{G} & |_{C} & |_{Em} & | & & |_{C} & |_{G} & |_{D} & |_{D} & | \end{tabular} \end{intro} @@ -47,42 +48,34 @@ A^{Dsus2}hh, ^{D}I'll never break it ^{Dsus2} ^{D} ^{Dsus4} ^{D} \\ \begin{solo} -\begin{tabular}{llllllll} +\begin{tabular}[t]{@{}llllllll} |_{C} & |_{G} & |_{C} & |_{Em} & |_{C} & |_{G} & |_{D} _{Dsus2} _{D} _{Dsus4} _{D} _{Dsus2} _{D} & | \\ |_{C} & |_{G} & |_{C} & |_{Em} & |_{C} & |_{G} & |_{D} _{Dsus2} _{D} _{Dsus4} _{D} _{Dsus2} _{D} & | \\ \end{tabular} -\begin{tabular}{ll} -|_{D} _{Dsus2} _{D} _{Dsus4} _{D} _{Dsus2} _{D} & |\\ +\begin{tabular}[t]{@{}ll} |_{D} _{Dsus2} _{D} _{Dsus4} _{D} _{Dsus2} _{D} & |\\ +|_{D} _{Dsus2} _{D} _{Dsus4} _{D} _{Dsus2} _{D} & | slow down this line and pause\\ \end{tabular} \end{solo} -\begin{bridge} -^{D} ^{D/F#} ^{G} ^{D/F#} A li^{D}ttle patience ^{G} \\ - D -Mmmmm yeah - G -Mmmmm yeah +\begin{outro} +\begin{tabular}[t]{@{}lllll} +|_{D} & |_{D/F#} & |_{G} & |_{G} & | \space\space 2x \\ +\end{tabular} - D -Need a little patience - G -Yeaaaaah - D -Just a little patience - G -yeaaaaah -\end{bridge} +^{D} ^{D/F#} A little ^{G}patience ^{G} \\ +^{D}Mmmmm yeah ^{D/F#} Mmmmm ^{G}yeah ^{G} \\ +Need a little ^{D}patience, ^{D/F#}Yeah ^{G}aaah ^{G} \\ +Just a little ^{D}patience, ^{D/F#}Yeah ^{G}aaah ^{G} \\ -\begin{verse} -^{D} I've been walking the streets tonight, ^{G} just trying to get it right \\ -^{D} It's hard to see with so many around, you ^{G}know I don’t like being stuck in the crowd \\ -And the ^{D} streets don't change but maybe the names, ^{G} I ain't got time for the game \\ -Cause I ^{D}need you, yeah yeah, well I ^{G}need you \\ +^{D} I've been walking the ^{D/F#}streets tonight, ^{G} just trying to ^{G}get it right \\ +^{D} It's hard to see with so ^{D/F#}many around, you ^{G}know I don’t like being ^{G}stuck in the crowd \\ +And the ^{D}streets don't change but ^{D/F#}maybe the names, ^{G} I ain't got ^{G}time for the game \\ +Cause I ^{D}need you, ^{D/F#}yeah yeah, well I ^{G}need you ^{G} \\ Ooooh, I ^{F}need you, woah, I ^{G}need you \\ -Ooooh, this ^{D}time ^{G} ^{D} -\end{verse} +Ooooh, this ^{D*}time +\end{outro} \end{song} \end{document} diff --git a/songs/Pat Benatar/We Belong.tex b/songs/Pat Benatar/We Belong.tex index e413d34..8ded206 100644 --- a/songs/Pat Benatar/We Belong.tex +++ b/songs/Pat Benatar/We Belong.tex @@ -3,6 +3,10 @@ \begin{document} \begin{song}{title={We Belong}, band={Pat Benatar}, year={1984}, key={E}} +\begin{intro} +_{E} +\end{intro} + \begin{verse} ^{E} Many times I've tried to tell you, ^{A}many times I've cried alone \\ ^{E} Always I'm surprised how well you ^{A}cut my feelings to the bone \\ @@ -12,32 +16,36 @@ \begin{chorus} ^{E} We belong to the ^{A}light, we belong to the ^{B}thunder \\ -We ^{E}belong to the sound of the ^{A}words, we've both fallen ^{B}under \\ -^{E}Whatever we deny or ^{A}embrace, for worse or for ^{B}better \\ -^{B7} We be^{E}long, we ^{A}belong, we belong ^{B}together +We be^{E}long to the sound of the ^{A}words, we've both fallen ^{B}under \\ +What^{E}ever we deny or em^{A}brace, for worse or for ^{B}better \\ +^{B7}We be^{E}long, we be^{A}long, we belong to^{B}gether \end{chorus} \begin{verse} -^{E}Maybe its a sign of weakness, ^{A}when I don’t know what to say \\ +^{E} Maybe its a sign of weakness, ^{A}when I don’t know what to say \\ ^{E}Maybe I just wouldn’t know, ^{A}what to do with my strength anyway \\ -^{F#m}Have we become a habit, ^{E}do we distort the ^{A}acts \\ -^{F#m}Now there’s no looking forward, ^{B}now there’s no turning back when you ^{(E)}say +^{F#m} Have we become a habit, ^{E}do we distort the ^{A}facts \\ +^{F#m} Now there’s no looking forward, ^{B}now there’s no turning back when you ^{(E)}say \end{verse} \begin{chorus} \instruction{Repeat Chorus} \end{chorus} +\begin{interlude} +\instruction{muted strings \& guitar tap 3x then muted strings \& _{E}_{E}_{E}} +\end{interlude} + \begin{verse} -^{E}Close your eyes and try to sleep now, ^{A}close your eyes and try to dream \\ -^{E}Clear your mind and do your best, ^{A}to try and wash the palette clean \\ -^{F#m}We can’t begin to know it, ^{E}how much we really ^{A}care \\ -^{F#m}I hear your voice inside me, ^{B}I see your face everywhere, still you ^{(E)}say +^{E} Close your eyes and try to sleep now, ^{A}close your eyes and try to dream \\ +^{E} Clear your mind and do your best, to ^{A}try and wash the palette clean \\ +^{F#m} We can’t begin to know it, ^{E}how much we ^{A}really care \\ +^{F#m} I hear your voice inside me, ^{B}I see your face everywhere, still you ^{(E)}say \end{verse} -\begin{chorus} -\instruction{Repeat Chorus} -\end{chorus} +\begin{outro} +\instruction{Repeat Chorus 2x} +\end{outro} \end{song} \end{document} diff --git a/songs/R.E.M./Fall on Me.tex b/songs/R.E.M./Fall on Me.tex index c4e914b..91b29b6 100644 --- a/songs/R.E.M./Fall on Me.tex +++ b/songs/R.E.M./Fall on Me.tex @@ -12,9 +12,11 @@ _{C} ^{Dm}Bargain buildings, ^{Am}weights and pulleys \\ ^{Dm}Feathers hit the ^{Am}ground before the \\ ^{Dm}Weight can leave the ^{Am}air \\ -^{Dm}Buy the ^{G}sky and ^{C}sell the ^{Dm/F}sky and ^{Dm}tell the sky and ^{G7}tell the sky \end{verse} - +\begin{prechorus} +^{Dm}Buy the ^{G}sky and ^{C}sell the ^{Dm/F}sky and ^{Dm}tell the sky and ^{G7}tell the sky +\end{prechorus} + \begin{chorus} Don't ^{C}fall ^{Dm}on ^{F}me ^{G} (What is it up in the air for) (It's gonna fall) \\ ^{C}Fall ^{Dm}on ^{F}me ^{G} (If it's there for long) (It's gonna fall) \\ @@ -26,8 +28,10 @@ Don't ^{C}fall ^{Dm}on ^{F}me ^{G} (What is it up in the air for) (It's gonna fa ^{Dm}A way to talk ^{Am}around the problem (when the children reign)\\ ^{Dm}Building towered ^{Am}foresight (keep your conscience in the dark)\\ ^{Dm}Isn't anything at ^{Am}all (melt the statues in the park)\\ -^{Dm}Buy the ^{G}sky and ^{C}sell the ^{Dm/F}sky and ^{Dm}bleed the sky and ^{G7}tell the sky \end{verse} +\begin{prechorus} +^{Dm}Buy the ^{G}sky and ^{C}sell the ^{Dm/F}sky and ^{Dm}bleed the sky and ^{G7}tell the sky +\end{prechorus} \begin{info} \instruction{Repeat Chorus} @@ -38,13 +42,13 @@ Don't ^{C}fall ^{Dm}on ^{F}me ^{G} (What is it up in the air for) (It's gonna fa So if I ^{F}send it to you you've got to ^{Dm}promise to keep it ^{G}whole \end{bridge} -\begin{verse} +\begin{prechorus} ^{Dm}Buy the ^{G}sky and ^{C}sell the ^{Dm/F}sky and ^{Dm}lift your ^{G}arms up ^{C}to the ^{Dm/F}sky \\ -And ^{Dm}ask the sky ^{C}and ^{G}ask the sky -\end{verse} +And ^{Dm}ask the sky and ^{G}ask the sky +\end{prechorus} \begin{info} -\instruction{Repeat Chorus 3x} +\instruction{Repeat Chorus 2x end on _{Am}} \end{info} \end{song} diff --git a/songs/Tears for Fears/Everybody Wants to Rule the World.tex b/songs/Tears for Fears/Everybody Wants to Rule the World.tex index d26ff5d..2a6c3c0 100644 --- a/songs/Tears for Fears/Everybody Wants to Rule the World.tex +++ b/songs/Tears for Fears/Everybody Wants to Rule the World.tex @@ -4,14 +4,14 @@ \begin{song}{title={Everybody Wants to Rule the World}, band={Tears for Fears}, year={1985}, key={D}} \begin{intro} +\instruction{intro riff 4x} \\ \begin{tabular}{lll} -|_{A/D G/D} & |_{A/D G/D} & | \\ -\end{tabular} +|_{A/D-G/D} & |_{A/D-G/D} & | 2x \\ +\end{tabular} \end{intro} \begin{verse} -^{A/D G/D} Welcome to your ^{A/D G/D}life There's no turning back \\ -^{A/D G/D} Even while we ^{A/D G/D}sleep We will find you +^{A/D-G/D} Welcome to your ^{A/D-G/D}life There's no turning ^{A/D-G/D}back Even while we ^{A/D-G/D}sleep We will find you \end{verse} \begin{chorus} @@ -19,14 +19,19 @@ ^{Em}Every ^{F#m}body ^{G}wants to ^{A}rule the world \end{chorus} +\begin{interlude} +\begin{tabular}{lll} +|_{A/D-G/D} & |_{A/D-G/D} & | \\ +\end{tabular} +\end{interlude} + \begin{verse} -^{A/D G/D} It's my own ^{A/D G/D}design It's my own remorse \\ -^{A/D G/D} Help me to de^{A/D G/D}cide Help me make the +^{A/D-G/D} It's my own de^{A/D-G/D}sign It's my own re^{A/D-G/D}morse Help me to de^{A/D-G/D}cide Help me make the \end{verse} \begin{chorus} -^{Em}Most of freedom ^{F#m}and of pleasure, ^{G}nothing ever ^{F#m}lasts forever \\ -^{Em}Every ^{F#m}body ^{G}wants to ^{A}rule the ... +^{Em}Most of freedom ^{F#m}and of pleasure, ^{G}nothing ever ^{F#m}lasts forever \\ +^{Em}Every ^{F#m}body ^{G}wants to ^{A}rule the ... \end{chorus} \begin{bridge} @@ -37,34 +42,55 @@ \begin{chorus} ^{Em}So glad we’ve ^{F#m}almost made it, ^{G}so sad they ^{F#m}had to fade it \\ -^{Em}Every F#m body ^{G}wants to ^{A}rule the world +^{Em}Every ^{F#m}body ^{G}wants to ^{A}rule the world \end{chorus} \begin{interlude} \begin{tabular}{lll} -|_{A/D G/D} & |_{A/D G/D} & | \\ -\end{tabular} +|_{A/D-G/D} & |_{A/D-G/D} & | \\ +\end{tabular} \end{interlude} \begin{chorus} -^{Em}I can't stand this ^{F#m}indecision, ^{G}married with a ^{F#m}lack of vision \\ -^{Em}Every ^{F#m}body ^{G}wants to ^{A}rule the ... -\end{chorus} - -\begin{chorus} +^{Em}I can't stand this ^{F#m}indecision, ^{G}married with a ^{F#m}lack of vision \\ +^{Em}Every ^{F#m}body ^{G}wants to ^{A}rule the ... \\ ^{Em} Say that you'll ^{F#m}never never never never need it, ^{G}one headline, ^{F#m}why believe it \\ -^{Em}Every ^{F#m}body ^{G}wants to ^{A}rule the world +^{Em}Every ^{F#m}body ^{G}wants to ^{A}rule the world \end{chorus} +\begin{interlude} +\instruction{intro riff over chords} \\ +\begin{tabular}{lll} +|_{A/D-G/D} & |_{A/D-G/D} & \\ +\end{tabular} +\end{interlude} + +%\begin{solo} +%\instruction{over intro riff} \\ +%\begin{tabular}{lllll} +%|_{D} & |_{A} & |_{G} & |_{G} & | \\ +%|_{D} & |_{A} & |_{G} & |_{G} & | \\ +%|_{D} & |_{A} & |_{G} & |_{G} & | \\ +%|_{D} & |_{A} & | \\ +%|_{Bm} & |_{Bm} & |_{C} & |_{C} & | \\ +%|_{Bm} & |_{Bm} & |_{C} & |_{C} & | \\ +%|_{G} & |_{G} & |_{A} & |_{A} & | \\ +%\end{tabular} + +%\begin{tabular}{lll} +%|_{A/D-G/D} & |_{A/D-G/D} & | 2x \\ +%\end{tabular} +%\end{solo} + \begin{chorus} -^{Em}All for freedom ^{F#m}and for pleasure, ^{G}nothing ever ^{F#m}lasts forever \\ -^{Em}Every ^{F#m}body ^{G}wants to ^{A}rule the world +^{Em}All for freedom ^{F#m}and for pleasure, ^{G}nothing ever ^{F#m}lasts forever \\ +^{Em}Every ^{F#m}body ^{G}wants to ^{A}rule the world \end{chorus} \begin{outro} \begin{tabular}{lll} -|_{A/D G/D} & |_{A/D G/D} & | \\ -\end{tabular} +|_{A/D-G/D} & |_{A/D-G/D} & | \\ +\end{tabular} \end{outro} \end{song}