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