[OS X TeX] TeXShop and Lilypond

Michael Millett mjmm60 at excite.com
Sun Apr 15 23:21:09 EDT 2007


I was hoping someone on this list has experience using Lilypond (music 
notation program) with TeXShop, and could help me.

I need to make some handouts in TeXShop that incorporate Lilypond code, 
and pretty quickly. And I have not yet been able to get the two to work 
together, though I know that it is often done. I don't understand what I 
need to do. Would someone kindly tell me what is wrong with this TeXShop 
code.

Thanks for your help.
Michael

\documentclass [12pt] {report}

\usepackage {times}
\usepackage [dvips] {graphicx}

\begin {document}

\begin {flushright}
My Name
\end {flushright}

\begin {center}

Brahms: Intermezzo In A Major\\
\emph {Op. 118, No. 2}
\end {center}
   \begin {lilypond}
\version "2.8.4"
{
\key a \major << e'4 gis' c'' e'' >>
<< e' g' cis'' >>
<< e' g' d'' >>
<< a' cis'' e'' >>

<< a' c'' f'' a'' >>
<< f' a' c'' dis'' >>
<< dis' fis' a' c'' >>
<< a' c'' e'' >>

<< e'1 gis' b' >>
\bar "||"

}

\end{lilypond}

\end {document}



------------------------- Helpful Info -------------------------
Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
TeX FAQ: http://www.tex.ac.uk/faq
List Archive: http://tug.org/pipermail/macostex-archives/
List Reminders & Etiquette: http://www.esm.psu.edu/mac-tex/list/





More information about the MacOSX-TeX mailing list