Re: Alignment problem

2017-08-08 Thread Menu Jacques
Hello Manuela,

+2, thanks, using two markups is both elegant and simple!

JM

> Le 8 août 2017 à 12:18, Manuela Gößnitzer <pressephotogra...@gmail.com> a 
> écrit :
> 
> What about
> 
> \relative b, {
>  \key g \major
>  \clef "bass"
>  \time 3/4
> 
>  \textLengthOn
>  d4 _\markup{\italic "Fine"}
>  \fermata
>  g4- \markup { \dynamic "f" }
>  b4
> }
> 
> 2017-08-07 15:18 GMT+02:00 Phil Holmes <m...@philholmes.net 
> <mailto:m...@philholmes.net>>:
> It does, but only if you attach the markup to the note.  As it turns out, it 
> still _just_ collides with the forte, so adding a space to the end of "fine" 
> solves this.  However, they still don't align since they are both avoiding 
> note stems of different lengths.
> 
> \relative b, {
>  \key g \major
>  \clef "bass"
>  \time 3/4
> 
>  \textLengthOn
>  d4 _\markup{\italic "Fine "}
>  \fermata
>  g4 \f
>  b4
> }
> 
> 
> --
> Phil Holmes
> 
> 
> - Original Message - From: "Jacques Menu" <imj-...@bluewin.ch 
> <mailto:imj-...@bluewin.ch>>
> To: "Lilypond-User Mailing List" <lilypond-user@gnu.org 
> <mailto:lilypond-user@gnu.org>>
> Sent: Monday, August 07, 2017 1:30 PM
> Subject: Re: Alignment problem
> 
> 
> 
> Hello Phil,
> 
> \textLengthOn doesn't solve the problem, thanks anyway!
> 
> JM
> 
> Jacques Menu, iPhone
> 
> Le 7 août 2017 à 08:19, Menu Jacques <imj-...@bluewin.ch 
> <mailto:imj-...@bluewin.ch>> a écrit :
> 
> Hello folks,
> 
> Can the « Fine » and « f » be on the same horizontal line while remaining 
> attached to two differents notes, without using any separate dynamics voice?
> 
> Thanks!
> 
> JM
> 
> \version "2.19.55"
> 
> \relative b, {
>   \key g \major
>   \clef "bass"
>   \time 3/4
> 
>   d4
>   \fermata _\markup{\italic "Fine"}
>   g4 \f
>   b4
> }
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> ___
> lilypond-user mailing list
> lilypond-user@gnu.org <mailto:lilypond-user@gnu.org>
> https://lists.gnu.org/mailman/listinfo/lilypond-user 
> <https://lists.gnu.org/mailman/listinfo/lilypond-user>
> 
> 
> 
> ___
> lilypond-user mailing list
> lilypond-user@gnu.org <mailto:lilypond-user@gnu.org>
> https://lists.gnu.org/mailman/listinfo/lilypond-user 
> <https://lists.gnu.org/mailman/listinfo/lilypond-user>
> 
> ___
> lilypond-user mailing list
> lilypond-user@gnu.org
> https://lists.gnu.org/mailman/listinfo/lilypond-user

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Alignment problem

2017-08-08 Thread Manuela Gößnitzer
What about

\relative b, {
 \key g \major
 \clef "bass"
 \time 3/4

 \textLengthOn
 d4 _\markup{\italic "Fine"}
 \fermata
 g4- \markup { \dynamic "f" }
 b4
}

2017-08-07 15:18 GMT+02:00 Phil Holmes <m...@philholmes.net>:

