Re: lyric problems with latest development version(s)
Is anyone else finding that melismas are not working in = v2.19.14 as they did in = v2.19.13? Specifically, ties seem to no longer force melismas. Hi Kieren, do you have a minimal example showing the problem ? That would make it easier for others to look into it (you know). Especially if it wasn’t changed on purpose. Cheers, Joram ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
distinguishing between cautionary accidentals and musica ficta
In editions of renaissance music, both cautionary accidentals and ficta may be notated above the staff. I would like to distinguish between these cases, using parentheses. It is possible to do so, on a case-by-case basis, using \once \override Staff.AccidentalSuggestion.parenthesized = ##t but I would like to use a shorthand that detects cautionary accidentals automatically. For example, in the following code, the natural above the b should be parenthesized: \version 2.19.2 ficta = { \once \set suggestAccidentals = ##t \once \accidentalStyle dodecaphonic % mark _all_ the ficta in the bar } \relative c'' { g4 \ficta fis g2 c4 \ficta b? c2 } How may this be achieved? Suggestions gratefully received... -- Graham ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: distinguishing between cautionary accidentals and musica ficta
Solved it. I was stupidly trying to overload \ficta. Anyway: \version 2.19.2 ficta = { \once \set suggestAccidentals = ##t \once \accidentalStyle dodecaphonic % mark _all_ the ficta in the bar } cautionary = { \ficta \once \override Staff.AccidentalSuggestion.parenthesized = ##t } \relative c'' { g4 \ficta fis g2 c4 \cautionary b? c2 } On Thu, 2014-10-02 at 11:29 +0100, Graham King wrote: In editions of renaissance music, both cautionary accidentals and ficta may be notated above the staff. I would like to distinguish between these cases, using parentheses. It is possible to do so, on a case-by-case basis, using \once \override Staff.AccidentalSuggestion.parenthesized = ##t but I would like to use a shorthand that detects cautionary accidentals automatically. For example, in the following code, the natural above the b should be parenthesized: \version 2.19.2 ficta = { \once \set suggestAccidentals = ##t \once \accidentalStyle dodecaphonic % mark _all_ the ficta in the bar } \relative c'' { g4 \ficta fis g2 c4 \ficta b? c2 } How may this be achieved? Suggestions gratefully received... -- Graham ___ 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: Thanks to David Nalesnik and Jan-Peter Voigt
David, I tried your snippet with a different meter and it gives some weird results. It seems to produce additional bars - I changed the bar after the compound meter to double bar so we can see the extraneous bars. And the notes are not placed properly. Am I doing something totally foolish here? \version 2.18.2 musicA = { \compoundMeter #'((2 4) (4 4)) \relative c' { c'2. d4 b2. c4 a2. b4 g2. a4 f2. g4 } } patterning = { \repeat unfold 8 { \set Staff.completionUnit = #(ly:make-moment 2 4) s4. \bar ! \set Staff.completionUnit = #(ly:make-moment 4 4) s4 \bar || } } \score { \new Staff \new Voice \musicA \new Voice \patterning \layout { \context { \Voice \override SpacingSpanner.uniform-stretching = ##t \remove Note_heads_engraver \consists Completion_heads_engraver \remove Rest_engraver \consists Completion_rest_engraver } } } %%% [image: Inline image 1] ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Thanks to David Nalesnik and Jan-Peter Voigt
On Wed, Oct 1, 2014 at 4:41 PM, Jay Vara j...@diljun.com wrote: I wonder two things: (1) Is there a way to combine the notes and rests in the 1/4 division of the bars? Not sure what you mean. In the example below, it looks strange that there are two tied eighth-note Gs instead of a single quarter-note. The engraver ought to combine them, especially since I asked for 1/4. (It does this when the division is 2/8 as well.) (2) Why the inconsistency in the rests in the 3/8 divisions? Quarter-eighth is correct. Why is this reversed the second time? I think what it has done is correct. It is reversed the second time because in that case the first rest is split into eights by the Completion_rest_engraver. Whatever rest occurs on the barline is split and no attempt is made to correct the input. Is this not what you expect? I'm expecting the result to be notated correctly, and this snippet isn't. The 3/8 division of the bar should be notated with a dotted-quarter rest (or in older practice a quarter rest followed by an eighth). An eighth followed by a quarter rest is incorrect. For me this sort of thing would be a deal-breaker with using the completion engraver with compound meters. These are errors I'd like to be able to correct, and you can't do it here. At least not that I know of. --David ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Thanks to David Nalesnik and Jan-Peter Voigt
On Thu, Oct 2, 2014 at 7:11 AM, Jay Vara j...@diljun.com wrote: David, I tried your snippet with a different meter and it gives some weird results. It seems to produce additional bars - I changed the bar after the compound meter to double bar so we can see the extraneous bars. And the notes are not placed properly. Am I doing something totally foolish here? \version 2.18.2 musicA = { \compoundMeter #'((2 4) (4 4)) \relative c' { c'2. d4 b2. c4 a2. b4 g2. a4 f2. g4 } The problem is here: you need to change the durations of the spacer rests to reflect your measure divisions: patterning = { \repeat unfold 8 { \set Staff.completionUnit = #(ly:make-moment 2 4) s2 \bar ! \set Staff.completionUnit = #(ly:make-moment 4 4) s1 \bar || } } Then it works just fine! David ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Two time signature at start of system
Dear lilyponders, I didn't realize until I have coded a hymn with 92 measures that two time signature at bar #78. So I code a test version just bar 76-79 to show the problen system. I have been playing with code and still couldn't remove one of them. What should I do? Also, I run just the right staff or just left staff, I do not see double time signature - ok to me. Immanuel, Ming \version 2.19.14 \language english global = { \key g \major \numericTimeSignature \time 6/8 } right = { \global d'b'8 c'a'16 b g'8. \grace{g'16 a' g'} c'e'8 d'8 e'8 |%m76 \time 9/8 {g'8 a' fs'}\\{g c'4 d'8} b g'8 b d'16 q8. g'16 fs' g' a' b' c'' |\break %m77 \time 6/8 d''16 b' a' g' a' b' d'' b' a' g' a' b' |%m78 d''16 b' a' g' a' b' d'' c'' b' a' g' fs' |%m79 } left = { \global g,d4 8 a,e4 8 |%m76 \time 9/8 d4 d,8 g,d4 8 {d4.}\\{d,4 8} |\break %m77 \time 6/8 \acciaccatura cs8 g,d4. fs |%m78 e4. d |%m79 } pianoPart = \new PianoStaff \with { instrumentName = Pno. shortInstrumentName = Pno. } \new Staff = right \with { midiInstrument = acoustic grand } \right \new Staff = left \with { midiInstrument = acoustic grand } { \clef bass \left } \score { \pianoPart \layout { } } \score { \new PianoStaff \with { instrumentName = Pno. shortInstrumentName = Pno. } \new Staff = right \with { midiInstrument = acoustic grand } \right % \new Staff = left \with { %midiInstrument = acoustic grand % } { \clef bass \left } } \score { \new PianoStaff \with { instrumentName = Pno. shortInstrumentName = Pno. } % \new Staff = right \with { %midiInstrument = acoustic grand % } \right \new Staff = left \with { midiInstrument = acoustic grand } { \clef bass \left } } %{ \score { \new PianoStaff \with { instrumentName = Pno. shortInstrumentName = Pno. } \new Staff = right \with { midiInstrument = acoustic grand } \right % \new Staff = left \with { %midiInstrument = acoustic grand % } { \clef bass \left } } %}___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Thanks to David Nalesnik and Jan-Peter Voigt
On Thu, Oct 2, 2014 at 7:28 AM, David Nalesnik david.nales...@gmail.com wrote: On Wed, Oct 1, 2014 at 4:41 PM, Jay Vara j...@diljun.com wrote: I wonder two things: (1) Is there a way to combine the notes and rests in the 1/4 division of the bars? Not sure what you mean. In the example below, it looks strange that there are two tied eighth-note Gs instead of a single quarter-note. The engraver ought to combine them, especially since I asked for 1/4. (It does this when the division is 2/8 as well.) (2) Why the inconsistency in the rests in the 3/8 divisions? Quarter-eighth is correct. Why is this reversed the second time? I think what it has done is correct. It is reversed the second time because in that case the first rest is split into eights by the Completion_rest_engraver. Whatever rest occurs on the barline is split and no attempt is made to correct the input. Is this not what you expect? I'm expecting the result to be notated correctly, and this snippet isn't. The 3/8 division of the bar should be notated with a dotted-quarter rest (or in older practice a quarter rest followed by an eighth). An eighth followed by a quarter rest is incorrect. For me this sort of thing would be a deal-breaker with using the completion engraver with compound meters. These are errors I'd like to be able to correct, and you can't do it here. At least not that I know of. Perhaps the notational problems here are related to the obviously bad results below. Don't believe I'm doing anything wrong. Why does the dotted half refuse to be split? I'll have to do some study of the code to see what's going on. \version 2.18.2 musicA = { \compoundMeter #'(3 2 3 8) \relative c' { c'2. d4 b2. c4 a2. b4 g2. a4 f2. g4 } } patterning = { \repeat unfold 8 { \set Staff.completionUnit = #(ly:make-moment 3 8) s4. \bar ! \set Staff.completionUnit = #(ly:make-moment 2 8) s4 \bar ! \set Staff.completionUnit = #(ly:make-moment 3 8) s4. \bar || } } \score { \new Staff \new Voice \musicA \new Voice \patterning \layout { \context { \Voice \override SpacingSpanner.uniform-stretching = ##t \remove Note_heads_engraver \consists Completion_heads_engraver \remove Rest_engraver \consists Completion_rest_engraver } } } %%% --David ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Two time signature at start of system
Hi Ming, This is a known issue: http://www.lilypond.org/doc/v2.18/Documentation/notation/special-rhythmic-concerns#grace-notes You need to add a grace note skip to the other staff context(s) in order to synchronize. Hope this helps! Kieren. ___ Kieren MacMillan, composer www: http://www.kierenmacmillan.info email: i...@kierenmacmillan.info ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Two time signature at start of system
Am 02.10.2014 um 14:50 schrieb MING TSANG: Dear lilyponders, I didn't realize until I have coded a hymn with 92 measures that two time signature at bar #78. So I code a test version just bar 76-79 to show the problen system. I have been playing with code and still couldn't remove one of them. What should I do? Also, I run just the right staff or just left staff, I do not see double time signature - ok to me. Immanuel, Ming An old problem: see http://lilypond.org/doc/v2.18/Documentation/notation/special-rhythmic-concerns#grace-notes, Known Issues and Warnings. The issue https://code.google.com/p/lilypond/issues/detail?id=34 is the third-oldest open issue. So insert an acciaccatura of the same duration in the other system and no problem. Best, Simon ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Two time signature at start of system
It’s the “grace note bug”. Workaround: insert \acciacatura s8 after \time 6/8 in your right-variable. hth patrick On 02.10.2014, at 14:50, MING TSANG tsan...@rogers.com wrote: Dear lilyponders, I didn't realize until I have coded a hymn with 92 measures that two time signature at bar #78. So I code a test version just bar 76-79 to show the problen system. I have been playing with code and still couldn't remove one of them. What should I do? Also, I run just the right staff or just left staff, I do not see double time signature - ok to me. Immanuel, Ming test-a-celtic-noel.ly2014-10-02_084519.png___ 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: Two time signature at start of system
Thank you Simon and Kieren, Immanuel, Ming On Thursday, October 2, 2014 8:59 AM, pls p.l.schm...@gmx.de wrote: It’s the “grace note bug”. Workaround: insert \acciacatura s8 after \time 6/8 in your right-variable. hth patrick On 02.10.2014, at 14:50, MING TSANG tsan...@rogers.com wrote: Dear lilyponders, I didn't realize until I have coded a hymn with 92 measures that two time signature at bar #78. So I code a test version just bar 76-79 to show the problen system. I have been playing with code and still couldn't remove one of them. What should I do? Also, I run just the right staff or just left staff, I do not see double time signature - ok to me. Immanuel, Ming test-a-celtic-noel.ly2014-10-02_084519.png___ 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-book cuts out the bottom or top parts
Dear lily-experts, I wonder if this is a known issue. The phenomenon happens sistematically when I don't have objects down to the first line of my staves or up at the top. Suggestions? http://lilypond.1069038.n5.nabble.com/file/n167060/2014-10-02-183022_1024x600_scrot.png -- View this message in context: http://lilypond.1069038.n5.nabble.com/lilypond-book-cuts-out-the-bottom-or-top-parts-tp167060.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: Two time signature at start of system
Sorry, I mix up Simon and Patrick. Thanks for the answer. Immanuel, Ming On Thursday, October 2, 2014 9:03 AM, MING TSANG tsan...@rogers.com wrote: Thank you Simon and Kieren, Immanuel, Ming On Thursday, October 2, 2014 8:59 AM, pls p.l.schm...@gmx.de wrote: It’s the “grace note bug”. Workaround: insert \acciacatura s8 after \time 6/8 in your right-variable. hth patrick On 02.10.2014, at 14:50, MING TSANG tsan...@rogers.com wrote: Dear lilyponders, I didn't realize until I have coded a hymn with 92 measures that two time signature at bar #78. So I code a test version just bar 76-79 to show the problen system. I have been playing with code and still couldn't remove one of them. What should I do? Also, I run just the right staff or just left staff, I do not see double time signature - ok to me. Immanuel, Ming test-a-celtic-noel.ly2014-10-02_084519.png___ 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
Figured bass - rest - hepl please
Hi, is there somebody, who can some way, how I can write rests in figured bass? I need is necessary for one Oratory - my masterthese... I'm thankful for any suggestion. \new FiguredBass \figuremode { \set figuredBassAlterationDirection = #RIGHT \set figuredBassPlusDirection = #RIGHT \override BassFigureAlignment.stacking-dir = #UP _+1 61 62 _+2 61 61 s2 5 62 s1 s4 r8 } \new Staff = violoneMusic \relative c { \clef bass \key c \major d1 dis2 e2 c b d e g1 c,2 e f1 r4 g4} ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Figured bass - rest - hepl please
Of course r4 = s4. But I need have the symbol of rest in the figured bass. ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Figured bass - rest - hepl please
Of course r4 = s4. But I need have the symbol of rest in the figured bass. Never seen this before. Please post a scan of what you want to achieve. Werner ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
RE: Two time signature at start of system
Ming, Upper voice, measure three, at the beginning, add \acciaccatura s8. Mark From: lilypond-user-bounces+carsonmark=ca.rr@gnu.org [mailto:lilypond-user-bounces+carsonmark=ca.rr@gnu.org] On Behalf Of MING TSANG Sent: Thursday, October 02, 2014 5:50 AM To: lilypond-user@gnu.org Subject: Two time signature at start of system Dear lilyponders, I didn't realize until I have coded a hymn with 92 measures that two time signature at bar #78. So I code a test version just bar 76-79 to show the problen system. I have been playing with code and still couldn't remove one of them. What should I do? Also, I run just the right staff or just left staff, I do not see double time signature - ok to me. Immanuel, Ming ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
remove first empty staff and ambitus
Dear list, a few weeks ago I asked about removing the first empty staff in choir music and inserting the ambitus in the n-th system for selected voices. From the answers you gave, I could built the following example, which solved a whole set of problems. Now, can anyone come up with an idea how to remove the upper staff in the first system? I’m grateful for any hints. Thanks best regards, Kai \version 2.19.15 musicI = \relative { \repeat unfold 5 { c'4^first voice b' c, g' } } musicII = \relative { \repeat unfold 5 { c''4^second voice b' c, g' } } ambitus = \with { \consists Ambitus_engraver } noAmbitusAtEnd = { \override Voice.AmbitusNoteHead.break-visibility = ##(#f #f #t) \override Voice.AmbitusLine.break-visibility = ##(#f #f #t) } \score { \new Staff = StaffI \new Voice = VoiceI { s1*5 \break \new Voice \ambitus \musicI } \new Staff = StaffII \new Voice = VoiceII \ambitus { \musicII } \layout { \context { \Staff \RemoveEmptyStaves \override Staff.VerticalAxisGroup.remove-first = ##t \noAmbitusAtEnd } } } --- kai.lautenschlae...@me.com ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Special bar lines at end of a line
I have four bars per line, plus I have double bar lines at the beginning and end of a line as seen in the code below. I tried to get a special bar line at the end of the FirstPart (at the end of the first line) without success. I think I was able to get it in one of the trials, but that made the double bar line at the beginning of SecondPart disappear. As you can see the command \bar |. in the score section is not having any effect. \version 2.18.2 \defineBarLine || #`(|| || ||) musicA = \relative c' { \bar || c4 d e f2 g2 a b c d e4 } musicB = \relative c' {f g f e d c b a c a b a c d e f} patterning = { \repeat unfold 2 {s4*16 \break \bar ||} } \score { \new Staff \new Voice { \mark FirstPart \musicA \bar |. \mark SecondPart \musicB } \new Voice \patterning \layout { \context { \Voice \remove Note_heads_engraver \consists Completion_heads_engraver \remove Rest_engraver \consists Completion_rest_engraver } } } %%% [image: Inline image 1] ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: LilyPond Enhancement Proposal (with Bounty)
On Sep 30, 2014, at 8:04 PM, Paul Tannous ptann...@hotmail.com wrote: Abraham and Mike, Thank you for expressing an interest in our proposal. Our objective is to automate the repositioning of the text that falls directly above and below the bar lines, per Chris’s graphic. We are above all interested in the possibility of including this functionality directly in the LilyPond compiler. We are not sure whether Mike’s suggestion implies manual rework or refers to a way of setting the compiler options to do this work for us. Is there a way to use the compiler to do this now? If not, would there be anyone in the LilyPond developer community interested in adding this functionality? Regards, Paul Due to the lack of response, I’m wondering if this question is posted on the right list. Is there another list where this question is more likely to be seen by developers? Thanks, Chris ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Special bar lines at end of a line
2014-10-02 20:58 GMT+02:00 Jay Vara j...@diljun.com: I have four bars per line, plus I have double bar lines at the beginning and end of a line as seen in the code below. I tried to get a special bar line at the end of the FirstPart (at the end of the first line) without success. What kind of special bar line? Does \defineBarLine || #'(|. || ||) what you want? Cheers, Harm I think I was able to get it in one of the trials, but that made the double bar line at the beginning of SecondPart disappear. As you can see the command \bar |. in the score section is not having any effect. \version 2.18.2 \defineBarLine || #`(|| || ||) musicA = \relative c' { \bar || c4 d e f2 g2 a b c d e4 } musicB = \relative c' {f g f e d c b a c a b a c d e f} patterning = { \repeat unfold 2 {s4*16 \break \bar ||} } \score { \new Staff \new Voice { \mark FirstPart \musicA \bar |. \mark SecondPart \musicB } \new Voice \patterning \layout { \context { \Voice \remove Note_heads_engraver \consists Completion_heads_engraver \remove Rest_engraver \consists Completion_rest_engraver } } } %%% [image: Inline image 1] ___ 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: LilyPond Enhancement Proposal (with Bounty)
On Thu, Oct 2, 2014 at 2:48 PM, Chris Crossen elaparic...@gmail.com wrote: Due to the lack of response, I’m wondering if this question is posted on the right list. Is there another list where this question is more likely to be seen by developers? Thanks, Chris Chris, I looked into this a little bit and found the BarLine.extra-spacing-height property (which you may already know about). I recreated your example two-system score and tried to get this to work, but to no avail. I'm not sure what, if anything, I was doing wrong, but the description seemed to be just what you were looking for: In the horizontal spacing problem, we increase the height of each item by this amount (by adding the ‘car’ to the bottom of the item and adding the ‘cdr’ to the top of the item). In order to make a grob infinitely high (to prevent the horizontal spacing problem from placing any other grobs above or below this grob), set this to (-inf.0 . +inf.0). Maybe a more experienced developer can provide some insight into the workings of this property. Regards, Abraham P.S. There is the lilypond-de...@gnu.org mailing-list, in case you didn't know. I think those who follow that one also follow this one, but it's worth a try. ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Special bar lines at end of a line
Thomas I tried to get a special bar line at the end of the FirstPart (at the end of the first line) without success. What kind of special bar line? Does\defineBarLine || #'(|. || ||) do the job? Not quite. This definition makes all the lines end with the special barline |.. I only wanted it at the end of the FirstPart of music. Jay ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Overriding header fonts in a template
I am trying to modify header fonts for the requirement of a publisher. I would rather not use text markup commands in the header, as it's not simple to change multiple works at the same time. I would much rather put the style changes in an external file, so they can all be changed at the same time if requirements change. I'm using an external file for paper size and margin, and staff size, so I would prefer to put overrides in the same place. Is it possible to put header font-name and font-size overrides in an external file and how? Maybe some sort of lilypond css? I tried this but the re-defining of title and other header data didn't work for me. \version 2.18.0 %\header { %% remove header block to turn title into a variable title = Song Title ... %} ... (\PartMusic and \PartWords definitions } \header { title = \markup { \override #'(font-name . 'Nimbus') \title } } \score { \new ChoirStaff ... } ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Overriding header fonts in a template
On Thu, Oct 2, 2014 at 4:16 PM, Jeff Harris [via Lilypond] ml-node+s1069038n167073...@n5.nabble.com wrote: I am trying to modify header fonts for the requirement of a publisher. I would rather not use text markup commands in the header, as it's not simple to change multiple works at the same time. I would much rather put the style changes in an external file, so they can all be changed at the same time if requirements change. I'm using an external file for paper size and margin, and staff size, so I would prefer to put overrides in the same place. Is it possible to put header font-name and font-size overrides in an external file and how? Maybe some sort of lilypond css? I tried this but the re-defining of title and other header data didn't work for me. \version 2.18.0 %\header { %% remove header block to turn title into a variable title = Song Title ... %} ... (\PartMusic and \PartWords definitions } \header { title = \markup { \override #'(font-name . 'Nimbus') \title } } \score { \new ChoirStaff ... } Jeff, Here are two ways to do this: %% publisherCSS.ly % \version 2.18.0 \header { title = \markup { \override #'(font-name . 'Nimbus') \myTitle } } %% publisherScore.ly % \version 2.18.0 myTitle = Song Title \include publisherCSS.ly --- must come AFTER myTitle definition \PartMusic and \PartWords definitions \score { \new ChoirStaff ... } %% Or, have you tried modifying bookTitleMarkup? Here's how I would do it (this is just a slight modification to the default found in titling-init.ly): %% publisherCSS.ly % \version 2.18.0 bookTitleMarkup = \markup { \override #'(baseline-skip . 3.5) \column { \fill-line { \fromproperty #'header:dedication } \override #'(baseline-skip . 3.5) \column { \fill-line { \huge \larger \larger \bold \override #'(font-name . Nimbus)-- Added override here! \fromproperty #'header:title } \fill-line { \large \bold \fromproperty #'header:subtitle } \fill-line { \smaller \bold \fromproperty #'header:subsubtitle } \fill-line { \fromproperty #'header:poet { \large \bold \fromproperty #'header:instrument } \fromproperty #'header:composer } \fill-line { \fromproperty #'header:meter \fromproperty #'header:arranger } } } } %% See if either of those work for you. HTH, Abraham -- View this message in context: http://lilypond.1069038.n5.nabble.com/Overriding-header-fonts-in-a-template-tp167073p167074.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: LilyPond Enhancement Proposal (with Bounty)
Hi all, This feature may (or may not) be a good fit with my [bounty-attached] request, which is that one could set a “minimum-duration” for a markup, and the music underneath would stretch accordingly. Use cases: 1. A MetronomeMark or RehearsalMark over a MultiMeasureRest would stretch the MMR as necessary. 2. A markup could stretch a single bar as necessary. 3. etc. I’m happy to chip in on a the OP’s bounty offer, if the fix also addresses my concern(s). Best, Kieren. ___ Kieren MacMillan, composer www: http://www.kierenmacmillan.info email: i...@kierenmacmillan.info ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Two time signature at start of system
Thank you. Ming On Thursday, October 2, 2014 2:42 PM, Mark Stephen Mrotek carsonm...@ca.rr.com wrote: Ming, Upper voice, measure three, at the beginning, add “\acciaccatura s8.” Mark From:lilypond-user-bounces+carsonmark=ca.rr@gnu.org [mailto:lilypond-user-bounces+carsonmark=ca.rr@gnu.org] On Behalf Of MING TSANG Sent: Thursday, October 02, 2014 5:50 AM To: lilypond-user@gnu.org Subject: Two time signature at start of system Dear lilyponders, I didn't realize until I have coded a hymn with 92 measures that two time signature at bar #78. So I code a test version just bar 76-79 to show the problen system. I have been playing with code and still couldn't remove one of them. What should I do? Also, I run just the right staff or just left staff, I do not see double time signature - ok to me. Immanuel, Ming ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Overriding header fonts in a template
Abraham, Thanks for the help. Creating a new header block is working, it does seem to work better when the variables are defined before they are used. The issue with this is that I don't know what header elements will be used for the next engraving. The bookTitleMarkup looks like it is more robust, easier to change everything in one spot, but I'm not seeing any changes. Lilypond reports no errors. Frescobaldi helped me with the font name, so I know that is spelled correctly. \version 2.18.0 \language english \include ../publisherCSS.ly% bookTitleMarkup stanza \include ../letterpaper.ly % sets letter paper margins \include music.ly % sets header and music variables \score { \new ChoirStaff ... } % throws everything together for output Is there something else I need to do to tell lilypond that I am re-definng bookTitleMarkup? -- This signature file intentionally left blank. On Thu, Oct 2, 2014 at 3:38 PM, tisimst tisimst.lilyp...@gmail.com wrote: On Thu, Oct 2, 2014 at 4:16 PM, Jeff Harris [via Lilypond] [hidden email] http://user/SendEmail.jtp?type=nodenode=167074i=0 wrote: I am trying to modify header fonts for the requirement of a publisher. I would rather not use text markup commands in the header, as it's not simple to change multiple works at the same time. I would much rather put the style changes in an external file, so they can all be changed at the same time if requirements change. I'm using an external file for paper size and margin, and staff size, so I would prefer to put overrides in the same place. Is it possible to put header font-name and font-size overrides in an external file and how? Maybe some sort of lilypond css? I tried this but the re-defining of title and other header data didn't work for me. \version 2.18.0 %\header { %% remove header block to turn title into a variable title = Song Title ... %} ... (\PartMusic and \PartWords definitions } \header { title = \markup { \override #'(font-name . 'Nimbus') \title } } \score { \new ChoirStaff ... } Jeff, Here are two ways to do this: %% publisherCSS.ly % \version 2.18.0 \header { title = \markup { \override #'(font-name . 'Nimbus') \myTitle } } %% publisherScore.ly % \version 2.18.0 *myTitle = Song Title * *\include publisherCSS.ly **--- must come AFTER myTitle definition* \PartMusic and \PartWords definitions \score { \new ChoirStaff ... } %% Or, have you tried modifying bookTitleMarkup? Here's how I would do it (this is just a slight modification to the default found in titling-init.ly): %% publisherCSS.ly % \version 2.18.0 bookTitleMarkup = \markup { \override #'(baseline-skip . 3.5) \column { \fill-line { \fromproperty #'header:dedication } \override #'(baseline-skip . 3.5) \column { \fill-line { \huge \larger \larger \bold *\override #'(font-name . Nimbus)* *-- Added override here!* \fromproperty #'header:title } \fill-line { \large \bold \fromproperty #'header:subtitle } \fill-line { \smaller \bold \fromproperty #'header:subsubtitle } \fill-line { \fromproperty #'header:poet { \large \bold \fromproperty #'header:instrument } \fromproperty #'header:composer } \fill-line { \fromproperty #'header:meter \fromproperty #'header:arranger } } } } %% See if either of those work for you. HTH, Abraham -- View this message in context: Re: Overriding header fonts in a template http://lilypond.1069038.n5.nabble.com/Overriding-header-fonts-in-a-template-tp167073p167074.html Sent from the User mailing list archive http://lilypond.1069038.n5.nabble.com/User-f3.html at Nabble.com. ___ 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: Overriding header fonts in a template
On Thu, Oct 2, 2014 at 6:34 PM, Harris, Jeff j...@jeffharris.us wrote: Abraham, Thanks for the help. Creating a new header block is working, it does seem to work better when the variables are defined before they are used. The issue with this is that I don't know what header elements will be used for the next engraving. The bookTitleMarkup looks like it is more robust, easier to change everything in one spot, but I'm not seeing any changes. Lilypond reports no errors. Frescobaldi helped me with the font name, so I know that is spelled correctly. \version 2.18.0 \language english \include ../publisherCSS.ly% bookTitleMarkup stanza \include ../letterpaper.ly % sets letter paper margins \include music.ly % sets header and music variables \score { \new ChoirStaff ... } % throws everything together for output Is there something else I need to do to tell lilypond that I am re-definng bookTitleMarkup? -- This signature file intentionally left blank. On Thu, Oct 2, 2014 at 3:38 PM, tisimst tisimst.lilyp...@gmail.com wrote: On Thu, Oct 2, 2014 at 4:16 PM, Jeff Harris [via Lilypond] [hidden email] wrote: I am trying to modify header fonts for the requirement of a publisher. I would rather not use text markup commands in the header, as it's not simple to change multiple works at the same time. I would much rather put the style changes in an external file, so they can all be changed at the same time if requirements change. I'm using an external file for paper size and margin, and staff size, so I would prefer to put overrides in the same place. Is it possible to put header font-name and font-size overrides in an external file and how? Maybe some sort of lilypond css? I tried this but the re-defining of title and other header data didn't work for me. \version 2.18.0 %\header { %% remove header block to turn title into a variable title = Song Title ... %} ... (\PartMusic and \PartWords definitions } \header { title = \markup { \override #'(font-name . 'Nimbus') \title } } \score { \new ChoirStaff ... } Jeff, Here are two ways to do this: %% publisherCSS.ly % \version 2.18.0 \header { title = \markup { \override #'(font-name . 'Nimbus') \myTitle } } %% publisherScore.ly % \version 2.18.0 myTitle = Song Title \include publisherCSS.ly --- must come AFTER myTitle definition \PartMusic and \PartWords definitions \score { \new ChoirStaff ... } %% Or, have you tried modifying bookTitleMarkup? Here's how I would do it (this is just a slight modification to the default found in titling-init.ly): %% publisherCSS.ly % \version 2.18.0 bookTitleMarkup = \markup { \override #'(baseline-skip . 3.5) \column { \fill-line { \fromproperty #'header:dedication } \override #'(baseline-skip . 3.5) \column { \fill-line { \huge \larger \larger \bold \override #'(font-name . Nimbus)-- Added override here! \fromproperty #'header:title } \fill-line { \large \bold \fromproperty #'header:subtitle } \fill-line { \smaller \bold \fromproperty #'header:subsubtitle } \fill-line { \fromproperty #'header:poet { \large \bold \fromproperty #'header:instrument } \fromproperty #'header:composer } \fill-line { \fromproperty #'header:meter \fromproperty #'header:arranger } } } } %% See if either of those work for you. HTH, Abraham View this message in context: Re: Overriding header fonts in a template 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 Try putting it in a \paper block. -Abraham ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: LilyPond Enhancement Proposal (with Bounty)
On Oct 2, 2014, at 4:21 PM, Kieren MacMillan kieren_macmil...@sympatico.ca wrote: Hi all, This feature may (or may not) be a good fit with my [bounty-attached] request, which is that one could set a “minimum-duration” for a markup, and the music underneath would stretch accordingly. Use cases: 1. A MetronomeMark or RehearsalMark over a MultiMeasureRest would stretch the MMR as necessary. 2. A markup could stretch a single bar as necessary. 3. etc. I’m happy to chip in on a the OP’s bounty offer, if the fix also addresses my concern(s). Best, Kieren. ___ Kieren MacMillan, composer www: http://www.kierenmacmillan.info email: i...@kierenmacmillan.info Kieren, What we are looking for is an option that can be set for a LilyPond compile that would prevent text (not lyrics which can already be handled) from appearing above or below measure bars. Would this functionality take care of your requirement? Chris ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: LilyPond Enhancement Proposal (with Bounty)
Hi Chris, What we are looking for is an option that can be set for a LilyPond compile that would prevent text (not lyrics which can already be handled) from appearing above or below measure bars. Would this functionality take care of your requirement? No… I believe your requested functionality would be a consequence of my requirement, not the other way around. Kieren. ___ Kieren MacMillan, composer www: http://www.kierenmacmillan.info email: i...@kierenmacmillan.info ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
How to make staff spacing with lyrics fixed
Hey all, How do I get the spacing between lyrics and the surrounding staves to be equal and fixed, regardless of whether noteheads/stems collide with the lyrics? I've tried a number of different combinations of settings and can't get the stems ignored. Also, I noticed that the spacing depends on whether the lyric letters have any descenders. Any way to make it based on the baseline? Thanks, Carl P. ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user