Re: Moving of lyrics in LilyPond version 2.18.2.

2016-12-21 Thread Thomas Morley
Hi Miroslaw,

your post is something like "I want to do . How
to get there?" and so more appropriate for the user list.
This is the _bug_-list and you don't even report one. Btw, _if_ you
found a bug a tiny example is _needed_.

That said, there is no real builtin method for your wish, so you will
need a workaround.

In detail:

2016-12-21 18:48 GMT+01:00 Mirosław Doroszewski
<miroslaw.doroszew...@gmail.com>:
> Moving of lyrics in LilyPond version 2.18.2.
>
> 1. In song books sometimes after each verse of lyrics is put an
> asterisk (*).

Personally I've never seen it.

> Using it implies that syllable is moved left too much.

No idea what you mean..

> 2. I have not find solution for it in manuals.

See above.

> 3. My solution not perfect: putting three (sometimes two or four)
> linked underscores befor syllable not separately, i.e.: "syl-
> ___lable_*". If done, placment of syllables and staff objects are
> printed correctly.
> 4. I received solution: using overriding of self-alignment-X:
> left-aligned = { \once \override LyricText.self-alignment-X = #LEFT }
> center-aligned = { \once \override LyricText.self-alignment-X = #CENTER }
> right-aligned = { \once \override LyricText.self-alignment-X = #1 }

Using self-alignment-X _is_ one of the possible work-arounds.
Note,
a) every number is possible (in general)
b) one could write a function to let the original syllable in place,
even if something is added.
Ask on -user, I'll not have the time to code before next year, though.

> 5. It is not a point I did mean. When an asterisk (*) is put after a
> syllable, it is centered by default. That implies that main part of
> syllable is not centered. The point is: adding an asterisk should not
> move syllable,

Well, that's your demand and not a common use-case, as far as I know.

> a print has to be the same after adding the asterisk —
> not move left. So the solution (4. as above) with overriding of
> self-alignment-X to left — is not perfect.


Other possibilities:
(1) http://lsr.di.unimi.it/LSR/Item?id=888
(2) Or perhaps:

<<
\new Voice = "v" \relative c'' { c c c c \break d d d d }
\new Lyrics \lyricsto "v" {
\override Lyrics.StanzaNumber.direction = #1
foo foo foo \set stanza = "*" foo
bar bar bar \set stanza = "*" bar
}
>>


Final concluion: no bug

Cheers,
  Harm

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


Moving of lyrics in LilyPond version 2.18.2.

2016-12-21 Thread Mirosław Doroszewski
Moving of lyrics in LilyPond version 2.18.2.

1. In song books sometimes after each verse of lyrics is put an
asterisk (*). Using it implies that syllable is moved left too much.
2. I have not find solution for it in manuals.
3. My solution not perfect: putting three (sometimes two or four)
linked underscores befor syllable not separately, i.e.: "syl-
___lable_*". If done, placment of syllables and staff objects are
printed correctly.
4. I received solution: using overriding of self-alignment-X:
left-aligned = { \once \override LyricText.self-alignment-X = #LEFT }
center-aligned = { \once \override LyricText.self-alignment-X = #CENTER }
right-aligned = { \once \override LyricText.self-alignment-X = #1 }
5. It is not a point I did mean. When an asterisk (*) is put after a
syllable, it is centered by default. That implies that main part of
syllable is not centered. The point is: adding an asterisk should not
move syllable, a print has to be the same after adding the asterisk —
not move left. So the solution (4. as above) with overriding of
self-alignment-X to left — is not perfect.

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


Re: Moving of lyrics in LilyPond version 2.18.2.

2016-12-20 Thread Simon Albrecht

Same here.


On 20.12.2016 20:51, Mirosław Doroszewski wrote:

\version "2.18.2"
\include "deutsch.ly"

%{
Moving of lyrics in LilyPond version 2.18.2.

1. In song books sometimes after each verse of lyrics is put asterisk
(*). Using it implies that syllable is moved left too much.
2. I have not find solution for it in manuals.
3. My solution not perfect: putting three (sometimes two or four)
linked underscores befor syllable not separately, i.e.: "syl-
___lable_*". If done, placment of syllables and staff objects are
printed correctly.
4. With this solution lyric text is moved only right: putting
underscores after syllable is without effect.
5. Moving same lyric text is without correct effect.
6. So, please, describe or make solution: moving lyrics with staff objects.
%}

t = { \bar "" }
lewe = { \once \override LyricText.self-alignment-X = #LEFT }

globalne = { \key es \major \time 4/4 \autoBeamOff }

głos = \relative c'' {
\repeat volta 2 {
g2 g b b es, es g g
c2 f, b es,4( as) g2( f4.) es8 es2. r4
}
\cadenzaOn
es8 \t g \t b\breve \t as8 \t b \t c4 \t b
b\breve \t c8 \t as \t b[ \t as] \t g4
\bar "|."
\cadenzaOff
}
tekst = \lyricmode {
\set stanza = #"Ref.: "
Chry- stus Wo- dzem, Chry- stus Kró- ___lem,_*
Chry- stus, Chry- stus Wład- cą ___nam!_*
\set stanza = #" 1. "
Bo- ga \lewe naszego_chwalcie wszyst- kie zie- ___mie,_*
\lewe Daj_Mu_cześć_winną_całe ludz- kie ple- mię.
}
\score {
\new Staff <<
\new Voice = "1-melodiiI" { \transpose es c { \globalne \głos } 
}
\new Lyrics \lyricsto "1-melodiiI" { \tekst }
>>
}


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



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