]> git.donarmstrong.com Git - lilypond.git/blob - tex/lilyponddefs.tex
77b02d7f7a9a49c71209008c070a870c2377b576
[lilypond.git] / tex / lilyponddefs.tex
1 %%
2 %% include file for LilyPond
3 %%
4 %% this file defines various macros to accomodate lilypond output
5 %%
6 %% let's not make par before endinput
7 %
8 % TeXbook ex 7.7
9 \def\ifundefined#1{\expandafter\ifx\csname#1\endcsname\relax}
10 %
11 % skip if included already
12 \def\SkipLilydefs{\endinput}
13 \ifundefined{EndLilyPondOutput}
14         \def\EndLilyPondOutput{\csname bye\endcsname}
15         \def\SkipLilydefs{}
16 \fi
17 \SkipLilydefs
18 %
19 \def\botalign#1{\vbox to 0pt{\vss #1}}
20 \def\leftalign#1{\hbox to 0pt{#1\hss}}
21
22
23 % stacked horizontal lines
24 \def\interscoreline{\vskip 16pt}
25 \def\placebox#1#2#3{%
26         \botalign{\hbox{\raise #1\leftalign{\kern #2{}#3}}}}%
27 \input lily-ps-defs
28 \def\EndLilyPondOutput{%
29   \csname bye\endcsname
30   }
31   
32   %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
33   
34 \def\postheader{}
35 \noindent