> It does, but only if you attach the markup to the note.  As it turns out,
> it still _just_ collides with the forte, so adding a space to the end of
> "fine" solves this.  However, they still don't align since they are both
> avoiding note stems of different lengths.
>
> \relative b, {
>  \key g \major
>  \clef "bass"
>  \time 3/4
>
>  \textLengthOn
>  d4 _\markup{\italic "Fine "}
>  \fermata
>  g4 \f
>  b4
> }
>
>
> --
> Phil Holmes
>
>
> - Original Message - From: "Jacques Menu" <imj-...@bluewin.ch>
> To: "Lilypond-User Mailing List" <lilypond-user@gnu.org>
> Sent: Monday, August 07, 2017 1:30 PM
> Subject: Re: Alignment problem
>
>
>
> Hello Phil,
>
> \textLengthOn doesn't solve the problem, thanks anyway!
>
> JM
>
> Jacques Menu, iPhone
>
> Le 7 août 2017 à 08:19, Menu Jacques <imj-...@bluewin.ch> a écrit :
>>
>> Hello folks,
>>
>> Can the « Fine » and « f » be on the same horizontal line while remaining
>> attached to two differents notes, without using any separate dynamics voice?
>>
>> Thanks!
>>
>> JM
>>
>> \version "2.19.55"
>>
>> \relative b, {
>>   \key g \major
>>   \clef "bass"
>>   \time 3/4
>>
>>   d4
>>   \fermata _\markup{\italic "Fine"}
>>   g4 \f
>>   b4
>> }
>>
>>
>>
>
>
> 
> 
>
>
>
>>>
>>>
>>
>
> 
> 
>
>
>
> ___
>> lilypond-user mailing list
>> lilypond-user@gnu.org
>> https://lists.gnu.org/mailman/listinfo/lilypond-user
>>
>>
>
> ___
> lilypond-user mailing list
> lilypond-user@gnu.org
> https://lists.gnu.org/mailman/listinfo/lilypond-user
>
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Alignment problem

2017-08-07 Thread Phil Holmes
It does, but only if you attach the markup to the note.  As it turns out, it 
still _just_ collides with the forte, so adding a space to the end of "fine" 
solves this.  However, they still don't align since they are both avoiding 
note stems of different lengths.


\relative b, {
 \key g \major
 \clef "bass"
 \time 3/4

 \textLengthOn
 d4 _\markup{\italic "Fine "}
 \fermata
 g4 \f
 b4
}


--
Phil Holmes


- Original Message - 
From: "Jacques Menu" <imj-...@bluewin.ch>

To: "Lilypond-User Mailing List" <lilypond-user@gnu.org>
Sent: Monday, August 07, 2017 1:30 PM
Subject: Re: Alignment problem


Hello Phil,

\textLengthOn doesn't solve the problem, thanks anyway!

JM

Jacques Menu, iPhone


Le 7 août 2017 à 08:19, Menu Jacques <imj-...@bluewin.ch> a écrit :

Hello folks,

Can the « Fine » and « f » be on the same horizontal line while remaining 
attached to two differents notes, without using any separate dynamics 
voice?


Thanks!

JM

\version "2.19.55"

\relative b, {
  \key g \major
  \clef "bass"
  \time 3/4

  d4
  \fermata _\markup{\italic "Fine"}
  g4 \f
  b4
}





















___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user




___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Alignment problem

2017-08-07 Thread Jacques Menu
Hello Phil,

\textLengthOn doesn't solve the problem, thanks anyway!

JM

Jacques Menu, iPhone

> Le 7 août 2017 à 08:19, Menu Jacques  a écrit :
> 
> Hello folks,
> 
> Can the « Fine » and « f » be on the same horizontal line while remaining 
> attached to two differents notes, without using any separate dynamics voice?
> 
> Thanks!
> 
> JM
> 
> \version "2.19.55"
> 
> \relative b, {
>   \key g \major
>   \clef "bass"
>   \time 3/4
> 
>   d4
>   \fermata _\markup{\italic "Fine"}
>   g4 \f
>   b4
> }
> 
> 
> 
> 
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Alignment problem

2017-08-07 Thread Manuela Gößnitzer
A solution comes in mind but you have to assign dynamic and text to the
same note:

\version "2.19.48"
dynamictext =
#(define-event-function (text) (markup?)
   (if (string? text)
   (let* ((underscores-replaced
   (string-map
(lambda (x) (if (eq? x #\_) #\space x))
text))
  (split-text (string-split underscores-replaced #\space))
  (formatted (map
  (lambda (word)
(if (string-match "^[mrzfps]*$" word)
(markup #:dynamic word)
(markup #:normal-text #:italic word)))
  split-text)))
 #{
   #(make-dynamic-script (make-line-markup formatted))
 #})
   ;; user provided a full-blown markup, so we don't mess with it:
   #{
 #(make-dynamic-script (markup #:normal-text text))
   #}))

\relative b, {
  \key g \major
  \clef "bass"
  \time 3/4
  d4\fermata \dynamictext
  \markup {
\italic "Fine" \dynamic "p" }
  g4
  b4
}

HTH
Manuela

2017-08-07 9:41 GMT+02:00 Phil Holmes :

> textLengthOn ?
>
> --
> Phil Holmes
>
>
>
> - Original Message -
> *From:* Menu Jacques 
> *To:* Lilypond-User Mailing List 
> *Cc:* Menu Jacques 
> *Sent:* Monday, August 07, 2017 7:19 AM
> *Subject:* Alignment problem
>
> Hello folks,
>
> Can the « Fine » and « f » be on the same horizontal line while remaining
> attached to two differents notes, without using any separate dynamics voice?
>
> Thanks!
>
> JM
>
> \version "2.19.55"
>
> \relative b, {
>   \key g \major
>   \clef "bass"
>   \time 3/4
>
>   d4
>   \fermata _\markup{\italic "Fine"}
>   g4 \f
>   b4
> }
>
>
>
> --
>
> ___
> lilypond-user mailing list
> lilypond-user@gnu.org
> https://lists.gnu.org/mailman/listinfo/lilypond-user
>
>
> ___
> lilypond-user mailing list
> lilypond-user@gnu.org
> https://lists.gnu.org/mailman/listinfo/lilypond-user
>
>
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Alignment problem

2017-08-07 Thread Phil Holmes
textLengthOn ?

--
Phil Holmes


  - Original Message - 
  From: Menu Jacques 
  To: Lilypond-User Mailing List 
  Cc: Menu Jacques 
  Sent: Monday, August 07, 2017 7:19 AM
  Subject: Alignment problem


  Hello folks,


  Can the « Fine » and « f » be on the same horizontal line while remaining 
attached to two differents notes, without using any separate dynamics voice?


  Thanks!


  JM


  \version "2.19.55"

  \relative b, {
\key g \major
\clef "bass"
\time 3/4

d4
\fermata _\markup{\italic "Fine"}
g4 \f
b4
  }









--


  ___
  lilypond-user mailing list
  lilypond-user@gnu.org
  https://lists.gnu.org/mailman/listinfo/lilypond-user
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Alignment problem

2017-06-04 Thread Giampaolo Orrigo
Thanks! That solved the problem perfectly!

Geppo


On Sun, Jun 4, 2017 at 4:28 PM, Trevor Daniels <t.dani...@treda.co.uk>
wrote:

> Thanks, it's so much easier to help when we have
> an immediately accessible working code to play with.
>
> For most of this extract only two voices are needed in
> the treble clef and two in the bass clef, i.e. voices
> one and two in the treble and also voices one and two
> in the bass.  This is fine until you switch clefs in
> bar 6: then when you set the stem to be up you have two
> notes with stems up (voiceOne), but with different durations.
> Not good.
>
> Here you need a third voice if you want the
> stems in the direction indicated, like this:
>
> Alto = \relative c'' {
>   \global
>   % Music follows here.
>   \showStaffSwitch
>   b, a g2 d' g~ g4 f e d c1 c2. b4
>   \change Staff=down \voiceThree
>   \once \override NoteColumn.force-hshift = 1.5
>   a g f e d2
>   \change Staff=up \voiceTwo
>   d'4 c
> }
> You'll then find you can adjust the positioning using
> force-hshift on any note and with any value to suit your
> preference.  Perhaps like this:
>
> Alto = \relative c'' {
>   \global
>   % Music follows here.
>   \showStaffSwitch
>   b, a g2 d' g~ g4 f e d c1 c2. b4
>   \change Staff=down \voiceThree
>   \once \override NoteColumn.force-hshift = 1.5
>   a g f e d2
> \change Staff=up \voiceTwo d'4 c
> }
> Baxo = \relative c {
>   \global
>   % Music follows here.
>   \showStaffSwitch
>   g1\rest g'2. f4 e4 d c b a g f2 f'1
>   \once \override NoteColumn.force-hshift = 1.5
>   f4 e d c bf a g2~
> }
> NB Always avoid fiddling with the stem direction using
> \stemUp and \stemDown.  If you feel the need to use these
> you almost certainly should be thinking of changing the
> voice instead.
>
> Trevor
>
>
> - Original Message -
> *From:* Giampaolo Orrigo <gorr...@gmail.com>
> *To:* Trevor Daniels <t.dani...@treda.co.uk>
> *Cc:* lilypond-user@gnu.org
> *Sent:* Sunday, June 04, 2017 6:58 PM
> *Subject:* Re: Alignment problem
>
> Trevor,
>
> Thanks for the suggestion. I didn't want to overflow the email with code,
> but I see your point.
>
> Here the compilable example:
>
> \version "2.18.2"
> \language "english"
>
>
> \paper {
>   #(set-paper-size "letter")
> }
>
>
> global = {
>   \key c \major
>   \time 2/2
> }
>
> Tiple = \relative c'' {
>   \global
>   % Music follows here.
>   \showStaffSwitch
>   d2. c4 b a g2~ g g c2. b4 a g f2 a1 bf2. a4
> }
>
> Alto = \relative c'' {
>   \global
>   % Music follows here.
>   \showStaffSwitch
>   b, a g2 d' g~ g4 f e d c1 c2. b4 \change Staff=down \stemUp a g f e d2
> \change Staff=up \stemDown d'4 c
> }
>
> Tenor = \relative c' {
>   \global
>   % Music follows here.
>   \showStaffSwitch
>   g1 g g a a a g
> }
>
> Baxo = \relative c {
>   \global
>   % Music follows here.
>   \showStaffSwitch
>   g1\rest g'2. f4 e4 d c b a g f2 f'1 f4 e d c bf a g2~
> }
>
>
>
> \score {
>   \new PianoStaff \with {
> instrumentName = "Organ"
>   } <<
> \new Staff = "up" \with {
> } << \Tiple \\ \Alto >>
> \new Staff = "down" \with {
> } { \clef bass << \Tenor \\ \Baxo >> }
>   >>
>   \layout { }
> }
>
> And here the result:
> [image: Inline image 1]
>
> As you all can see, at staff 6 and 7 Tenor and Alto overlap. I tried to
> insert \override NoteColumn.force-hshift = #n with various n's both to the
> Alto and the Tenor but it has no effect whatsoever.
>
> Thanks for the help!
>
> Geppo
> On Sun, Jun 4, 2017 at 12:35 PM, Trevor Daniels <t.dani...@treda.co.uk>
> wrote:
>
>> Hi Geppo
>>
>> You'd be more likely to get a reply if you posted an
>> immediately compilable example showing the problem.
>>
>> Trevor
>>
>>
>> - Original Message -
>> *From:* Giampaolo Orrigo <gorr...@gmail.com>
>> *To:* lilypond-user@gnu.org
>> *Sent:* Saturday, June 03, 2017 12:02 AM
>> *Subject:* Alignment problem
>>
>> Hi,
>>
>> trying to type an organ piece.
>> Here the original code:
>>
>> Tiple = \relative c'' {
>>   \global
>>   % Music follows here.
>>   \showStaffSwitch
>>   d'2. c4 b a g2~ g g c2. b4 a g f2 a1 bf2. a4
>> }
>>
>> Alto = \relative c'' {
>>   \global
>>   % Music follows here.
>>   \showStaffSwitch
>>   b a g2 d' g~ g4 f e d c1 c2. b4 \change Staff=down \stemUp a g f e d2
>> \change Staff=

Re: Alignment problem

2017-06-04 Thread Giampaolo Orrigo
Trevor,

Thanks for the suggestion. I didn't want to overflow the email with code,
but I see your point.

Here the compilable example:

\version "2.18.2"
\language "english"


\paper {
  #(set-paper-size "letter")
}


global = {
  \key c \major
  \time 2/2
}

Tiple = \relative c'' {
  \global
  % Music follows here.
  \showStaffSwitch
  d2. c4 b a g2~ g g c2. b4 a g f2 a1 bf2. a4
}

Alto = \relative c'' {
  \global
  % Music follows here.
  \showStaffSwitch
  b, a g2 d' g~ g4 f e d c1 c2. b4 \change Staff=down \stemUp a g f e d2
\change Staff=up \stemDown d'4 c
}

Tenor = \relative c' {
  \global
  % Music follows here.
  \showStaffSwitch
  g1 g g a a a g
}

Baxo = \relative c {
  \global
  % Music follows here.
  \showStaffSwitch
  g1\rest g'2. f4 e4 d c b a g f2 f'1 f4 e d c bf a g2~
}



\score {
  \new PianoStaff \with {
instrumentName = "Organ"
  } <<
\new Staff = "up" \with {
} << \Tiple \\ \Alto >>
\new Staff = "down" \with {
} { \clef bass << \Tenor \\ \Baxo >> }
  >>
  \layout { }
}

And here the result:
[image: Inline image 1]

As you all can see, at staff 6 and 7 Tenor and Alto overlap. I tried to
insert \override NoteColumn.force-hshift = #n with various n's both to the
Alto and the Tenor but it has no effect whatsoever.

Thanks for the help!

Geppo
On Sun, Jun 4, 2017 at 12:35 PM, Trevor Daniels 
wrote:

> Hi Geppo
>
> You'd be more likely to get a reply if you posted an
> immediately compilable example showing the problem.
>
> Trevor
>
>
> - Original Message -
> *From:* Giampaolo Orrigo 
> *To:* lilypond-user@gnu.org
> *Sent:* Saturday, June 03, 2017 12:02 AM
> *Subject:* Alignment problem
>
> Hi,
>
> trying to type an organ piece.
> Here the original code:
>
> Tiple = \relative c'' {
>   \global
>   % Music follows here.
>   \showStaffSwitch
>   d'2. c4 b a g2~ g g c2. b4 a g f2 a1 bf2. a4
> }
>
> Alto = \relative c'' {
>   \global
>   % Music follows here.
>   \showStaffSwitch
>   b a g2 d' g~ g4 f e d c1 c2. b4 \change Staff=down \stemUp a g f e d2
> \change Staff=up \stemDown d'4 c
> }
>
> Tenor = \relative c' {
>   \global
>   % Music follows here.
>   \showStaffSwitch
>   g g g a a a g
> }
>
> Baxo = \relative c {
>   \global
>   % Music follows here.
>   \showStaffSwitch
>   g\rest g'2. f4 e4 d c b a g f2 f'1 f4 e d c bf a g2~
> }
>
> When compiling I get the attached Capture1.jpg. The command
>
> \override NoteColumn.force-hshift = #-0.7
>
> Has no effect neither on the Alto nor on the Tenor.
>
> How can I correct the alignment of the notes?
>
> Thanks!
>
> Geppo
>
>
> 
>  Virus-free.
> www.avg.com
> 
> <#m_-4807866917347274571_DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
>
> --
>
> ___
> lilypond-user mailing list
> lilypond-user@gnu.org
> https://lists.gnu.org/mailman/listinfo/lilypond-user
>
>
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Alignment problem

2017-06-04 Thread Trevor Daniels
Hi Geppo

You'd be more likely to get a reply if you posted an
immediately compilable example showing the problem.

Trevor

  - Original Message -
  From: Giampaolo Orrigo
  To: lilypond-user@gnu.org
  Sent: Saturday, June 03, 2017 12:02 AM
  Subject: Alignment problem


  Hi,


  trying to type an organ piece.
  Here the original code:


  Tiple = \relative c'' {
\global
% Music follows here.
\showStaffSwitch
d'2. c4 b a g2~ g g c2. b4 a g f2 a1 bf2. a4

  }


  Alto = \relative c'' {
\global
% Music follows here.
\showStaffSwitch
b a g2 d' g~ g4 f e d c1 c2. b4 \change Staff=down \stemUp a g f e d2 
\change Staff=up \stemDown d'4 c

  }


  Tenor = \relative c' {
\global
% Music follows here.
\showStaffSwitch
g g g a a a g

  }


  Baxo = \relative c {
\global
% Music follows here.
\showStaffSwitch
g\rest g'2. f4 e4 d c b a g f2 f'1 f4 e d c bf a g2~

  }


  When compiling I get the attached Capture1.jpg. The command


  \override NoteColumn.force-hshift = #-0.7



  Has no effect neither on the Alto nor on the Tenor.


  How can I correct the alignment of the notes?


  Thanks!


  Geppo

   Virus-free. www.avg.com



--


  ___
  lilypond-user mailing list
  lilypond-user@gnu.org
  https://lists.gnu.org/mailman/listinfo/lilypond-user


---
This email has been checked for viruses by AVG.
http://www.avg.com
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Alignment problem with instrument name

2013-04-24 Thread Kieren MacMillan
Hi Peter,

 As a newbie I'm a bit surprised that Lilypond doesn't do that automatically.

1. It places the left edge of the music automatically. When you think about it, 
this makes far more sense than having the left edge placed according to the 
width of the instrument names (and thus potentially moving around on different 
systems, as the instrument names change).

2. As a non-newbie, what surprises me is that the instrument name padding 
doesn't work as expected.  =(

Cheers,
Kieren.
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Alignment problem with instrument name

2013-04-24 Thread Phil Holmes
- Original Message - 
From: Peter Toye

To: Wim van Dommelen
Cc: lilypond-user@gnu.org
Sent: Tuesday, April 23, 2013 9:35 PM
Subject: Re: Alignment problem with instrument name

Thanks. As a newbie I'm a bit surprised that Lilypond doesn't do that 
automatically. But at least I've got a workaround.


It's a known bug.  http://code.google.com/p/lilypond/issues/detail?id=766

--
Phil Holmes




___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Alignment problem with instrument name

2013-04-23 Thread Wim van Dommelen
What you need is setting the indent-values and tune these to what you need/want.'indent' in the paper block is for the first system, 'short-indent' for all others. Notation manual (v.2.16.0) page 485/486.Small compiling example attached.Another option could be to make a column out of "C.A." that delivers you more space. Regards,Wim.

Untitled10.ly
Description: Binary data
Title: Alignment problem with instrument name
 On 23 Apr 2013, at 20:20 , Peter Toye wrote:I'm having a problem with getting instrument names aligned with the edge of the paper. With the code below the short instrument name is too far to the left and part of the letter "C" is cut off (see the attachment if that uploads OK). Is this a bug or do I need to do something to get it properly aligned?  \new Staff \with { instrumentName = "Cor Anglais" shortInstrumentName = "C.A." } %\transpose c g % CAPart holds the music text \CAPart   Regards,  Peter mailto:lilyp...@ptoye.com www.ptoye.comLilypond1.png___lilypond-user mailing listlilypond-user@gnu.orghttps://lists.gnu.org/mailman/listinfo/lilypond-user___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Alignment problem with instrument name

2013-04-23 Thread Peter Toye
Wim,

Thanks. As a newbie I'm a bit surprised that Lilypond doesn't do that 
automatically. But at least I've got a workaround.

Best regards,

Peter
mailto:lilyp...@ptoye.com
www.ptoye.com

-
Tuesday, April 23, 2013, 8:50:04 PM, you wrote:


What you need is setting the indent-values and tune these to what you need/want.

'indent' in the paper block is for the first system, 'short-indent' for all 
others. Notation manual (v.2.16.0) page 485/486.
Small compiling example attached.

Another option could be to make a column out of C.A. that delivers you more 
space.

Regards,
Wim.
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Alignment problem with RehearsalMark

2007-08-30 Thread Neil Puttock
Hi Mats,

On 8/28/07, Mats Bengtsson [EMAIL PROTECTED] wrote:


 Here's an example, which I also send to bug-lilypond.

 \relative { \mark C c1 | \mark D d  | \clef alto
 \mark E e | \mark F f |
 }

   % Uncommenting this layout block, causes both the C and the E marks
   % to move to the left!
 %{
 \layout {
 \context { \Score
 \remove Staff_collecting_engraver
 \remove Mark_engraver
 }
 \context { \Staff
 \consists Staff_collecting_engraver
 \consists Mark_engraver
 }
 }
 %}


I don't mean to hassle you, but nothing's appeared on bug-lilypond yet. If
you like, I'll post a report myself.

Regards,
Neil
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Alignment problem with RehearsalMark

2007-08-30 Thread Mats Bengtsson

Quoting Neil Puttock [EMAIL PROTECTED]:



I don't mean to hassle you, but nothing's appeared on bug-lilypond yet. If
you like, I'll post a report myself.


I don't know where you looked, but it's certainly in the mailing list 
archives, 
http://lists.gnu.org/archive/html/bug-lilypond/2007-08/msg00235.html
If you are subscribed to both lists, you will only receive one copy of 
emails that are addressed to both.


  /Mats




___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Alignment problem with RehearsalMark

2007-08-30 Thread Neil Puttock
On 8/30/07, Mats Bengtsson [EMAIL PROTECTED] wrote:

 Quoting Neil Puttock [EMAIL PROTECTED]:

 
  I don't mean to hassle you, but nothing's appeared on bug-lilypond yet.
 If
  you like, I'll post a report myself.

 I don't know where you looked, but it's certainly in the mailing list
 archives,
 http://lists.gnu.org/archive/html/bug-lilypond/2007-08/msg00235.html
 If you are subscribed to both lists, you will only receive one copy of
 emails that are addressed to both.

/Mats



Oops! Sorry about that - I checked bug-lilypond a few days ago but must've
missed it.

Thanks,
Neil
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Alignment problem with RehearsalMark

2007-08-30 Thread Graham Percival

Thanks, added as
http://code.google.com/p/lilypond/issues/detail?id=432

Cheers,
- Graham

Mats Bengtsson wrote:



Neil Puttock wrote:


Just to clarify this, are you saying that this happens as a result of 
the default setting of break-align-symbols combined with moving the 
mark engraver to the staff context?

No, I was just speculating, without having really tested my hypothesis.
Sorry about that. Now that I have made some experiments, it seems that
something else is going on when you move the engraver to the staff 
context.

Here's an example, which I also send to bug-lilypond.

\relative { \mark C c1 | \mark D d  | \clef alto
\mark E e | \mark F f |
}

 % Uncommenting this layout block, causes both the C and the E marks
 % to move to the left!
%{
\layout {
   \context { \Score
   \remove Staff_collecting_engraver
   \remove Mark_engraver
   }
   \context { \Staff
   \consists Staff_collecting_engraver
   \consists Mark_engraver
   }
   }
%}



  /Mats


___
bug-lilypond mailing list
[EMAIL PROTECTED]
http://lists.gnu.org/mailman/listinfo/bug-lilypond





___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Alignment problem with RehearsalMark

2007-08-28 Thread Mats Bengtsson



Neil Puttock wrote:


Just to clarify this, are you saying that this happens as a result of 
the default setting of break-align-symbols combined with moving the 
mark engraver to the staff context?

No, I was just speculating, without having really tested my hypothesis.
Sorry about that. Now that I have made some experiments, it seems that
something else is going on when you move the engraver to the staff context.
Here's an example, which I also send to bug-lilypond.

\relative { \mark C c1 | \mark D d  | \clef alto
\mark E e | \mark F f |
}

 % Uncommenting this layout block, causes both the C and the E marks
 % to move to the left!
%{
\layout {
   \context { \Score
   \remove Staff_collecting_engraver
   \remove Mark_engraver
   }
   \context { \Staff
   \consists Staff_collecting_engraver
   \consists Mark_engraver
   }
   }
%}



  /Mats


___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Alignment problem with RehearsalMark

2007-08-27 Thread Neil Puttock
Hi Mats,

On 8/27/07, Mats Bengtsson [EMAIL PROTECTED] wrote:



 Neil Puttock wrote:
 
  I've just encountered another problem -  clef changes skew the
  rehearsal mark positioning to the left of the bar-line:
 
 That's since the default setting for the break-align-symbols property of
 the
 RehearsalMark objects is #'(staff-bar clef), which gives the desired
 layout
 if the rehearsal mark appears at a line break.


Just to clarify this, are you saying that this happens as a result of the
default setting of break-align-symbols combined with moving the mark
engraver to the staff context?
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Alignment problem with RehearsalMark

2007-08-26 Thread Neil Puttock
On 8/14/07, Neil Puttock [EMAIL PROTECTED] wrote:

 Hi everybody,

 Here's a layout section I'm using to allow rehearsal marks to be printed
 on more than one stave in an orchestral score:

 \layout {
 \context { \Score
 \remove Staff_collecting_engraver
 \remove Mark_engraver
 }
 \context { \Staff
 \consists Staff_collecting_engraver
 \consists Mark_engraver
 }
 }

 This works fine, apart from one snag: overriding #'break-align-symbol has
 no effect, unless the engravers are moved back the the \Score context. Is
 there something else I should be moving to the \Staff context to make
 RehearsalMark see the override, or is this a bug?

 Thanks,
 Neil



I've just encountered another problem -  clef changes skew the rehearsal
mark positioning to the left of the bar-line:

\version 2.11.30
\paper { ragged-right = ##t }
one = {R1 \mark \default R \mark \default R }
two = {R1 \clef bass R R }
\score {
\new GrandStaff 
\context Staff = one \one
\context Staff = two \two

\layout {
\context { \Score
\remove Staff_collecting_engraver
\remove Mark_engraver
}
\context { \Staff
\consists Staff_collecting_engraver
\consists Mark_engraver
}
}
}

I'm afraid to say that the mark engraver's unusable when moved to the \Staff
context. It's rather unfortunate, since it's common for orchestral scores to
have rehearsal marks at the top of the score and above the First Violins.
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Alignment problem with RehearsalMark

2007-08-26 Thread Mats Bengtsson



Neil Puttock wrote:


I've just encountered another problem -  clef changes skew the 
rehearsal mark positioning to the left of the bar-line:


That's since the default setting for the break-align-symbols property of 
the

RehearsalMark objects is #'(staff-bar clef), which gives the desired layout
if the rehearsal mark appears at a line break.

  /Mats

\version 2.11.30 
\paper { ragged-right = ##t }
one = {R1 \mark \default R \mark \default R }
two = {R1 \clef bass R R }
\score {
\new GrandStaff 
\context Staff = one \one
\context Staff = two \two

\layout {
\context { \Score
\remove Staff_collecting_engraver
\remove Mark_engraver
}
\context { \Staff
\consists Staff_collecting_engraver
\consists Mark_engraver
}
}
}

I'm afraid to say that the mark engraver's unusable when moved to the 
\Staff context. It's rather unfortunate, since it's common for 
orchestral scores to have rehearsal marks at the top of the score and 
above the First Violins.



___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user
  


--
=
Mats Bengtsson
Signal Processing
Signals, Sensors and Systems
Royal Institute of Technology
SE-100 44  STOCKHOLM
Sweden
Phone: (+46) 8 790 8463 
   Fax:   (+46) 8 790 7260
Email: [EMAIL PROTECTED]
WWW: http://www.s3.kth.se/~mabe
=



___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Alignment problem with RehearsalMark

2007-08-20 Thread Neil Puttock
Hi Valentin,

I've tried using the following:

\override Staff.RehearsalMark #'break-align-symbol = #'key-signature (
2.10.29);
\override Staff.RehearsalMark #'break-align-symbols = #'(key-signature) (
2.11.29).

Unfortunately, neither worked.

Regards,
Neil
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Alignment problem with RehearsalMark

2007-08-20 Thread Valentin Villenave
2007/8/20, Neil Puttock [EMAIL PROTECTED]:

 Unfortunately, neither worked.

Yes, actually I'm experiencing many problems with this tweak too; can
anybody tell Neil and me if this should be regarded as a bug, or if
we're doing something wrong?

Valentin


___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Alignment problem with RehearsalMark

2007-08-19 Thread Valentin Villenave
2007/8/14, Neil Puttock [EMAIL PROTECTED]:

 Here's a layout section I'm using to allow rehearsal marks to be printed on
 more than one stave in an orchestral score:

 This works fine, apart from one snag: overriding #'break-align-symbol has no
 effect

You might want to use the new syntax, depending on which lilyPond
version you're using: the updated syntax is
\override YourContext.YourGrob #'break-align-symbols = #'(your-interface)

see the new Doc for more informations

Regards,
Valentin


___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user