Re: Lyrics, barlines and whiteout
I was going to say that I didn't see a problem with doing the file without the bar lines in the text and removing the bar engraver, and then I realised that you're using 2.10.33. While I can't speak for that version, in 2.11, it works fine without the workaround. I would highly recommend 2.11. Especially if you're just starting. It makes lilypond a lot more usable. Am 08.05.2008 um 08:36 schrieb Kim Bastin: I'm a pretty new Lilypond user, about a week old in fact, so please be gentle. As a learning exercise I have been entering a keyboard arrangement of one of Reger's Geistliche Gesänge, including the lyrics, which I had previously done in Sibelius (opening bars appended as Morgengesang.ly). I have persuaded the lyrics to mask the barlines where they overlap by embedding the affected syllables in the construct \markup { \whiteout \pad-markup #0.5 höch } -- which works but makes ugly and confusing code. I tried writing a function: mask = #(define-music-function (parser location syllable) (string?) #{ \markup { \whiteout \pad-markup #0.5 $syllable } #}) but the result is a log full of errors and no compile. I'm probably attempting something I'm not ready for. (Anyone care to correct it?) However, rather than hunt for overlapping syllables, it would be more efficient if some equivalent of \whiteout and \pad-markup #0.5 could be applied to the lyrics globally. I've looked unsuccessfully for a way of doing this. Is there one? I suppose it would involve overriding properties, but I can't identify the relevant ones. Thanks %charset=utf-8 \version "2.10.33" \include "english.ly" \paper { paper-width = 215\mm paper-height = 310\mm } #(set-global-staff-size 17) \header { tagline = ##f composer = "Max Reger" title = "Morgengesang" } upper = { \clef treble \key ef \major \time 4/4 \partial 4 << \relative ef' \new Voice = "1" { \voiceOne 4 | \oneVoice 4 2 | \voiceOne 2 df'8 c \oneVoice 4 | %b3 2 r4 | 2. 4 | \voiceOne ef' c8 df \oneVoice 4 | %b6 2 r4 | 4 \voiceOne \oneVoice | 4 \voiceOne \oneVoice 8 | %b9 4 \voiceOne c | 4 \oneVoice \voiceOne c' | g f | %b12 \oneVoice 2. r4 | 2 4 \voiceOne g8 af | \oneVoice 4 \voiceOne \oneVoice c'> | %b15 4\fermata \voiceOne c'8 d \oneVoice 4 \voiceOne | \oneVoice 4 \voiceOne c8 bf af4 | \oneVoice 2 4 | %b18 \voiceOne 4 \oneVoice \voiceOne ef' | \oneVoice 4 \voiceOne ef' \oneVoice 2 | \voiceOne g4 a \oneVoice \voiceOne | %b21 \oneVoice 4 \voiceOne | \oneVoice 2 r4 \voiceOne | \oneVoice 4 \voiceOne| %b24 \oneVoice 4 \voiceOne ef \oneVoice \fermata d b> | 4| \voiceOne 4 \oneVoice \voiceOne bf, | %b27 4 \oneVoice \voiceOne | \oneVoice 4 \voiceOne d8 ef | 4 \oneVoice \voiceOne | %b30 4 bf 8[ ] f8.[ ef16] | \oneVoice 2.\fermata \bar "|." } \relative ef' \new Voice { \voiceTwo af8 g | s1 | c4. bf8 4 s4 | %b3 s1 | s1 | <<{ gf4. f8 af4 s } \new Voice { \voiceThree \shiftOff \once \override Beam #'positions = #'(1 . 1.2) {gf8 af} s4 s2 \shiftOn } >> | %b6 s1 | s2 g8 f s4 | s4 af8 g s2 | %b9 s2 s4 af8 g | bf!2 s4 g8 f | af8 bf af f \tieUp ef ~ 4 \tieDown 8 | %b12 s1 | s2 s4 | s4 \once \override Beam #'positions = #'(-3.3 . -3.5) { bf'8 af } s2 | %b15 s4 s4 c'8 bf | << { s4 g8 f! ef4. d8 } \new Voice { \voiceFour s2 g4 s4 } >> | s1 | %b18 \once \override Beam #'positions = #'(-3.0 . -3.2) { c8 bf! } s4 g2 | s4 8 s2 |
Lyrics and slurs and articulation
Hi! How would I use a different articulation for the score and the lyrics? I'm writing a score for a jazz standard. On the three first notes of the theme are to be played legato, but with a sylable on each note. I tried a phrasing slur, but then it collides with an articulation (I'm using 2.11.33). In other places, I would like to put a single sylable for three notes without printing a slur. Would the easier thing to do to create a hidden melody used for the lyrics? How to achieve that? Thanks! Jean-Alexis Montignies ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Lyrics and slurs and articulation
2008/5/8 Jean-Alexis Montignies : > On the three first notes of the theme are to be played legato, but with a > sylable on each note. I tried a phrasing slur, but then it collides with an > articulation (I'm using 2.11.33). You could use \set ignoreMelismata = ##t. To switch it off, use \unset ignoreMelismata. -Risto % \version "2.11.33" % for J-A's purposes { c'4( c' c') c' } \addlyrics { \set ignoreMelismata = ##t Tra -- \unset ignoreMelismata la -- lah! } % ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Lyrics and slurs and articulation
2008/5/8 Jean-Alexis Montignies <[EMAIL PROTECTED]>: > Hi! Hi Jean-Alexis, if you happen to be a French-speaking LilyPonder, you might be interested in knowing that there's also a special LilyPond mailing list in French: http://lists.gnu.org/mailman/listinfo/lilypond-user-fr Cheers, Valentin ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Lyrics, barlines and whiteout
Thanks for your reply. I went with 2.10.33 as the "stable" version, but if 2.11 is usable, I might try it. Is it possible to have both coexisting on the same system? (Windows XP) I removed the \markup {...} construct from the first line of lyrics and removed Bar_engraver from the Lyrics context. The result in 2.10.33 is unbroken barlines running through the text. What happens in 2.11? One wouldn't want gaps in the barlines at the end of systems. James E. Bailey wrote: I was going to say that I didn't see a problem with doing the file without the bar lines in the text and removing the bar engraver, and then I realised that you're using 2.10.33. While I can't speak for that version, in 2.11, it works fine without the workaround. I would highly recommend 2.11. Especially if you're just starting. It makes lilypond a lot more usable. Am 08.05.2008 um 08:36 schrieb Kim Bastin: I'm a pretty new Lilypond user, about a week old in fact, so please be gentle. As a learning exercise I have been entering a keyboard arrangement of one of Reger's Geistliche Gesänge, including the lyrics, which I had previously done in Sibelius (opening bars appended as Morgengesang.ly). I have persuaded the lyrics to mask the barlines where they overlap by embedding the affected syllables in the construct \markup { \whiteout \pad-markup #0.5 höch } -- which works but makes ugly and confusing code. I tried writing a function: mask = #(define-music-function (parser location syllable) (string?) #{ \markup { \whiteout \pad-markup #0.5 $syllable } #}) but the result is a log full of errors and no compile. I'm probably attempting something I'm not ready for. (Anyone care to correct it?) However, rather than hunt for overlapping syllables, it would be more efficient if some equivalent of \whiteout and \pad-markup #0.5 could be applied to the lyrics globally. I've looked unsuccessfully for a way of doing this. Is there one? I suppose it would involve overriding properties, but I can't identify the relevant ones. Thanks %charset=utf-8 \version "2.10.33" \include "english.ly" \paper { paper-width = 215\mm paper-height = 310\mm } #(set-global-staff-size 17) \header { tagline = ##f composer = "Max Reger" title = "Morgengesang" } upper = { \clef treble \key ef \major \time 4/4 \partial 4 << \relative ef' \new Voice = "1" { \voiceOne 4 | \oneVoice 4 2 | \voiceOne 2 df'8 c \oneVoice 4 | %b3 2 r4 | 2. 4 | \voiceOne ef' c8 df \oneVoice 4 | %b6 2 r4 | 4 \voiceOne \oneVoice | 4 \voiceOne \oneVoice 8 d'> | %b9 4 \voiceOne c | 4 \oneVoice \voiceOne c' | g f | %b12 \oneVoice 2. r4 | 2 4 \voiceOne g8 af | \oneVoice 4 \voiceOne \oneVoice c> | %b15 4\fermata \voiceOne c'8 d \oneVoice 4 \voiceOne | \oneVoice 4 \voiceOne c8 bf af4 | \oneVoice 2 4 | %b18 \voiceOne 4 \oneVoice \voiceOne ef' g'> | \oneVoice 4 \voiceOne ef' \oneVoice 2 | \voiceOne g4 a \oneVoice \voiceOne | %b21 \oneVoice 4 \voiceOne | \oneVoice 2 r4 \voiceOne | \oneVoice 4 \voiceOne| %b24 \oneVoice 4 \voiceOne ef \oneVoice d,>\fermata | 4| \voiceOne 4 \oneVoice \voiceOne bf, | %b27 4 \oneVoice \voiceOne | \oneVoice 4 \voiceOne d8 ef | 4 \oneVoice \voiceOne | %b30 4 bf 8[ ] f8.[ ef16] | \oneVoice 2.\fermata \bar "|." } \relative ef' \new Voice { \voiceTwo af8 g | s1 | c4. bf8 4 s4 | %b3 s1 | s1 | <<{ gf4. f8 af4 s } \new Voice { \voiceThree \shiftOff \once \override Beam #'positions = #'(1 . 1.2) {gf8 af} s4 s2 \shiftOn } >> | %b6 s1 | s2 g8 f s4 | s4 af8 g s2 | %b9 s2 s4 af8 g | bf!2 s4 g8 f | af8 bf af f \tieUp ef ~ 4 \tieDown 8 | %b12 s1 | s2 s4 | s4 \once \override Beam #'positions = #'(-3.3 . -3.5) { bf'8 af } s2 | %b15 s4 s4 c'8 bf | << { s4 g8 f! ef4. d8 } \new Voice { \voiceFour s2 g4 s4 } >> | s1 | %b18 \once \override Beam #'positions = #'(-3.0 . -3.2) { c8 bf! } s4 g2 | s4 8 s2 | << { g4. fs8 s4 ef8 d | } \new Voice { \voiceFour \once \override NoteColumn #'force-hshift = #-0.65 d2 } >> %b21 s2 s4 f8 ef8 | s2 s4 8 | s4 f8 af g4. f8 | %b24 s4 8 bf s2 | s1 |
Re: Lyrics, barlines and whiteout
in 2.11, the text is typeset between the bars. That is, the text fits between the bars, and there's no need to white out part of the bar line to accommodate the text. Am 08.05.2008 um 12:08 schrieb Kim Bastin: Thanks for your reply. I went with 2.10.33 as the "stable" version, but if 2.11 is usable, I might try it. Is it possible to have both coexisting on the same system? (Windows XP) I removed the \markup {...} construct from the first line of lyrics and removed Bar_engraver from the Lyrics context. The result in 2.10.33 is unbroken barlines running through the text. What happens in 2.11? One wouldn't want gaps in the barlines at the end of systems. James E. Bailey wrote: I was going to say that I didn't see a problem with doing the file without the bar lines in the text and removing the bar engraver, and then I realised that you're using 2.10.33. While I can't speak for that version, in 2.11, it works fine without the workaround. I would highly recommend 2.11. Especially if you're just starting. It makes lilypond a lot more usable. Am 08.05.2008 um 08:36 schrieb Kim Bastin: I'm a pretty new Lilypond user, about a week old in fact, so please be gentle. As a learning exercise I have been entering a keyboard arrangement of one of Reger's Geistliche Gesänge, including the lyrics, which I had previously done in Sibelius (opening bars appended as Morgengesang.ly). I have persuaded the lyrics to mask the barlines where they overlap by embedding the affected syllables in the construct \markup { \whiteout \pad-markup #0.5 höch } -- which works but makes ugly and confusing code. I tried writing a function: mask = #(define-music-function (parser location syllable) (string?) #{ \markup { \whiteout \pad-markup #0.5 $syllable } #}) but the result is a log full of errors and no compile. I'm probably attempting something I'm not ready for. (Anyone care to correct it?) However, rather than hunt for overlapping syllables, it would be more efficient if some equivalent of \whiteout and \pad-markup #0.5 could be applied to the lyrics globally. I've looked unsuccessfully for a way of doing this. Is there one? I suppose it would involve overriding properties, but I can't identify the relevant ones. Thanks %charset=utf-8 \version "2.10.33" \include "english.ly" \paper { paper-width = 215\mm paper-height = 310\mm } #(set-global-staff-size 17) \header { tagline = ##f composer = "Max Reger" title = "Morgengesang" } upper = { \clef treble \key ef \major \time 4/4 \partial 4 << \relative ef' \new Voice = "1" { \voiceOne 4 | \oneVoice 4 2 | \voiceOne 2 df'8 c \oneVoice 4 | %b3 2 r4 | 2. 4 | \voiceOne ef' c8 df \oneVoice 4 | %b6 2 r4 | 4 \voiceOne \oneVoice | 4 \voiceOne \oneVoice 8 | %b9 4 \voiceOne c | 4 \oneVoice \voiceOne c' | g f | %b12 \oneVoice 2. r4 | 2 4 \voiceOne g8 af | \oneVoice 4 \voiceOne \oneVoice gf c> | %b15 4\fermata \voiceOne c'8 d \oneVoice ef'>4 \voiceOne | \oneVoice 4 \voiceOne c8 bf af4 | \oneVoice 2 4 | %b18 \voiceOne 4 \oneVoice \voiceOne ef' | \oneVoice 4 \voiceOne ef' \oneVoice d>2 | \voiceOne g4 a \oneVoice \voiceOne | %b21 \oneVoice 4 \voiceOne | \oneVoice 2 r4 \voiceOne | \oneVoice 4 \voiceOne af> | %b24 \oneVoice 4 \voiceOne ef \oneVoice \fermata | 4| \voiceOne 4 \oneVoice \voiceOne bf, | %b27 4 \oneVoice \voiceOne | \oneVoice 4 \voiceOne d8 ef | 4 \oneVoice \voiceOne | %b30 4 bf 8[ ] f8.[ ef16] | \oneVoice 2.\fermata \bar "|." } \relative ef' \new Voice { \voiceTwo af8 g | s1 | c4. bf8 4 s4 | %b3 s1 | s1 | <<{ gf4. f8 af4 s } \new Voice { \voiceThree \shiftOff \once \override Beam #'positions = #'(1 . 1.2) {gf8 af} s4 s2 \shiftOn } >> | %b6 s1 | s2 g8 f s4 | s4 af8 g s2 | %b9 s2 s4 af8 g | bf!2 s4 g8 f | af8 bf af f \tieUp ef ~ 4 \tieDown 8 | %b12 s1 | s2 s4 | s4 \once \override Beam #'positions = #'(-3.3 . -3.5) { bf'8 af } s2 | %b15 s4 s4 c'8 bf | << { s4 g8 f! ef4. d8 } \new Voice { \voiceFour s2 g4 s4 } >> | s1 | %b18 \once \override Beam #'positions = #'(-3.0 . -3.2) { c8 bf! } s4 g2 | s4 8 s2 | << { g4. fs8 s4 ef8 d | } \new Voice { \voiceFour \once \override NoteColumn #'for
Percent repeats
Greetings - I'm working on Repeats for the GDP (yep, still). Currently, Short Repeats includes percent repeats and tremolos (for strings, tremolos include both fingered and bowed tremolos). "Percent repeats" is not a term I have heard outside of LilyPond, and if I were looking for those repeats, percent is not the term I would look under. Does anyone have a suggestion for a better term? Ralph + Ralph Palmer, CEM Energy/Administrative Coordinator Keene State College Keene, NH 03435-2502 Phone: 603-358-2230 Cell: 603-209-2903 Fax: 603-358-2456 [EMAIL PROTECTED] ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Percent repeats
Hi Ralph, My "Essential Dictionary of Music Notation" uses the terms beat repetitions measure repetitions section repetitions However, it has no special term for the symbol -- it simply describes it in words: "This sign (%) is used..." For the record, it also says "Do not use [beat repetitions] in engraved music" and "In engraved music, [the use of single-measure repetitions] should be limited to rhythm parts." Hope this helps, Kieren. ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Percent repeats
I'm sure you remember the previous discussion we had on the same topic, http://lists.gnu.org/archive/html/lilypond-user/2008-02/msg00624.html Let's hope somebody else has some new bright idea. /Mats Palmer, Ralph wrote: Greetings - I'm working on Repeats for the GDP (yep, still). Currently, Short Repeats includes percent repeats and tremolos (for strings, tremolos include both fingered and bowed tremolos). "Percent repeats" is not a term I have heard outside of LilyPond, and if I were looking for those repeats, percent is not the term I would look under. Does anyone have a suggestion for a better term? Ralph + Ralph Palmer, CEM Energy/Administrative Coordinator Keene State College Keene, NH 03435-2502 Phone: 603-358-2230 Cell: 603-209-2903 Fax: 603-358-2456 [EMAIL PROTECTED] ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user -- = Mats Bengtsson Signal Processing School of Electrical Engineering Royal Institute of Technology (KTH) 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: Lyrics, barlines and whiteout
2008/5/8 James E. Bailey: > in 2.11, the text is typeset between the bars. That is, the text fits > between the bars, and there's no need to white out part of the bar line to > accommodate the text. That's right. However, the lyric hyphens sometimes do collide with bar lines. Is there a way to prevent that? Possibly by creating a white rectangle between the bar line and the hyphen. The same happens (obviously) with lyric extenders, too. -Risto ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Lyrics, barlines and whiteout
I see. Version 2.10 will do this too, if you uncomment the lines \consists "Separating_line_group_engraver" \override BarLine #'transparent = ##t But it's not what I want: I'm specifically trying to get the masking-out behaviour, without having to apply it syllable by syllable. (No accounting for taste, I know ;) James E. Bailey wrote: in 2.11, the text is typeset between the bars. That is, the text fits between the bars, and there's no need to white out part of the bar line to accommodate the text. Am 08.05.2008 um 12:08 schrieb Kim Bastin: Thanks for your reply. I went with 2.10.33 as the "stable" version, but if 2.11 is usable, I might try it. Is it possible to have both coexisting on the same system? (Windows XP) I removed the \markup {...} construct from the first line of lyrics and removed Bar_engraver from the Lyrics context. The result in 2.10.33 is unbroken barlines running through the text. What happens in 2.11? One wouldn't want gaps in the barlines at the end of systems. James E. Bailey wrote: I was going to say that I didn't see a problem with doing the file without the bar lines in the text and removing the bar engraver, and then I realised that you're using 2.10.33. While I can't speak for that version, in 2.11, it works fine without the workaround. I would highly recommend 2.11. Especially if you're just starting. It makes lilypond a lot more usable. Am 08.05.2008 um 08:36 schrieb Kim Bastin: I'm a pretty new Lilypond user, about a week old in fact, so please be gentle. As a learning exercise I have been entering a keyboard arrangement of one of Reger's Geistliche Gesänge, including the lyrics, which I had previously done in Sibelius (opening bars appended as Morgengesang.ly). I have persuaded the lyrics to mask the barlines where they overlap by embedding the affected syllables in the construct \markup { \whiteout \pad-markup #0.5 höch } -- which works but makes ugly and confusing code. I tried writing a function: mask = #(define-music-function (parser location syllable) (string?) #{ \markup { \whiteout \pad-markup #0.5 $syllable } #}) but the result is a log full of errors and no compile. I'm probably attempting something I'm not ready for. (Anyone care to correct it?) However, rather than hunt for overlapping syllables, it would be more efficient if some equivalent of \whiteout and \pad-markup #0.5 could be applied to the lyrics globally. I've looked unsuccessfully for a way of doing this. Is there one? I suppose it would involve overriding properties, but I can't identify the relevant ones. Thanks %charset=utf-8 \version "2.10.33" \include "english.ly" \paper { paper-width = 215\mm paper-height = 310\mm } #(set-global-staff-size 17) \header { tagline = ##f composer = "Max Reger" title = "Morgengesang" } upper = { \clef treble \key ef \major \time 4/4 \partial 4 << \relative ef' \new Voice = "1" { \voiceOne 4 | \oneVoice 4 2 | \voiceOne 2 df'8 c \oneVoice 4 | %b3 2 r4 | 2. 4 | \voiceOne ef' c8 df \oneVoice 4 | %b6 2 r4 | 4 \voiceOne \oneVoice | 4 \voiceOne \oneVoice 8 d'> | %b9 4 \voiceOne c | 4 \oneVoice \voiceOne c' | g f | %b12 \oneVoice 2. r4 | 2 4 \voiceOne g8 af | \oneVoice 4 \voiceOne \oneVoice c> | %b15 4\fermata \voiceOne c'8 d \oneVoice 4 \voiceOne | \oneVoice 4 \voiceOne c8 bf af4 | \oneVoice 2 4 | %b18 \voiceOne 4 \oneVoice \voiceOne ef' g'> | \oneVoice 4 \voiceOne ef' \oneVoice 2 | \voiceOne g4 a \oneVoice \voiceOne | %b21 \oneVoice 4 \voiceOne | \oneVoice 2 r4 \voiceOne | \oneVoice 4 \voiceOne| %b24 \oneVoice 4 \voiceOne ef \oneVoice d,>\fermata | 4| \voiceOne 4 \oneVoice \voiceOne bf, | %b27 4 \oneVoice \voiceOne | \oneVoice 4 \voiceOne d8 ef | 4 \oneVoice \voiceOne | %b30 4 bf 8[ ] f8.[ ef16] | \oneVoice 2.\fermata \bar "|." } \relative ef' \new Voice { \voiceTwo af8 g | s1 | c4. bf8 4 s4 | %b3 s1 | s1 | <<{ gf4. f8 af4 s } \new Voice { \voiceThree \shiftOff \once \override Beam #'positions = #'(1 . 1.2) {gf8 af} s4 s2 \shiftOn } >> | %b6 s1 | s2 g8 f s4 | s4 af8 g s2 | %b9 s2 s4 af8 g | bf!2 s4 g8 f | af8 bf af f \tieUp ef ~ 4 \tieDown 8 | %b12 s1 | s2 s4 | s4 \once \override Beam #'positions = #'(-3.3 . -3.5) { bf'8 af } s2 | %b15 s4 s4 c'8 bf | << { s4
Re: Lyrics, barlines and whiteout
Try a ChoirStaff instead of a GrandStaff. I know I've never had your problem with ChoirStaff, and unless you really, really need the bar lines running between staves for some reason, things will work a lot better. ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Lyrics, barlines and whiteout
I would propose the following solution, which automatically adds the white box around every syllable. It works by redefining the function that typesets each LyricText object. To make it work in version 2.10, I copied (and slightly modified) a couple of functions that are predefined in version 2.11. Add the following lines somewhere at the top of your file: % Copied from scm/stencil.scm in version 2.11 #(define-public (stencil-with-color stencil color) (ly:make-stencil (list 'color color (ly:stencil-expr stencil)) (ly:stencil-extent stencil X) (ly:stencil-extent stencil Y))) % Copied from scm/stencil.scm in version 2.11 % Extended to add some padding around: #(define (stencil-padded-whiteout stencil padding) (let* ((x-ext (ly:stencil-extent stencil X)) (y-ext (ly:stencil-extent stencil Y)) ) (ly:stencil-add (stencil-with-color (ly:round-filled-box (interval-widen x-ext padding) (interval-widen y-ext padding) 0.0) white) stencil) )) #(define (text-in-white-box grob) (stencil-whiteout (ly:text-interface::print grob) 0.5)) and then add a setting in your layout block: \layout { \context { \GrandStaff \accepts "Lyrics" } \context { \Lyrics \consists "Bar_engraver" %\consists "Separating_line_group_engraver" %\override BarLine #'transparent = ##t \override LyricText #'stencil = #text-in-white-box } } } /Mats Kim Bastin wrote: I'm a pretty new Lilypond user, about a week old in fact, so please be gentle. As a learning exercise I have been entering a keyboard arrangement of one of Reger's Geistliche Gesänge, including the lyrics, which I had previously done in Sibelius (opening bars appended as Morgengesang.ly). I have persuaded the lyrics to mask the barlines where they overlap by embedding the affected syllables in the construct \markup { \whiteout \pad-markup #0.5 höch } -- which works but makes ugly and confusing code. I tried writing a function: mask = #(define-music-function (parser location syllable) (string?) #{ \markup { \whiteout \pad-markup #0.5 $syllable } #}) but the result is a log full of errors and no compile. I'm probably attempting something I'm not ready for. (Anyone care to correct it?) However, rather than hunt for overlapping syllables, it would be more efficient if some equivalent of \whiteout and \pad-markup #0.5 could be applied to the lyrics globally. I've looked unsuccessfully for a way of doing this. Is there one? I suppose it would involve overriding properties, but I can't identify the relevant ones. Thanks ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user -- = Mats Bengtsson Signal Processing School of Electrical Engineering Royal Institute of Technology (KTH) 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: Lyrics, barlines and whiteout
Mats Bengtsson wrote: ... #(define (text-in-white-box grob) (stencil-whiteout (ly:text-interface::print grob) 0.5)) This line should of course have been (stencil-padded-whiteout (ly:text-interface::print grob) 0.5)) /Mats ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Lyrics, barlines and whiteout
Thanks Mats. Exactly what I was after. One day I may even understand how it works ;) Mats Bengtsson wrote: Mats Bengtsson wrote: ... #(define (text-in-white-box grob) (stencil-whiteout (ly:text-interface::print grob) 0.5)) This line should of course have been (stencil-padded-whiteout (ly:text-interface::print grob) 0.5)) /Mats ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
conditional formatting by note name (again)
hi all still no joy with this for composition worksheets it would be great if i could, for example, make all b-flats and c-sharps red, or have it so that only the notes of the E-pentatonic scale have white-note-heads in a chromatically embellished piece. i'd like to do this with conditional formatting rather than in-line. i've seen examples on LSR which have some conditional formatting eg. based on staff-line position but i can't make the leap to note-name (including enharmonic) conditionals. tia damian ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
LSR: "Modifying default values for articulation shorthand notation"
Greetings, I don't know who added this snippet (Jay, is that you?), but there's something obviously missing in the source code: \relative c'' { c-+ } dashPlus = "trill" \relative c'' { c-+ } I'll happily approve it... as soon as the code is fixed :) Cheers, Valentin ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: LSR: "Modifying default values for articulation shorthand notation"
2008/5/8 Valentin Villenave <[EMAIL PROTECTED]>: > I don't know who added this snippet (Jay, is that you?), but there's > something obviously missing in the source code: Oh gosh, it's one of these 2.11 features again... OK, never mind, I'll just add it to input/new. Sorry for the noise! Cheers, Valentin ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: LSR: "Modifying default values for articulation shorthand notation"
2008/5/8 Valentin Villenave <[EMAIL PROTECTED]>: > Greetings, > > I don't know who added this snippet (Jay, is that you?), but there's > something obviously missing in the source code: > > \relative c'' { c-+ } > dashPlus = "trill" > \relative c'' { c-+ } > > I'll happily approve it... as soon as the code is fixed :) What's wrong with it? It works fine here. In LSR it has to be added as standalone since the 'dashPlus' command is top-level. Regards, Neil ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: LSR: "Modifying default values for articulation shorthand notation"
2008/5/8 Neil Puttock <[EMAIL PROTECTED]>: > What's wrong with it? It works fine here. Hmm... now it's not working; in fact, I can't get preview to work for any snippet at the moment. ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: LSR: "Modifying default values for articulation shorthand notation"
2008/5/8 Neil Puttock <[EMAIL PROTECTED]>: > Hmm... now it's not working; in fact, I can't get preview to work for > any snippet at the moment. Neil, there are a few unapproved snippet that don't work with the LSR; can you double-check them and add them to input/new whenever you think it's relevant (tag them as 'docs' as well, since Jay seems to need them in the NR). Cheers, Valentin ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: LSR: "Modifying default values for articulation shorthand notation"
2008/5/8 Valentin Villenave <[EMAIL PROTECTED]>: > Neil, there are a few unapproved snippet that don't work with the LSR; > can you double-check them and add them to input/new whenever you think > it's relevant (tag them as 'docs' as well, since Jay seems to need > them in the NR). I assume Jay's snippets are the following: - Modifying default values for articulation shorthand notation - Printing hairpins using al niente notation - Setting the minimum length of hairpins - Vertically aligning dynamics across multiple notes All are fine in LSR; I've tagged them as docs and ticked the approval button, so they should be fine when you next do makelsr. There's definitely something funny going on with LSR though; preview's just started working again for me. Regards, Neil ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
emacs mode test file
is there a file that shows all of the pretty color options that the emacs mode shows? I may attempt a nanorc that does something similar, and I'd just like to know what options there are. Rather, I'd like to know what emacs does so I can emulate it somewhat. ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user