]> git.donarmstrong.com Git - lilypond.git/blob - tex/lilypond-plaintex.tex
front port
[lilypond.git] / tex / lilypond-plaintex.tex
1 % lilypond-plaintex.tex
2 %
3 \edef\lilypondplaintexELC{\the\endlinechar}%
4 \endlinechar -1\relax
5
6 \message{LilyPond Plain TeX settings}
7
8 \def\texsuffix{PlainTeX}
9
10 \def\lilyfooterPlainTeX{
11   \footline = {
12     \ifnum\pageno = 1\relax
13       \smalltextfont\lilypondcopyright\hfil \lilypondtagline
14     \else
15       \hfil \the\pageno \hfil
16     \fi
17   }
18 }
19
20
21 %% make plain work ok Out Of The Box
22
23 \ifundefined{lilypondpaperunit}
24 \def\lhsize{\hsize} 
25 \else
26 \def\lhsize{\lilypondpaperlinewidth\lilypondpaperunit}
27 \fi
28
29 \ifdim0pt<\lhsize
30 \hsize=\lhsize
31 \fi
32
33 \advance\hoffset by -.6in
34
35 \def\nolilyfooterPlainTeX{\nopagenumbers}
36
37 \endlinechar \lilypondplaintexELC
38 \endinput