| 1 |
\documentclass{article} |
| 2 |
\usepackage{guitar} |
| 3 |
\usepackage{gchords} |
| 4 |
\thispagestyle{empty} |
| 5 |
|
| 6 |
\newcommand{\C}{\hspace{-0.8em}\chord{t}{n,p3,p2,n,p1,n}{C}} |
| 7 |
\newcommand{\CmajVII}{\hspace{-0.8em}\chord{t}{n,p3,p2,n,n,n}{Cmaj7}} |
| 8 |
\newcommand{\F}{\hspace{-0.8em}\chord{t1}{n,p2,p2,p1,n,n}{F}} |
| 9 |
|
| 10 |
\def\chordsize{1.5mm} |
| 11 |
\def\numfrets{3} |
| 12 |
\def\namefont{\it} |
| 13 |
|
| 14 |
\begin{document} |
| 15 |
|
| 16 |
\noindent |
| 17 |
We can typeset verses and guitar chord grids in a \texttt{guitar} |
| 18 |
environment: |
| 19 |
|
| 20 |
\bigskip |
| 21 |
|
| 22 |
\begin{minipage}[c]{\linewidth} % to avoid indentation |
| 23 |
\begin{guitar} |
| 24 |
|
| 25 |
\textbf{Imagine (John Lennon)} |
| 26 |
\emph{Intro, $\times$ 2} |
| 27 |
[\C] \hspace{2em} [\CmajVII] \hspace{2em} [\F] \hspace{2em} |
| 28 |
[\C]Imagine there's [\CmajVII|]{no} ~ [\F]heaven |
| 29 |
[\C]It's easy if [\CmajVII|]{you} ~ [\F]try |
| 30 |
|
| 31 |
\end{guitar} |
| 32 |
\end{minipage} |
| 33 |
|
| 34 |
\noindent |
| 35 |
{\ldots}and so on. But we could just use the \verb|\upchord| command, |
| 36 |
provided by \texttt{gchords}: |
| 37 |
|
| 38 |
\begin{verse} |
| 39 |
|
| 40 |
\upchord{\C}Imagine there's \upchord{\CmajVII}no \qquad |
| 41 |
\upchord{\F}heaven |
| 42 |
|
| 43 |
\upchord{\C}It's easy if \upchord{\CmajVII}you \qquad |
| 44 |
\upchord{\F}try |
| 45 |
|
| 46 |
\end{verse} |
| 47 |
|
| 48 |
|
| 49 |
\end{document} |