[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: couple lily questions
From: |
Mats Bengtsson |
Subject: |
Re: couple lily questions |
Date: |
Mon, 09 Jul 2001 20:08:19 +0200 |
> Return-Path: address@hidden
> I'm running 1.4.2.
>
> 1. How do I turn off page numbering? I used to be able to use -N to
> ly2dvi. (That was broken for a while and someone gave me a patch
> to fix it, but now, ly2dvi --help doesn't even show -N.)
If you read the ly2dvi manual, you'll find the solution:
ly2dvi -s pagenumber=no file.ly
> 2. My second "alternative" in a repeat needs a clef change at the
> beginning of the measure. If I do "\clef foo" at the beginning, as
> shown below, then the clef is rendered BEFORE the alternative bar,
> in the measure for the first alternative, which is clearly wrong.
> Is there a way to force the clef to be rendered in the same bar as
> the notes that follow it?
>
> \alternative { {
> b4 r8 r4 b'8 |
> b8 c b a b a |
> } {
> \clef bass b8 ds, fs b,4 r8 \clef treble |
> }
This is specified by the breakAlignOrder property.
The default setting can be found in ly/engraver.ly and
you can do, for example,
\property Score.breakAlignOrder=#'(
Instrument_name
Left_edge_item
Span_bar
Breathing_sign
Key_item
Staff_bar
Clef_item
Time_signature
Custos
)
to get the desired result.
/Mats