Re: edition-engraver mod on first note
I rendered your MWE and Lilypond created the red note... then I checked the repo and it seems I don't have the newest version, I'm using an old commit from the refactor-override branch. I will check later with the latest master and let you know how it goes. El sáb., 7 nov. 2020 a las 19:47, damianlegassick () escribió: > Hi Stefano > > this is extracted from the example-1.ly from the repo > > \version "2.20.0" > \include "oll-core/package.ily" > \loadPackage edition-engraver > \addEdition test > \editionMod test 1 0/4 along.Voice.A \once \override NoteHead.color = #red > \editionMod test 1 1/4 along.Voice.A \once \override NoteHead.color = > #green > \consistToContexts #edition-engraver Staff.Voice > \new Staff \with { \editionID along } { c'4 c' c' c' } > > no red note... > > Damian > > On 7 November 2020 at 19:55, Stefano Troncaro > wrote: > > Hi Damian, can you post an example? If I remember correctly (I may be > misremembering) there is an issue in scores starting with \partial > > But for example I use the following on a score: > > LVm = \musicPath PNO.left.Voice.main >> \editionMod ed 1 0 \LVm { >> \once \override DynamicText.X-extent = #empty-interval >> <>_#(make-dynamic-text "col pedale") >> } > > > And it works properly. > > Hope that helps, > Stéfano > > El vie., 6 nov. 2020 a las 13:41, damianlegassick (< > damianlegass...@mac.com>) escribió: > >> Hi >> >> I can't persuade edition-engraver to add an \editionMod starting on the >> downbeat of the first bar. I can't even do it with the example.ly from >> the repo (is that why there's an R1 at the top?). >> >> any clues for a workaround or am I being dumb? >> >> Damian >> >
Re: Change staff and cross staff
Yes, that does it. Thanks! -- Knute Snortum On Sat, Nov 7, 2020 at 2:38 PM damianlegassick wrote: > > urgh > > and you'll have to add > > \once \override Dots.stencil = ##f > > just before the gis8. > > Damian > > On 7 November 2020 at 22:33, damianlegassick wrote: > > fiddly one this > > \version "2.21.7" > > \layout { > \context { > \PianoStaff > \consists #Span_stem_engraver > } > } > > rhmusic = { > \time 3/4 > \key e \major > \change Staff = "lower" > \stemUp > 8[ r16 > \change Staff = "upper" > e'16] > > } > > lhmusic = { > \key e \major > \clef "bass" > << > { > \once \omit Stem > \once \omit Beam > \slurDown > gis8.( \crossStaff {b16)} > } > \\ > { > e,4 > } > >> > } > > \new PianoStaff { > << > \new Staff = "upper" {\rhmusic} > \new Staff = "lower"{\lhmusic} > >> > > } > > On 7 November 2020 at 22:04, Knute Snortum wrote: > > Oh, this is so close! The snippet provided doesn't have the slur from > the lower g sharp to the b in it, so I tried adding it. The b is in > the lower hand so I tried slurring to the e and then use \shape to fix > it, but it produces a programming error. Here's the modified > snippet... > > %%% Start > \version "2.21.7" > > \layout { \context { \PianoStaff \consists #Span_stem_engraver } } > > rhmusic = { > \time 3/4 \key e \major > \change Staff = "lower" > \stemUp 8[( r16 % added start paren > \change Staff = "upper" e'16]) % added end paren > } > > lhmusic = { > \key e \major > \clef "bass" > << { s8. \crossStaff {b16} } \\ { e,4 } >> > } > > \new PianoStaff > << > \new Staff = "upper" {\rhmusic} > \new Staff = "lower"{\lhmusic} > > > %%% End > > ...and here's the output I get: > > Starting lilypond 2.21.80 [Untitled (2)]... > Processing `/tmp/frescobaldi-l36z197r/tmplwcszgtc/document.ly' > Parsing... > Interpreting music... > Preprocessing graphical objects... > Finding the ideal number of pages... > Fitting music on 1 page... > Drawing systems...lilypond: > /home/gub/NewGub/gub/target/linux-64/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.22/flower/include/interval.hh:256: > T Interval_t::center() const [with T = double]: Assertion > `!is_empty ()' failed. > Exited with return code 6. > > -- > Knute Snortum > > On Sat, Nov 7, 2020 at 1:32 PM Knute Snortum wrote: > > > That looks good! Thanks! > > > -- > > Knute Snortum > > > > On Sat, Nov 7, 2020 at 11:09 AM damianlegassick > wrote: > > > > > > Try this for starters > > > > > > \version "2.21.7" > > > > > > \layout { \context { \PianoStaff \consists #Span_stem_engraver } } > > > > > > rhmusic = { > > > time 3/4 \key e \major > > > \change Staff = "lower" > > > \stemUp 8[ r16 > > > \change Staff = "upper" e'16] > > > } > > > > > > lhmusic = { > > > \key e \major > > > \clef "bass" > > > << { s8. \crossStaff {b16} } \\ { e,4 } >> > > > } > > > > > > \new PianoStaff { > > > << > > > \new Staff = "upper" {\rhmusic} > > > \new Staff = "lower"{\lhmusic} > > > >> > > > } > > > > > > On 7 November 2020 at 19:04, Knute Snortum wrote: > > > > > > Here's a better MWE with my try using voices in the left hand: > > > > > > %%% Start > > > \version "2.20.0" > > > \language "english" > > > > > > staffUp = \change Staff = "upper" > > > staffDown = \change Staff = "lower" > > > > > > rh = \relative c' { > > > s8. \crossStaff e16 > > > } > > > > > > lh = \relative c' { > > > \clef bass > > > << { 8[ r16 b] } \\ { e,,4 } >> > > > } > > > > > > \score { > > > \new PianoStaff << > > > \new Staff = "upper" { \rh } > > > \new Staff = "lower" { \lh } > > > >> > > > \layout { > > > \context { > > > \PianoStaff > > > \consists #Span_stem_engraver > > > } > > > } > > > } > > > %%% End > > > > > > -- > > > Knute Snortum > > > > > > On Sat, Nov 7, 2020 at 10:48 AM Knute Snortum wrote: > > > > > > > > > I have a tricky measure in the Chopin Mazurka I'm working on. The > > > > > > notes need to be on the lower staff (from the right hand) and the last > > > > > > chord is cross staff. I'd like to be able to do something like > > > > > > this... > > > > > > > > > %%% Start > > > > > > \version "2.20.0" > > > > > > > > > staffUp = \change Staff = "upper" > > > > > > staffDown = \change Staff = "lower" > > > > > > > > > \relative c, { > > > > > > \staffDown 8[ r16 > > > > > > } > > > > > > %%% End > > > > > > > > > ..but of course that doesn't work. I tried something with two voices > > > > > > in the left hand, but ran into problems. I've attached a screenshot > > > > > > of the measure. > > > > > > > > > -- > > > > > > Knute Snortum > > > > > >
Re: Change staff and cross staff
Hi Knute, Am 07.11.20 um 20:02 schrieb Knute Snortum: Here's a better MWE with my try using voices in the left hand: %%% Start \version "2.20.0" \language "english" staffUp = \change Staff = "upper" staffDown = \change Staff = "lower" rh = \relative c' { s8. \crossStaff e16 } lh = \relative c' { \clef bass << { 8[ r16 b] } \\ { e,,4 } >> } \score { \new PianoStaff << \new Staff = "upper" { \rh } \new Staff = "lower" { \lh } >> \layout { \context { \PianoStaff \consists #Span_stem_engraver } } } %%% End My take, of course not so terribly different from Damian's solution: \version "2.21.1" \layout { \context { \PianoStaff \consists Span_stem_engraver } } rhmusic = { \time 3/4 \key e \major << { \change Staff = "lower" \voiceOne b8[ r16 % Uncomment for alternative solution: % 8[ r16 \change Staff = "upper" \crossStaff e'16] } \new Voice { \change Staff = "lower" % Uncomment for alternative solution: % \once\omit Stem \voiceOne gis4*3/4_( \crossStaff b16) } >> 4 -> } lhmusic = { \key e \major \clef "bass" \once \voiceTwo e,4 4 q-> } \new PianoStaff << \new Staff = "upper" { \rhmusic } \new Staff = "lower"{ \lhmusic } >> I admit it's a bit longer, but I'd prefer to keep the magic inside the \rhmusic variable. The alternative solution might be cleaner: It's a matter of either - faking an actual chord by letting a crotchet's stem melt into a quaver's stem, or - (alternative solution) doubling a notehead. Lukas
Re: edition-engraver mod on first note
Hi Stefano this is extracted from the example-1.ly from the repo \version "2.20.0" \include "oll-core/package.ily" \loadPackage edition-engraver \addEdition test \editionMod test 1 0/4 along.Voice.A \once \override NoteHead.color = #red \editionMod test 1 1/4 along.Voice.A \once \override NoteHead.color = #green \consistToContexts #edition-engraver Staff.Voice \new Staff \with { \editionID along } { c'4 c' c' c' } no red note... Damian On 7 November 2020 at 19:55, Stefano Troncaro wrote: Hi Damian, can you post an example? If I remember correctly (I may be misremembering) there is an issue in scores starting with \partial But for example I use the following on a score: LVm = \musicPath PNO.left.Voice.main \editionMod ed 1 0 \LVm { \once \override DynamicText.X-extent = #empty-interval <>_#(make-dynamic-text "col pedale") } And it works properly. Hope that helps, Stéfano El vie., 6 nov. 2020 a las 13:41, damianlegassick () escribió: Hi I can't persuade edition-engraver to add an \editionMod starting on the downbeat of the first bar. I can't even do it with the example.ly from the repo (is that why there's an R1 at the top?). any clues for a workaround or am I being dumb? Damian
Re: Change staff and cross staff
urgh and you'll have to add \once \override Dots.stencil = ##f just before the gis8. Damian On 7 November 2020 at 22:33, damianlegassick wrote: fiddly one this \version "2.21.7" \layout { \context { \PianoStaff \consists #Span_stem_engraver } } rhmusic = { \time 3/4 \key e \major \change Staff = "lower" \stemUp 8[ r16 \change Staff = "upper" e'16] } lhmusic = { \key e \major \clef "bass" << { \once \omit Stem \once \omit Beam \slurDown gis8.( \crossStaff {b16)} } \\ { e,4 } } \new PianoStaff { << \new Staff = "upper" {\rhmusic} \new Staff = "lower"{\lhmusic} } On 7 November 2020 at 22:04, Knute Snortum wrote: Oh, this is so close! The snippet provided doesn't have the slur from the lower g sharp to the b in it, so I tried adding it. The b is in the lower hand so I tried slurring to the e and then use \shape to fix it, but it produces a programming error. Here's the modified snippet... %%% Start \version "2.21.7" \layout { \context { \PianoStaff \consists #Span_stem_engraver } } rhmusic = { \time 3/4 \key e \major \change Staff = "lower" \stemUp 8[( r16 % added start paren \change Staff = "upper" e'16]) % added end paren } lhmusic = { \key e \major \clef "bass" << { s8. \crossStaff {b16} } \\ { e,4 } >> } \new PianoStaff << \new Staff = "upper" {\rhmusic} \new Staff = "lower"{\lhmusic} %%% End ...and here's the output I get: Starting lilypond 2.21.80 [Untitled (2)]... Processing `/tmp/frescobaldi-l36z197r/tmplwcszgtc/document.ly' Parsing... Interpreting music... Preprocessing graphical objects... Finding the ideal number of pages... Fitting music on 1 page... Drawing systems...lilypond: /home/gub/NewGub/gub/target/linux-64/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.22/flower/include/interval.hh:256: T Interval_t::center() const [with T = double]: Assertion `!is_empty ()' failed. Exited with return code 6. -- Knute Snortum On Sat, Nov 7, 2020 at 1:32 PM Knute Snortum wrote: That looks good! Thanks! -- Knute Snortum On Sat, Nov 7, 2020 at 11:09 AM damianlegassick wrote: Try this for starters \version "2.21.7" \layout { \context { \PianoStaff \consists #Span_stem_engraver } } rhmusic = { time 3/4 \key e \major \change Staff = "lower" \stemUp 8[ r16 \change Staff = "upper" e'16] } lhmusic = { \key e \major \clef "bass" << { s8. \crossStaff {b16} } \\ { e,4 } >> } \new PianoStaff { << \new Staff = "upper" {\rhmusic} \new Staff = "lower"{\lhmusic} >> } On 7 November 2020 at 19:04, Knute Snortum wrote: Here's a better MWE with my try using voices in the left hand: %%% Start \version "2.20.0" \language "english" staffUp = \change Staff = "upper" staffDown = \change Staff = "lower" rh = \relative c' { s8. \crossStaff e16 } lh = \relative c' { \clef bass << { 8[ r16 b] } \\ { e,,4 } >> } \score { \new PianoStaff << \new Staff = "upper" { \rh } \new Staff = "lower" { \lh } >> \layout { \context { \PianoStaff \consists #Span_stem_engraver } } } %%% End -- Knute Snortum On Sat, Nov 7, 2020 at 10:48 AM Knute Snortum wrote: I have a tricky measure in the Chopin Mazurka I'm working on. The notes need to be on the lower staff (from the right hand) and the last chord is cross staff. I'd like to be able to do something like this... %%% Start \version "2.20.0" staffUp = \change Staff = "upper" staffDown = \change Staff = "lower" \relative c, { \staffDown 8[ r16 } %%% End ..but of course that doesn't work. I tried something with two voices in the left hand, but ran into problems. I've attached a screenshot of the measure. -- Knute Snortum
Re: Change staff and cross staff
fiddly one this \version "2.21.7" \layout { \context { \PianoStaff \consists #Span_stem_engraver } } rhmusic = { \time 3/4 \key e \major \change Staff = "lower" \stemUp 8[ r16 \change Staff = "upper" e'16] } lhmusic = { \key e \major \clef "bass" << { \once \omit Stem \once \omit Beam \slurDown gis8.( \crossStaff {b16)} } \\ { e,4 } } \new PianoStaff { << \new Staff = "upper" {\rhmusic} \new Staff = "lower"{\lhmusic} } On 7 November 2020 at 22:04, Knute Snortum wrote: Oh, this is so close! The snippet provided doesn't have the slur from the lower g sharp to the b in it, so I tried adding it. The b is in the lower hand so I tried slurring to the e and then use \shape to fix it, but it produces a programming error. Here's the modified snippet... %%% Start \version "2.21.7" \layout { \context { \PianoStaff \consists #Span_stem_engraver } } rhmusic = { \time 3/4 \key e \major \change Staff = "lower" \stemUp 8[( r16 % added start paren \change Staff = "upper" e'16]) % added end paren } lhmusic = { \key e \major \clef "bass" << { s8. \crossStaff {b16} } \\ { e,4 } >> } \new PianoStaff << \new Staff = "upper" {\rhmusic} \new Staff = "lower"{\lhmusic} %%% End ...and here's the output I get: Starting lilypond 2.21.80 [Untitled (2)]... Processing `/tmp/frescobaldi-l36z197r/tmplwcszgtc/document.ly' Parsing... Interpreting music... Preprocessing graphical objects... Finding the ideal number of pages... Fitting music on 1 page... Drawing systems...lilypond: /home/gub/NewGub/gub/target/linux-64/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.22/flower/include/interval.hh:256: T Interval_t::center() const [with T = double]: Assertion `!is_empty ()' failed. Exited with return code 6. -- Knute Snortum On Sat, Nov 7, 2020 at 1:32 PM Knute Snortum wrote: That looks good! Thanks! -- Knute Snortum On Sat, Nov 7, 2020 at 11:09 AM damianlegassick wrote: Try this for starters \version "2.21.7" \layout { \context { \PianoStaff \consists #Span_stem_engraver } } rhmusic = { time 3/4 \key e \major \change Staff = "lower" \stemUp 8[ r16 \change Staff = "upper" e'16] } lhmusic = { \key e \major \clef "bass" << { s8. \crossStaff {b16} } \\ { e,4 } >> } \new PianoStaff { << \new Staff = "upper" {\rhmusic} \new Staff = "lower"{\lhmusic} >> } On 7 November 2020 at 19:04, Knute Snortum wrote: Here's a better MWE with my try using voices in the left hand: %%% Start \version "2.20.0" \language "english" staffUp = \change Staff = "upper" staffDown = \change Staff = "lower" rh = \relative c' { s8. \crossStaff e16 } lh = \relative c' { \clef bass << { 8[ r16 b] } \\ { e,,4 } >> } \score { \new PianoStaff << \new Staff = "upper" { \rh } \new Staff = "lower" { \lh } >> \layout { \context { \PianoStaff \consists #Span_stem_engraver } } } %%% End -- Knute Snortum On Sat, Nov 7, 2020 at 10:48 AM Knute Snortum wrote: I have a tricky measure in the Chopin Mazurka I'm working on. The notes need to be on the lower staff (from the right hand) and the last chord is cross staff. I'd like to be able to do something like this... %%% Start \version "2.20.0" staffUp = \change Staff = "upper" staffDown = \change Staff = "lower" \relative c, { \staffDown 8[ r16 } %%% End ..but of course that doesn't work. I tried something with two voices in the left hand, but ran into problems. I've attached a screenshot of the measure. -- Knute Snortum
Re: Change staff and cross staff
Oh, this is so close! The snippet provided doesn't have the slur from the lower g sharp to the b in it, so I tried adding it. The b is in the lower hand so I tried slurring to the e and then use \shape to fix it, but it produces a programming error. Here's the modified snippet... %%% Start \version "2.21.7" \layout { \context { \PianoStaff \consists #Span_stem_engraver } } rhmusic = { \time 3/4 \key e \major \change Staff = "lower" \stemUp 8[( r16 % added start paren \change Staff = "upper" e'16]) % added end paren } lhmusic = { \key e \major \clef "bass" << { s8. \crossStaff {b16} } \\ { e,4 } >> } \new PianoStaff << \new Staff = "upper" {\rhmusic} \new Staff = "lower"{\lhmusic} >> %%% End ...and here's the output I get: Starting lilypond 2.21.80 [Untitled (2)]... Processing `/tmp/frescobaldi-l36z197r/tmplwcszgtc/document.ly' Parsing... Interpreting music... Preprocessing graphical objects... Finding the ideal number of pages... Fitting music on 1 page... Drawing systems...lilypond: /home/gub/NewGub/gub/target/linux-64/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.22/flower/include/interval.hh:256: T Interval_t::center() const [with T = double]: Assertion `!is_empty ()' failed. Exited with return code 6. -- Knute Snortum On Sat, Nov 7, 2020 at 1:32 PM Knute Snortum wrote: > > That looks good! Thanks! > > -- > Knute Snortum > > > On Sat, Nov 7, 2020 at 11:09 AM damianlegassick > wrote: > > > > Try this for starters > > > > \version "2.21.7" > > > > \layout { \context { \PianoStaff \consists #Span_stem_engraver } } > > > > rhmusic = { > > time 3/4 \key e \major > > \change Staff = "lower" > > \stemUp 8[ r16 > > \change Staff = "upper" e'16] > > } > > > > lhmusic = { > > \key e \major > > \clef "bass" > > << { s8. \crossStaff {b16} } \\ { e,4 } >> > > } > > > > \new PianoStaff { > > << > > \new Staff = "upper" {\rhmusic} > > \new Staff = "lower"{\lhmusic} > > >> > > } > > > > On 7 November 2020 at 19:04, Knute Snortum wrote: > > > > Here's a better MWE with my try using voices in the left hand: > > > > %%% Start > > \version "2.20.0" > > \language "english" > > > > staffUp = \change Staff = "upper" > > staffDown = \change Staff = "lower" > > > > rh = \relative c' { > > s8. \crossStaff e16 > > } > > > > lh = \relative c' { > > \clef bass > > << { 8[ r16 b] } \\ { e,,4 } >> > > } > > > > \score { > > \new PianoStaff << > > \new Staff = "upper" { \rh } > > \new Staff = "lower" { \lh } > > >> > > \layout { > > \context { > > \PianoStaff > > \consists #Span_stem_engraver > > } > > } > > } > > %%% End > > > > -- > > Knute Snortum > > > > On Sat, Nov 7, 2020 at 10:48 AM Knute Snortum wrote: > > > > > > I have a tricky measure in the Chopin Mazurka I'm working on. The > > > > notes need to be on the lower staff (from the right hand) and the last > > > > chord is cross staff. I'd like to be able to do something like > > > > this... > > > > > > %%% Start > > > > \version "2.20.0" > > > > > > staffUp = \change Staff = "upper" > > > > staffDown = \change Staff = "lower" > > > > > > \relative c, { > > > > \staffDown 8[ r16 > > > > } > > > > %%% End > > > > > > ..but of course that doesn't work. I tried something with two voices > > > > in the left hand, but ran into problems. I've attached a screenshot > > > > of the measure. > > > > > > -- > > > > Knute Snortum > > > >
Re: Change staff and cross staff
That looks good! Thanks! -- Knute Snortum On Sat, Nov 7, 2020 at 11:09 AM damianlegassick wrote: > > Try this for starters > > \version "2.21.7" > > \layout { \context { \PianoStaff \consists #Span_stem_engraver } } > > rhmusic = { > time 3/4 \key e \major > \change Staff = "lower" > \stemUp 8[ r16 > \change Staff = "upper" e'16] > } > > lhmusic = { > \key e \major > \clef "bass" > << { s8. \crossStaff {b16} } \\ { e,4 } >> > } > > \new PianoStaff { > << > \new Staff = "upper" {\rhmusic} > \new Staff = "lower"{\lhmusic} > >> > } > > On 7 November 2020 at 19:04, Knute Snortum wrote: > > Here's a better MWE with my try using voices in the left hand: > > %%% Start > \version "2.20.0" > \language "english" > > staffUp = \change Staff = "upper" > staffDown = \change Staff = "lower" > > rh = \relative c' { > s8. \crossStaff e16 > } > > lh = \relative c' { > \clef bass > << { 8[ r16 b] } \\ { e,,4 } >> > } > > \score { > \new PianoStaff << > \new Staff = "upper" { \rh } > \new Staff = "lower" { \lh } > >> > \layout { > \context { > \PianoStaff > \consists #Span_stem_engraver > } > } > } > %%% End > > -- > Knute Snortum > > On Sat, Nov 7, 2020 at 10:48 AM Knute Snortum wrote: > > > I have a tricky measure in the Chopin Mazurka I'm working on. The > > notes need to be on the lower staff (from the right hand) and the last > > chord is cross staff. I'd like to be able to do something like > > this... > > > %%% Start > > \version "2.20.0" > > > staffUp = \change Staff = "upper" > > staffDown = \change Staff = "lower" > > > \relative c, { > > \staffDown 8[ r16 > > } > > %%% End > > > ..but of course that doesn't work. I tried something with two voices > > in the left hand, but ran into problems. I've attached a screenshot > > of the measure. > > > -- > > Knute Snortum > >
Re: OTF text font family with optical sizes : unable to access regular font
>> I’m having an issue using the Arno Pro typeface as a text font in >> LilyPond. [...] Have you already sent us the output of fc-list | grep 'Arno Pro' ? Werner
Re: OTF text font family with optical sizes : unable to access regular font
The Adobe Font page (https://fonts.adobe.com/fonts/arno) lists the regular font as "Arno Pro Regular". Have you tried that? I'm definitely not a font expert, but reckon "Arno Pro" is probably the font family in total. On 27/10/2020 15:50, Daniel Tobias Johansen Langhoff wrote: Hi I’m having an issue using the Arno Pro typeface as a text font in LilyPond. When trying to use the regular font of the regular optical size, "Arno Pro Caption" is being substituted, as confirmed by pdffonts. Italic works as expected (as well as bold), and I can explicitly specify any other font of the family, like "Arno Pro Smbd Display". This bug is not happening with Garamond Premier Pro. I’m running LilyPond 2.20.0 on Ubuntu 20.04. I’ll happily provide more information on request. First time posting to any mailing list, so I hope I’m doing this correctly. $ cat minimal.ly \paper { #(define fonts (set-global-fonts #:roman "Arno Pro" )) } \markup { "Regular" \italic "Italic" } $ pdffonts minimal.ly name type encoding emb sub uni object ID - --- --- --- - LMLSAN+ArnoPro-Caption Type 1C Custom yes yes yes 8 0 DARGUI+ArnoPro-ItalicType 1C WinAnsi yes yes no 11 0 Regards Daniel Tobias -- Phil Holmes
Re: edition-engraver mod on first note
Hi Damian, can you post an example? If I remember correctly (I may be misremembering) there is an issue in scores starting with \partial But for example I use the following on a score: LVm = \musicPath PNO.left.Voice.main > \editionMod ed 1 0 \LVm { > \once \override DynamicText.X-extent = #empty-interval > <>_#(make-dynamic-text "col pedale") > } And it works properly. Hope that helps, Stéfano El vie., 6 nov. 2020 a las 13:41, damianlegassick () escribió: > Hi > > I can't persuade edition-engraver to add an \editionMod starting on the > downbeat of the first bar. I can't even do it with the example.ly from > the repo (is that why there's an R1 at the top?). > > any clues for a workaround or am I being dumb? > > Damian >
Re: Change staff and cross staff
Try this for starters \version "2.21.7" \layout { \context { \PianoStaff \consists #Span_stem_engraver } } rhmusic = { time 3/4 \key e \major \change Staff = "lower" \stemUp 8[ r16 \change Staff = "upper" e'16] } lhmusic = { \key e \major \clef "bass" << { s8. \crossStaff {b16} } \\ { e,4 } >> } \new PianoStaff { << \new Staff = "upper" {\rhmusic} \new Staff = "lower"{\lhmusic} } On 7 November 2020 at 19:04, Knute Snortum wrote: Here's a better MWE with my try using voices in the left hand: %%% Start \version "2.20.0" \language "english" staffUp = \change Staff = "upper" staffDown = \change Staff = "lower" rh = \relative c' { s8. \crossStaff e16 } lh = \relative c' { \clef bass << { 8[ r16 b] } \\ { e,,4 } >> } \score { \new PianoStaff << \new Staff = "upper" { \rh } \new Staff = "lower" { \lh } \layout { \context { \PianoStaff \consists #Span_stem_engraver } } } %%% End -- Knute Snortum On Sat, Nov 7, 2020 at 10:48 AM Knute Snortum wrote: I have a tricky measure in the Chopin Mazurka I'm working on. The notes need to be on the lower staff (from the right hand) and the last chord is cross staff. I'd like to be able to do something like this... %%% Start \version "2.20.0" staffUp = \change Staff = "upper" staffDown = \change Staff = "lower" \relative c, { \staffDown 8[ r16 } %%% End ..but of course that doesn't work. I tried something with two voices in the left hand, but ran into problems. I've attached a screenshot of the measure. -- Knute Snortum
Re: Change staff and cross staff
Here's a better MWE with my try using voices in the left hand: %%% Start \version "2.20.0" \language "english" staffUp = \change Staff = "upper" staffDown = \change Staff = "lower" rh = \relative c' { s8. \crossStaff e16 } lh = \relative c' { \clef bass << { 8[ r16 b] } \\ { e,,4 } >> } \score { \new PianoStaff << \new Staff = "upper" { \rh } \new Staff = "lower" { \lh } >> \layout { \context { \PianoStaff \consists #Span_stem_engraver } } } %%% End -- Knute Snortum On Sat, Nov 7, 2020 at 10:48 AM Knute Snortum wrote: > > I have a tricky measure in the Chopin Mazurka I'm working on. The > notes need to be on the lower staff (from the right hand) and the last > chord is cross staff. I'd like to be able to do something like > this... > > %%% Start > \version "2.20.0" > > staffUp = \change Staff = "upper" > staffDown = \change Staff = "lower" > > \relative c, { > \staffDown 8[ r16 > } > %%% End > > ..but of course that doesn't work. I tried something with two voices > in the left hand, but ran into problems. I've attached a screenshot > of the measure. > > -- > Knute Snortum
Change staff and cross staff
I have a tricky measure in the Chopin Mazurka I'm working on. The notes need to be on the lower staff (from the right hand) and the last chord is cross staff. I'd like to be able to do something like this... %%% Start \version "2.20.0" staffUp = \change Staff = "upper" staffDown = \change Staff = "lower" \relative c, { \staffDown 8[ r16 } %%% End ..but of course that doesn't work. I tried something with two voices in the left hand, but ran into problems. I've attached a screenshot of the measure. -- Knute Snortum
Re: Custom page numbers in table of contents
Ah, I see what Noah means. The code quoted is not misleading, but neither is it practical. It is meant to demonstrate a specific point, not to show a real-world example. Not sure if there is anything to be done about that on the documentation side, but the confusion is certainly understandable. Hwaen Ch'uqi On 11/6/20, Jon Arnold wrote: > No need to be sorry! Glad we could figure out the problem. > > On Fri, Nov 6, 2020, 1:39 PM Noah Landis wrote: > >> > The tocitem needs to go right above or in each score block. You've put >> them >> > on the same page as your table of contents, which is why they're >> displaying >> > the same page number. >> Oh man, sorry for all that then. I more or less just copied a snippet >> from the manual; more specifically this one: >> >> \book { >> \markuplist \table-of-contents >> \tocItem \markup { Allegro } >> \tocItem \markup { Largo } >> \markup \null >> } >> >