lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

How to print just a tempo in a LaTeX document?


From: Kevin Zembower
Subject: How to print just a tempo in a LaTeX document?
Date: Thu, 03 Oct 2013 17:23:33 -0400

Hello,

I have a lilypond-book document that contains four short pieces of
music. All of the music uses the same tempo (quarter note = 90). I'd
like to just print the tempo indication once, and not for each piece. I
thought I saw a method to print a quarter note, an equals sign and '90',
in a way similar to how LaTeX prints mathematical symbols between dollar
signs.

I tried this in my lilypond-book document:
  \lilypond[quote,fragment]{\tempo 4 = 90}
but I just got an error complaining about a score with no music, and a
big blank vertical space in my document. See below my signature for my
complete lilypond-book file.

Can anyone help me with this, or point out to me an example of how it's
done?

Thanks for your help and suggestions.

-Kevin
---------------------------------------------------------------------
\documentclass{article}

\usepackage[top=1.0in, bottom=1.0in, left=1.0in, right=1.0in]{geometry}
\usepackage{titling}
\pretitle{\begin{center}\vskip -1.0in \LARGE\textbf}
\posttitle{\par\end{center}}
\preauthor{\begin{flushright}\vskip -0.25in}
\postauthor{\par\end{flushright}}

\setlength{\parskip}{20pt plus10pt minus5pt}

\usepackage{fancyhdr}
\setlength{\headheight}{18.0pt}
\pagestyle{fancy}
\fancyhf{}
\fancyhead[C]{\sffamily \bfseries \Large Please Return}
\fancyfoot[C]{\sffamily \bfseries \Large Please Return}
\fancypagestyle{plain}{
  \fancyhf{}
  \fancyhead[C]{\sffamily \bfseries \Large Please Return}
  \fancyfoot[C]{\sffamily \bfseries \Large Please Return}
}
\renewcommand{\headrulewidth}{0.4pt}
\renewcommand{\footrulewidth}{0.4pt}

\title{The Mass of New Beginnings}
\author{W. Clifford Petty}
\date{}                         %Suppress the date

\begin{document}
\maketitle
\vskip -1.0in                   %Remove space after title author

\lilypond[quote,fragment]{\tempo 4 = 90}

\lilypondfile{Holy.ly}

\lilypondfile{Mystery_of_Faith.ly}

\lilypondfile{Amen.ly}

\lilypondfile{Lamb_of_God.ly}

\end{document}





reply via email to

[Prev in Thread] Current Thread [Next in Thread]