Sets the width of the lines. If set to -1.0, a single
unjustified line is produced.
+ @item @code{textheight}@indexcode{textheight}
+ Sets the total height of the music on each page. Only used by
+ ly2dvi.
+
+ @item @code{interscoreline}@indexcode{interscoreline}
+ Sets the spacing between the score lines. Defaults to 16 pt.
+
@item @code{output}@indexcode{output}
Specifies an alternate name for the the output @file{s}.
A @file{.tex}, @file{.midi} or @file{.ps} extension will be
\score {
-\notes \context Staff {
- \property Staff.StaffVerticalExtent = #'(-15.0 . 15.0)
- c1 \break c1
-}
+ \notes <
+ \context Staff = upper {
+ \property Staff.StaffVerticalExtent = #'(-15.0 . 0.0)
+ \clef alto;
+ c1 \break c1
+ }
+ \context Staff = lower {
+ \property Staff.StaffVerticalExtent = #'(-0.0 . 15.0)
+ \clef alto;
+ g1 \break g1
+ }
+ >
+ \paper{
+ interscoreline = 3.0\mm;
+ \translator{\ScoreContext \remove "Bar_number_engraver";}
+ \translator{\StaffContext StaffMinimumVerticalExtent = #'(-2.0 . 2.0)}
+ }
}
%%\headsep0pt
%% Maybe this is too drastic, but let us give it a try.
\geometry{width=%spt, textheight=%spt,headheight=2mm,headsep=0pt,footskip=2mm}
-\input{lilyponddefs}
\input{titledefs}
%s
\makeatletter
system ('lilypond %s %s' % (lilyopts, texfiles))
for e in eps:
- cmd = r"""tex '\nonstopmode \input %s'; dvips -E -o %s %s""" % \
+ if os.environ.has_key('OS') and \
+ os.environ['OS'] == 'Windows_95':
+ cmd = r"""ash -c 'tex " \nonstopmode \input %s " ; dvips -E -o %s %s ' """ % \
+ (e, e + '.eps', e)
+ else:
+ cmd = r"""tex '\nonstopmode \input %s' ; dvips -E -o %s %s""" % \
(e, e + '.eps', e)
system (cmd)
\def\myfilbreak{\par\vfil\penalty200\vfilneg}
% stacked horizontal lines
-\def\interscoreline{\vskip 16pt\myfilbreak}
+\ifundefined{mudelapaperinterscoreline}
+ \def\interscoreline{\vskip 16pt\myfilbreak}
+\else
+ \def\interscoreline{\vskip\mudelapaperinterscoreline pt\myfilbreak}
+\fi
\def\placebox#1#2#3{%
\botalign{\hbox{\raise #1\leftalign{\kern #2{}#3}}}}%
%
% Version 0.1
%
-\input lilyponddefs
-\def\EndLilyPondOutput{\endinput}
-%
\def\thetitle{}
\def\thesubtitle{}
\def\thecomposer{}