8

I am trying to write an A6 songbook in latex(just getting started). For chords above lyrics I use the songs package, but the chords looks bigger than the lyrics.

Can't find anything in the documentation on how to make the text for the chords smaller. Annyone know how?

A minimal working example showing the default settings:

\documentclass{article}
\usepackage[chorded]{songs}

\newindex{titleidx}{titleidx}
\noversenumbers

\begin{document}
\showindex{Complete Index of Songs}{titleidx}
\songsection{Worship Songs}

\begin{songs}{titleidx}
\beginsong{Doxology}[by={Louis Bourgeois and Thomas Ken},
                     sr={Revelation 5:13},
                     cr={Public domain.},
                     index={Praise God, from Whom all blessings flow}]
\beginverse
\[G]Praise God, \[D]from \[Em]Whom \[Bm]all \[Em]bless\[D]ings \[G]flow;
\[G]Praise Him, all \[D]crea\[Em]tures \[C]here \[G]be\[D]low;
\[Em]Praise \[D]Him \[G]a\[D]bove, \[G]ye \[C]heav'n\[D]ly \[Em]host;
\[G]Praise Fa\[Em]ther, \[D]Son, \[Am]and \[G/B G/C]Ho\[D]ly \[G]Ghost.
\[C]A\[G]men.
\endverse
\endsong
\end{songs}

\end{document}

enter image description here

3
  • 1
    Could you provide a minimal working example, i.e. from \documentclass{ to \end{document}? I'm a bit lost as to what text exactly you want to make smaller, and an MWE will help in answering your question.
    – Mythio
    Mar 25, 2013 at 14:24
  • 2
    Welcome to TeX.sx! Mar 25, 2013 at 14:30
  • I added a MWE and uploaded the resulting image. I hope it's OK. Mar 25, 2013 at 15:02

1 Answer 1

5

The command controlling how chords are typeset is \printchord and its default definition is

\renewcommand\printchord[1]{\sffamily\slshape\large#1}

You can redefine it according to your needs; a simple example to use \small instead of the default \large size switch (of course, you can use any of the other font switches or even \fontsize{}{}\selectfont instead):

\documentclass{article}
\usepackage[chorded]{songs}

\newindex{titleidx}{titleidx}
\noversenumbers

\renewcommand\printchord[1]{\sffamily\slshape\small#1}

\begin{document}
\showindex{Complete Index of Songs}{titleidx}
\songsection{Worship Songs}

\begin{songs}{titleidx}
\beginsong{Doxology}[by={Louis Bourgeois and Thomas Ken},
                     sr={Revelation 5:13},
                     cr={Public domain.},
                     index={Praise God, from Whom all blessings flow}]
\beginverse
\[G]Praise God, \[D]from \[Em]Whom \[Bm]all \[Em]bless\[D]ings \[G]flow;
\[G]Praise Him, all \[D]crea\[Em]tures \[C]here \[G]be\[D]low;
\[Em]Praise \[D]Him \[G]a\[D]bove, \[G]ye \[C]heav'n\[D]ly \[Em]host;
\[G]Praise Fa\[Em]ther, \[D]Son, \[Am]and \[G/B G/C]Ho\[D]ly \[G]Ghost.
\[C]A\[G]men.
\endverse
\endsong
\end{songs}

\end{document}

enter image description here

The songs package is not on CTAN; it can be found in sourceforge

4
  • Is songs part of CTAN? Tex Live Utility can't seem to find it...
    – jub0bs
    Mar 25, 2013 at 14:49
  • 2
    @Jubobs: If I'm not mistaken, songs used to be part of CTAN, but the version was quite outdated. The package is now available in its own SourceForge website. Mar 25, 2013 at 14:56
  • 1
    @Jubobs Paulo is right; I added the link in my answer. Mar 25, 2013 at 14:57
  • Ok, this is good solution. But I have another question: it's possible change the font of chords? Like Garamond font for lyrics and CM for chords?
    – user35485
    Aug 21, 2013 at 12:29

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .