Re: Text extender in repeat

2015-06-04 Thread Pierre Perol-Schneider
Hi Simon,

2015-06-03 21:23 GMT+02:00 Simon Albrecht simon.albre...@mail.de:
...

 Pierre, it’s up to you if you’d like to use this in the LSR snip.

...

Thank you! 'Look's perfect to me: http://lsr.di.unimi.it/LSR/Item?id=1006

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


Re: Text extender in repeat

2015-06-03 Thread Jayaratna
 No, we shouldn’t, since it is perfectly all right to left-align a
 syllable which has a melisma. 

Now the syllables 'the' are aligned left, but they should be moved further
left because the melisma sign that follows is barely visible.

 but I’d correct this with { \tweak self-alignment-X -0.5
 flow’r } or similar.

This code does not give the desired shift. Not even changing -0.5 to -550.

 Note the correct apostrophe ’ I used instead of
 ').

When using my .otf font the apostrohe appears correct.

http://lilypond.1069038.n5.nabble.com/file/n177447/apostrophe.png 



--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/Text-extender-in-repeat-tp177410p177447.html
Sent from the User mailing list archive at Nabble.com.

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


Re: Text extender in repeat

2015-06-03 Thread Jayaratna
 It will be, if the following syllable will be successfully shifted (see
 below). But IMO it’s no problem to leave the __ out in cases like this
 (short melisma, long syllable). 

Now I see your point: moving right the following syllable.

 \once\override
 LyricText.self-alignment-X = #-0.7 

Works: thank you!

 Then that’s a peculiarity of your font. 

Shouldn't it be the normal behaviour of an otf font?

Best regards,
Andy



--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/Text-extender-in-repeat-tp177410p177451.html
Sent from the User mailing list archive at Nabble.com.

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


Re: Text extender in repeat

2015-06-03 Thread Simon Albrecht

Am 03.06.2015 um 19:12 schrieb Jayaratna:

Dear Peter and Pierre,

thank you so much, it works. The \null solution is better IMHO.

Now before keeping this snippet online we should move left both syllables
'the',
No, we shouldn’t, since it is perfectly all right to left-align a 
syllable which has a melisma. I agree the current LSR output isn’t quite 
convincing, but I’d correct this with { \tweak self-alignment-X -0.5 
flow’r } or similar. (Note the correct apostrophe ’ I used instead of 
'). Pierre, it’s up to you if you’d like to use this in the LSR snip.


Yours, Simon

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


Re: Text extender in repeat

2015-06-03 Thread Simon Albrecht

Hello,

Am 03.06.2015 um 21:35 schrieb Jayaratna:

No, we shouldn’t, since it is perfectly all right to left-align a
syllable which has a melisma.

Now the syllables 'the' are aligned left,

left-aligned :-)

  but they should be moved further
left because the melisma sign that follows is barely visible.
It will be, if the following syllable will be successfully shifted (see 
below). But IMO it’s no problem to leave the __ out in cases like this 
(short melisma, long syllable).



but I’d correct this with { \tweak self-alignment-X -0.5
flow’r } or similar.

