I'm trying to put lilypond snippets inside a tabular environment in LaTeX, but
running lilypond-book on the file seems to ignore the lilypond blocks.
I'm guessing that lilypond-book just ignores the tabular environment as a whole.
Anyone have a workaround for using lilypond-book? otherwise I'll revert to my initial thought:
running lilypond (to produce the snippets) and latex (to produce the doc) separately.
Here's the file (many of the usepackages are not needed)
\documentclass{article}
\usepackage[utf8]{inputenc}
\usepackage{graphicx}
\usepackage{tabularx}
\usepackage{enumerate}
\usepackage{units}
\usepackage[section]{placeins}
\usepackage{hyperref}
\usepackage[cm]{fullpage}
\usepackage{parcolumns}
\usepackage[table]{xcolor}
\begin{document}
\def\arraystretch{5.0}
\arrayrulecolor{gray!20}
\begin{tabular}[h]{ p{0.2\textwidth} p{0.75\textwidth} }
%\vfill \huge\textbf{Intro} & \vfill \\
\huge\textbf{ Intro \vfill } & \begin{lilypond} \relative c' { c4 d e f g} \end{lilypond} \\
\hline
\huge\textbf{ Verse \vfill } & B \\
\hline
\huge\textbf{ Chorus \vfill } & B \\
\hline
\huge\textbf{ Verse \vfill } & B \\
\hline
\huge\textbf{ Chorus \vfill } & B \\
\hline
\end{tabular}
\def\arraystretch{1.0}
\end{document}