2 %% include file for LilyPond
4 %% this file defines various macros to accomodate lilypond output
6 %% let's not make par before endinput
9 \def\ifundefined#1{\expandafter\ifx\csname#1\endcsname\relax}
11 % skip if included already
12 \def\SkipLilydefs{\endinput}
13 \ifundefined{EndLilyPondOutput}
14 \def\EndLilyPondOutput{\csname bye\endcsname}
19 % need to do some stuff to turn pagenumbering off
20 \ifundefined{documentclass}
21 \input lilypond-plaintex
28 \def\botalign#1{\vbox to 0pt{\vss #1}}
29 \def\leftalign#1{\hbox to 0pt{#1\hss}}
30 \font\textmusic=cmmi10
31 \def\textsharp{\raise.4ex\hbox{\textmusic\char"5D}}
32 \def\textnatural{\raise.4ex\hbox{\textmusic\char"5C}}
33 \def\textflat{\raise.2ex\hbox{\textmusic\char"5B}}
38 % stacked horizontal lines
39 \def\interscoreline{\vskip 16pt}
41 \botalign{\hbox{\raise #1\leftalign{\kern #2{}#3}}}}%
43 \def\EndLilyPondOutput{%
48 % need to do some stuff to turn pagenumbering off
49 % they seriously mess up your fragments.
51 \ifx\csname nolilyfooter\endcsname\relax
52 \message{[footer defined]}%
53 \csname lilyfooter\texsuffix\endcsname%
55 \message{[footer empty]}
57 nolilyfooter\texsuffix\endcsname
60 % fix chord.cc::banter_str before removing these