This code does not give the desired shift. Not even changing -0.5 to -550.
Sorry, I should have tested it. You need { \once\override 
LyricText.self-alignment-X = #-0.7 } (with whatever value you like).



Note the correct apostrophe ’ I used instead of
').

When using my .otf font the apostrohe appears correct.

Then that’s a peculiarity of your font.

Best regards, Simon

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


Re: Text extender in repeat

2015-06-03 Thread Peter Crighton
This also works for hyphens, by the way:
\markup \null --

Very useful, thanks, Pierre!


--
Peter Crighton | Musician  Music Engraver based in Mainz, Germany
http://www.petercrighton.de

2015-06-02 23:31 GMT+02:00 Pierre Perol-Schneider 
pierre.schneider.pa...@gmail.com:

 Hum, 'looks like the extender accepts 'null'...
 So even more simple :

 ...
 \addlyrics {
of Prin- ces all __ _ _
the __  _ flow'r.
Who took a-
%% volta 2
\tweak self-alignment-X #LEFT
\markup \null __ the __ _ flow'r.
 }
 ...

 Cheers,
 Pierre

 2015-06-02 22:42 GMT+02:00 Pierre Perol-Schneider 
 pierre.schneider.pa...@gmail.com:

 Hi Andy,

 2015-06-02 18:25 GMT+02:00 Jayaratna jayara...@gmail.com:

 Dear Lilypondians,

 I found a solution to a similar problem given years ago on the mailing
 list,
 but I can't understand it. Maybe it works on earlier versions?


 Where is it?
 Could you provide us any link?


 Here is my point, last bar extender should begin at the beginning of the
 bar, not before:


 Here's a simple one:

 \version 2.18.2

 %% repeat extender:
 voltaExt = \markup\concat { \hspace #-2 \transparent . }

 \score {
   
 \new Staff \relative c'' {
   \time 2/1
   \repeat volta 2 {
 r4 g4 d'2. a4 bes2~
 bes  a2 g1~
   }
   \alternative{
{ g2 fis4 e fis1 d'1 c2 bes}
{ g\repeatTie fis4 e fis1 }
   }
   \bar |.
 }
 \addlyrics {
of Prin- ces all __ _ _
the __  _ flow'r.
Who took a-
%% volta 2
\voltaExt __ the __ _ flow'r.
 }
   
 }

 Hope this helps,
 Cheers,
 Pierre



 ___
 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: Text extender in repeat

2015-06-03 Thread Pierre Perol-Schneider
Added to the LSR: http://lsr.di.unimi.it/LSR/Item?id=1006 (tagged 'docs').
Cheers,
Pierre

2015-06-02 23:31 GMT+02:00 Pierre Perol-Schneider 
pierre.schneider.pa...@gmail.com:

 Hum, 'looks like the extender accepts 'null'...
 So even more simple :

 ...
 \addlyrics {
of Prin- ces all __ _ _
the __  _ flow'r.
Who took a-
%% volta 2
\tweak self-alignment-X #LEFT
\markup \null __ the __ _ flow'r.
 }
 ...

 Cheers,
 Pierre

 2015-06-02 22:42 GMT+02:00 Pierre Perol-Schneider 
 pierre.schneider.pa...@gmail.com:

 Hi Andy,

 2015-06-02 18:25 GMT+02:00 Jayaratna jayara...@gmail.com:

 Dear Lilypondians,

 I found a solution to a similar problem given years ago on the mailing
 list,
 but I can't understand it. Maybe it works on earlier versions?


 Where is it?
 Could you provide us any link?


 Here is my point, last bar extender should begin at the beginning of the
 bar, not before:


 Here's a simple one:

 \version 2.18.2

 %% repeat extender:
 voltaExt = \markup\concat { \hspace #-2 \transparent . }

 \score {
   
 \new Staff \relative c'' {
   \time 2/1
   \repeat volta 2 {
 r4 g4 d'2. a4 bes2~
 bes  a2 g1~
   }
   \alternative{
{ g2 fis4 e fis1 d'1 c2 bes}
{ g\repeatTie fis4 e fis1 }
   }
   \bar |.
 }
 \addlyrics {
of Prin- ces all __ _ _
the __  _ flow'r.
Who took a-
%% volta 2
\voltaExt __ the __ _ flow'r.
 }
   
 }

 Hope this helps,
 Cheers,
 Pierre



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


Re: Text extender in repeat

2015-06-03 Thread Jayaratna
Dear Peter and Pierre,

thank you so much, it works. The \null solution is better IMHO.

Now before keeping this snippet online we should move left both syllables
'the', to show the melisma on the second crotchet, which was going to be my
second question.

TIA,
Andy



--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/Text-extender-in-repeat-tp177410p177437.html
Sent from the User mailing list archive at Nabble.com.

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


Re: Text extender in repeat

2015-06-02 Thread Pierre Perol-Schneider
Hi Andy,

2015-06-02 18:25 GMT+02:00 Jayaratna jayara...@gmail.com:

 Dear Lilypondians,

 I found a solution to a similar problem given years ago on the mailing
 list,
 but I can't understand it. Maybe it works on earlier versions?


Where is it?
Could you provide us any link?


 Here is my point, last bar extender should begin at the beginning of the
 bar, not before:


Here's a simple one:

\version 2.18.2

%% repeat extender:
voltaExt = \markup\concat { \hspace #-2 \transparent . }

\score {
  
\new Staff \relative c'' {
  \time 2/1
  \repeat volta 2 {
r4 g4 d'2. a4 bes2~
bes  a2 g1~
  }
  \alternative{
   { g2 fis4 e fis1 d'1 c2 bes}
   { g\repeatTie fis4 e fis1 }
  }
  \bar |.
}
\addlyrics {
   of Prin- ces all __ _ _
   the __  _ flow'r.
   Who took a-
   %% volta 2
   \voltaExt __ the __ _ flow'r.
}
  
}

Hope this helps,
Cheers,
Pierre
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Text extender in repeat

2015-06-02 Thread Pierre Perol-Schneider
Hum, 'looks like the extender accepts 'null'...
So even more simple :

...
\addlyrics {
   of Prin- ces all __ _ _
   the __  _ flow'r.
   Who took a-
   %% volta 2
   \tweak self-alignment-X #LEFT
   \markup \null __ the __ _ flow'r.
}
...

Cheers,
Pierre

2015-06-02 22:42 GMT+02:00 Pierre Perol-Schneider 
pierre.schneider.pa...@gmail.com:

 Hi Andy,

 2015-06-02 18:25 GMT+02:00 Jayaratna jayara...@gmail.com:

 Dear Lilypondians,

 I found a solution to a similar problem given years ago on the mailing
 list,
 but I can't understand it. Maybe it works on earlier versions?


 Where is it?
 Could you provide us any link?


 Here is my point, last bar extender should begin at the beginning of the
 bar, not before:


 Here's a simple one:

 \version 2.18.2

 %% repeat extender:
 voltaExt = \markup\concat { \hspace #-2 \transparent . }

 \score {
   
 \new Staff \relative c'' {
   \time 2/1
   \repeat volta 2 {
 r4 g4 d'2. a4 bes2~
 bes  a2 g1~
   }
   \alternative{
{ g2 fis4 e fis1 d'1 c2 bes}
{ g\repeatTie fis4 e fis1 }
   }
   \bar |.
 }
 \addlyrics {
of Prin- ces all __ _ _
the __  _ flow'r.
Who took a-
%% volta 2
\voltaExt __ the __ _ flow'r.
 }
   
 }

 Hope this helps,
 Cheers,
 Pierre


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


Text extender in repeat

2015-06-02 Thread Jayaratna
Dear Lilypondians,

I found a solution to a similar problem given years ago on the mailing list,
but I can't understand it. Maybe it works on earlier versions?

Here is my point, last bar extender should begin at the beginning of the
bar, not before:

\version 2.18.2
\score { 
  \new Staff \relative c'' { \time 2/1
  \repeat volta 2 {
  r4 g4 d'2. a4 bes2~
  bes  a2 g1~  
  } 
 \alternative{
   { g2 fis4 e fis1
  d'1 c2 bes}
  {g\repeatTie fis4 e fis1 }
  }
\bar |.
  }

\addlyrics { \lyricmode { 
 of Prin- ces all 
 __ _ _ 
   the __  _ flow'r. 
 Who took a- __  
 _ the __ _ flow'r. 
} }

}

http://lilypond.1069038.n5.nabble.com/file/n177410/provina.png 


TIA,
Andy



--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/Text-extender-in-repeat-tp177410.html
Sent from the User mailing list archive at Nabble.com.

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