Re: Written-out arpeggio with tuplet, cross-staff, ties
Javier Ruiz-Alma wrote > Hi Eluze, > I tried to add this to LSR, but the facility supports syntax only up to > 2.14. > This being a demo of waitForTie with tuplet rhythm and crossStaff (not > available in 2.14), just couldn't get a snippet this facility would > accept. > > Once issue 2270 is progressed, this workaround shouldn't be needed. ok - I wasn't aware of this issue. Eluze -- View this message in context: http://lilypond.1069038.n5.nabble.com/Written-out-arpeggio-with-tuplet-cross-staff-ties-tp159780p159911.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: Written-out arpeggio with tuplet, cross-staff, ties
Javier Ruiz-Alma wrote > Solved overlaying a 2nd voice with cross-staff stems > [...] thanks for sharing this solution - maybe it's worth to be recorded in the LSR?! Eluze -- View this message in context: http://lilypond.1069038.n5.nabble.com/Written-out-arpeggio-with-tuplet-cross-staff-ties-tp159780p159905.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: Compiler layout parameters
Carlo Vanoni wrote > I'm a programmer, and I'm used to use command line parameters when > compiling a program. > As an example: > > gcc my_source_code.c -I"include_folder" -o my_program > > Here, I tell the compiler to watch inside "include_folder" for files to > include during the copilation process. > > My idea is to define a layout behaviour at compile time. > Why? Here is an example. > I have a bass guitar transcription. For teaching purpose, I add to each > note which left-hand finger to use. Then, I would like to have a more > clean score for me, without oll these numbers on top of the note. > Basically, I would like to use the seme .ly file with all the infos, and > then use (pseudo code here...) > > lilypond my_score.ly omit_finger_tips ##f > > to create the teaching score, and > > lilypond my_score.ly omit_finger_tips ##t > > to create the cleaner score. > > Is there a way to do this? > And does it make any sense to you? certainly this makes sense! you can use \layout{ \context{ \Voice \remove New_fingering_engraver } } to remove the fingering in a compilation. best put this in a file which you can include or not when invoking LilyPond. Eluze -- View this message in context: http://lilypond.1069038.n5.nabble.com/Compiler-layout-parameters-tp159878p159881.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: piece title
bart deruyter wrote > I minimized it to what I think is quite minimal. minimal is somewhat different... > I think you can see the difference of location between the piece title > above the clef, it is adjusted to the position of the note, which is good > for longer titles. There's no collision with the clef yet, but it is > coming > quite close. an example with a real collision would help more > My question then was/is, is there a way to change the alignment of the > piece title to the clef instead of the note, so I won't have to adjust the > position of it with markup in each score. In that respect, the comments > about my previous upload do illustrate the problem: quite some code to > shift through to fix it. LilyPond lets you define several distance parameters between systems, scores, headers, markups and more - see http://www.lilypond.org/doc/v2.19/Documentation/notation/flexible-vertical-spacing-paper-variables, specifically the /List of flexible vertical spacing \paper variables/ hth Eluze -- View this message in context: http://lilypond.1069038.n5.nabble.com/piece-title-tp159622p159646.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: Problem with slur priority
Francisco Vila wrote > I forgot the images. They are for 2.0 and 2.19 > I added \override TupletBracket.bracket-visibility = ##f > to match the 2.0 version. So, how to force the same behavior? can't say much to the behavior of 2.0 (are you sure the files are named correctly?) with \once \override TupletNumber.avoid-slur =#'outside a first step is done: this will still position the number as if the bracket was there, but you can correct it with an extra-offset here is the full code: \relative c' { \override TupletBracket.stencil = ##f \override TupletBracket.direction = #DOWN \override TupletNumber.direction = #DOWN \tuplet 3/2 { f8[( e]) f } \tuplet 3/2 { g8[( f]) g } \tuplet 3/2 { a8[( g]) a } \once \override TupletNumber.avoid-slur =#'outside \once \override TupletNumber.extra-offset=#'(0 . 1.3) \tuplet 3/2 { b8[( a]) b } } \version "2.19.2" Eluze -- View this message in context: http://lilypond.1069038.n5.nabble.com/Problem-with-slur-priority-tp159615p159620.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: Continuing issues with variable \markup issues in footers
Joshua Nichols wrote > So, after taking the advice of the forum, I supplanted the following > snippet: > > oddFooterMarkup = \markup \fill-line { \fontsize #2 > > \on-the-fly #not-first-page \fromproperty #'page:page-number-string > > \on-the-fly #first-page \fromproperty #'header:copyright > > } > > > and compiled. What I'm getting is a first page which the copyright is not > centered at the bottom of the page, though it says \fill-line. When I try > other variable ways of getting this effect, I either get error codes and > fatal returns, or my even footer markup does not show up. > > > Does anyone know how to get the copyright centered on the first page? as I told my example wasn't thoroughly tested - just a sketch. try this: \paper { oddFooterMarkup = \markup { \fontsize #9 { \on-the-fly #not-first-page \fill-line { \with-color #green \fromproperty #'page:page-number-string } \on-the-fly #first-page \fill-line { \with-color #red \fromproperty #'header:copyright } } } } \header {copyright=copyright } { c d e f \pageBreak c d e f } and there are plenty of variations! please also keep your answers in the topic! Eluze -- View this message in context: http://lilypond.1069038.n5.nabble.com/Continuing-issues-with-variable-markup-issues-in-footers-tp159549p159554.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: Printing Copyright on title page
Joshua Nichols wrote > Hello List, > > I'm having trouble getting the copyright notice to show up on the first > page when I'm using the following (in the \paper block): > > oddFooterMarkup = \markup \fill-line { \fontsize #2 \on-the-fly > > #not-first-page \fromproperty #'page:page-number-string } you only define what happens when /#not-first-page/ is true you should also define what shall be inserted when it *is* the first page - eg. (not tested exactly): oddFooterMarkup = \markup \fill-line { \fontsize #2 \on-the-fly #not-first-page \fromproperty #'page:page-number-string \on-the-fly #first-page \fromproperty #'header ... } hth Eluze -- View this message in context: http://lilypond.1069038.n5.nabble.com/Printing-Copyright-on-title-page-tp159474p159477.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: Lines and Ties and Slurs oh my!
steve-166 wrote > Howdy! > > It is well known that Ties and Slurs are problematic in LilyPond > 2.18.0. As can be seen by > a simple example from my project "Goldberg Variations for Guitar Ensemble" > variation 22 hi steve! can you please point to the problematic tie or slur directly in the sense of a tiny example!? thanks! Eluze -- View this message in context: http://lilypond.1069038.n5.nabble.com/Lines-and-Ties-and-Slurs-oh-my-tp159306p159315.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: \context \voice override previous \context voice
MING TSANG wrote > I try to combine two includes into one and I encounter the last \context > \voice override previous \context \voice. that's expected behavior. > I am expecting soprano voice has EzNum encoded and alto voice has EzSol > encoded. Is is feasible to do this in lilypond? you can use a specific engraver in each voice with \new Voice = "sop" \with { \consists \Ez_numbers-engraver } Eluze -- View this message in context: http://lilypond.1069038.n5.nabble.com/context-voice-override-previous-context-voice-tp159286p159288.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: consolidate code
David Nalesnik-2 wrote > Hi, > > > On Tue, Feb 11, 2014 at 3:35 PM, Phil Holmes < > mail@ > > wrote: > >> OK - so this "tiny" example is 107 lines of code. >> >> >> >> - Original Message - >> *From:* MING TSANG < > tsang94@ > > >> *To:* -Eluze < > eluzew@ > > ; lilypond-user mailinglist< > lilypond-user@ > > >> *Sent:* Tuesday, February 11, 2014 9:07 PM >> *Subject:* Re: consolidate code >> >> *From*: Eluze *Subject*: Re: consolidate code *Date*: Tue, 11 Feb 2014 >> 11:57:54 -0800 (PST) >> -- >> >> MING TSANG wrote >> >* I hope the attached .ly file qualifies as tiny snippet.* >> >> >>certainly not - please reduce it to one or two notes to show the >> >>unexpected >> >>behavior, and define clearly what you'd expect! >> >> In this case, I think that there might be a misunderstanding. Cutting >> the > example down further wouldn't convey one of the problems the OP is having, > I think. Namely, that the .ly file contains a function which he has had > to > repeat several times for the sake of tiny modifications. He's wondering > if > it can be expressed more simply as a function that takes arguments to cut > down on the repetition. > > Unfortunately, I'm not at a machine where I can help at the moment. > > Best, > David > > P.S. @Ming: I found the source of your code very rapidly with a simple > search: http://www.mail-archive.com/ > lilypond-user@ > /msg73062.html I think that's not an answer to what I asked for, namely /please reduce it to one or two notes to show the problem.../ nothing against functions in the background - but it doesn't make sense to include functions which are not used in the incriminated code - otherwise you could include the whole LilyPond code for each report... Eluze -- View this message in context: http://lilypond.1069038.n5.nabble.com/consolidate-code-tp159125p159132.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: consolidate code
MING TSANG wrote > I hope the attached .ly file qualifies as tiny snippet. certainly not - please reduce it to one or two notes to show the unexpected behavior, and define clearly what you'd expect! > Any help or suggestion is appreciated. I don't know scheme code. I do not > under what the code is doing except they display numbers or solfege. you could at least specify where the code you use is coming from! thanks! Eluze -- View this message in context: http://lilypond.1069038.n5.nabble.com/consolidate-code-tp159125p159126.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: Breton bagpipe notation
Am 11.02.2014 04:45, schrieb guoguocuozuoduo: > thanks, this worked. > And what do you mean by > > > please always respond to the list! > ? > hi Brian glad it works your question came in thru LilyPond's user-list Lilypond-User originally all the people reading your contribution might also be interested in follow ups to this question Eluze ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Breton bagpipe notation
Eluze wrote > > guocuozuoduo wrote >> Is it possible to setup the basic template for Breton bagpipe notation? >> (as opposed to Scottish notation, Breton notation has all melody notes >> stem-up and all grace notes/embellishments stem-down.) >> > can you simply reverse the definitions in the \layout section? > or can you give a tiny example how this should look like? Scottish and > Breton? guocuozuoduo wrote > \score { > \new Staff { > \key d \major > \marchTime > \bar ".|" > \stemUp > \partial 8 e8 > \stemDown \grg > \stemUp a4 > \stemDown \taor > \stemUp a8. b16 > \stemDown \dblc > \stemUp c8 > \stemDown \gre > \stemUp a > \stemDown \dblc > \stemUp c e > \stemDown \dblA > \stemUp A4 > \stemDown \grg > \stemUp A > \stemDown \grip > \stemUp A8 e > \stemDown \dblc > \stemUp c > \stemDown \gre > \stemUp a > } > \header { > piece = "Breton notation" > } > \layout { > \context { > \Voice > % All stems go up. > \override Stem.direction = #UP > % How would you tell LP that all \pgrace needs to be stem-down while the > remaining notes to be stem-up? > % All slurs and ties are below. > \override Slur.direction = #DOWN > \override Tie.direction = #DOWN > } > } > } > [...] please always respond to the list! please always send such lists of code as file attachment (if needed at all)! to your question: $(add-grace-property 'Voice 'Stem 'direction -1) in the code or layout section should do the trick. Eluze -- View this message in context: http://lilypond.1069038.n5.nabble.com/Breton-bagpipe-notation-tp159010p159071.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: Breton bagpipe notation
guocuozuoduo wrote > Is it possible to setup the basic template for Breton bagpipe notation? > (as opposed to Scottish notation, Breton notation has all melody notes > stem-up and all grace notes/embellishments stem-down.) > > Here is the code for Scottish notation: > > \version "2.19.2" > \layout { > ... can you simply reverse the definitions in the \layout section? or can you give a tiny example how this should look like? Scottish and Breton? Eluze -- View this message in context: http://lilypond.1069038.n5.nabble.com/Breton-bagpipe-notation-tp159010p159066.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: Fwd: [SNIPPET] Text with Lettrine
Schneidy wrote > Please find herewith a short text that starts with a lettrine. > Up to now, it was a headache for me to set the first two lines but thanks > to Mike and David it's much easier now. great! sounds like it could be enhanced to simplify the input with a function?! parameter 1 lettrine parameter 2 capitalized text parameter 3 flow text (without deeper thoughts) thanks for your effort so far! Eluze -- View this message in context: http://lilypond.1069038.n5.nabble.com/Fwd-SNIPPET-Text-with-Lettrine-tp159028p159065.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: header not showing bookpart-score header info
Kieren MacMillan wrote > Hello all, > > Why is the header not showing up here? > > \version "2.19" > > \paper { > print-all-headers = ##t > bookTitleMarkup = \markup \abs-fontsize #72 \fill-line { \center-column > { \fromproperty #'header:title \vspace #4 } } > scoreTitleMarkup = \markup \abs-fontsize #48 \fill-line { \fromproperty > #'header:piece } > oddHeaderMarkup = \markup \abs-fontsize #12 \fromproperty #'header:piece > evenHeaderMarkup = \markup \abs-fontsize #12 \fromproperty > #'header:piece > } > > \header { > title = "Book Title" > } > > \bookpart { > > \score { > c'' > \header { piece = "In C" } > } > > \pageBreak > > \score { > d'' > \header { piece = "In D" } > } > } well - if you're talking about the piece it's clear from the NR: " oddHeaderMarkup evenHeaderMarkup oddFooterMarkup evenFooterMarkup These markup variables can only access text fields from top-level \header blocks" now you can define piece at top-level as well as in the \score-header: \bookpart { \header { piece = ##f } \score { { ... } } \header { piece = wonderful} } and - unexpectedly - "wonderful" will spread over the whole score... Eluze -- View this message in context: http://lilypond.1069038.n5.nabble.com/header-not-showing-bookpart-score-header-info-tp158990p158995.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: Difficulties encountered while making snippets (to be used as musical quotations inside an article)
Jean-Luc Chevillard wrote > I have three questions (A, B and C), > which come at the end of a lengthy explanation > and which precede a sample file > [...] did you try http://www.lilypond.org/doc/v2.19/Documentation/usage/lilypond-output-in-other-programs#inserting-lilypond-output-into-other-programs ? please come back if there are still problems or it isn't satisfactory! Eluze -- View this message in context: http://lilypond.1069038.n5.nabble.com/Difficulties-encountered-while-making-snippets-to-be-used-as-musical-quotations-inside-an-article-tp158934p158958.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: Tempo placement
Marc Hohl wrote >>> >>> melLeftEdge = { >>> \override Score.MetronomeMark.break-align-symbols = #'(left-edge) >>> \tempo "Slowly" 4 = 60 >>> c'4 >>> } sometimes we're searching for too complicated things... it seems that adding \override Score.MetronomeMark.self-alignment-X =#1 is a simple solution Eluze -- View this message in context: http://lilypond.1069038.n5.nabble.com/Tempo-placement-tp158722p158779.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: Tempo placement
Marc Hohl wrote > Hi list, > > I want the tempo indication to appear at the leftmost edge of the piece > (I know that Gould has a different opinion about this, but I am using > LilyJAZZ, and the Realbook style does not care about these typographic > conventions). > > However, changing the break-align-symbols property does not seem to > have *any* effect: > > \version "2.19.0" > > melLeftEdge = { >\override Score.MetronomeMark.break-align-symbols = #'(left-edge) >\tempo "Slowly" 4 = 60 >c'4 > } > \score { \new Staff { \melLeftEdge } } > > melClef = { >\override Score.MetronomeMark.break-align-symbols = #'(clef) >\tempo "Slowly" 4 = 60 >c'4 > } > \score { \new Staff { \melClef } } > > melKey = { >\override Score.MetronomeMark.break-align-symbols = #'(key-signature) >\tempo "Slowly" 4 = 60 >c'4 > } > \score { \new Staff { \melKey } } > > How can I achieve a left-aligned tempo indication? that sounds like a sophisticated problem! instead of MetronomeMark try \override Score.RehearsalMark.break-align-symbols = #'(left-edge) then, quoting the NR: "Using the break-alignable-interface Rehearsal marks and bar numbers may be aligned with notation objects other than bar lines. These objects include ambitus, breathing-sign, clef, custos, staff-bar, left-edge, key-cancellation, key-signature, and time-signature. Each type of object has its own default reference point, to which rehearsal marks are aligned" you'll have to determine the reference point you like. hth - a bit Eluze -- View this message in context: http://lilypond.1069038.n5.nabble.com/Tempo-placement-tp158722p158761.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: Layout issue when parsing line
Noeck wrote > That helps to make the Glissando longer but not shorter (or like I put > it: more space between the objects (dot and glissando)). But the padding > above is fine. do you mean the gap as described in http://www.lilypond.org/doc/v2.19/Documentation/internals-big-page.html#glissando ? Eluze -- View this message in context: http://lilypond.1069038.n5.nabble.com/Layout-issue-when-parsing-line-tp158730p158760.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: Layout issue when parsing line
Noeck wrote >> well - the collision avoidance behavior of LilyPond may not be optimal >> here >> but you can simply >> >> -\tweak Glissando.Y-offset #-.5 >> >> there might be other solutions (just ask if you're not happy with this) >> >> Eluze > > Maybe he is happy with it. I am not quite, because it shifts the > endpoint down, too. This could be solved by some extra-dy value. I was expecting this question > But in general, what I would want to achieve here is to move the > glissando and all following notes to the right or to shorten the > glissando on the left. > > I therefore tried to solve the original question with X-offset, > extra-X-extend, X-extend and minimum-X-extend (not fully understanding > all of them) but could not find a solution. so here are some tweaks/overrides: % move the glissando horizontally away from the starting note \override Glissando.bound-details.left.padding = #3 % move the glissando horizontally towards the landing note \override Glissando.bound-details.right.padding = #0 > Is there a way in LP to say: I need more space here between these two > objects? and for this last question: \override Glissando.minimum-length=15 which only works if you also override springs-and-rods: \override Glissando.springs-and-rods = #ly:spanner::set-spacing-rods I don't know where all these properties are listed systematically, but I assume Internals should be the place to start searching. Eluze -- View this message in context: http://lilypond.1069038.n5.nabble.com/Layout-issue-when-parsing-line-tp158730p158758.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: Layout issue when parsing line
Antara-Prabhat wrote > Hi, > > I'm new to Lilypond. > I've learned only the very basics. > When I typeset this score with Lilypond 2.18.0-1 on my mac, > the 2nd dotted half note is being obscured by the glissando line. > Please help me resolve this issue by providing the solution > or directing me to a documentation page where I may do so myself. > Thank you! well - the collision avoidance behavior of LilyPond may not be optimal here but you can simply -\tweak Glissando.Y-offset #-.5 there might be other solutions (just ask if you're not happy with this) Eluze -- View this message in context: http://lilypond.1069038.n5.nabble.com/Layout-issue-when-parsing-line-tp158730p158732.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: Removing markups in piano reduction
Joshua Nichols wrote > I'm sorry, it should read #'none. It does not work even there. \layout{ \context{ \Staff \override DynamicTextSpanner.style = #'none } } Eluze -- View this message in context: http://lilypond.1069038.n5.nabble.com/Removing-markups-in-piano-reduction-tp158625p158630.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: Removing markups in piano reduction
Joshua Nichols wrote > I'm sorry, but it doesn't work. > > blah = \relative c' { c\dim d e f\!} > > \score { > > \new Staff { \blah} > > \layout { \context { > > \Dynamics > > \override DynamicTextSpanner #'style = #'invisible > > } } } > > > The snippet does not work. Uh, you didn't apply the snippet correctly: - it says "none", not "invisible" - you apply it to the wrong context - since you didn't show your code Glen assumed your dynamics are in a Dynamics context - put the override in the correct context and it works! Eluze -- View this message in context: http://lilypond.1069038.n5.nabble.com/Removing-markups-in-piano-reduction-tp158625p158628.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: how to display a predefined guitar fretboard inside a \markup block
David Kastrup wrote > Federico Bruni < > fedelogy@ > > writes: > >> 2014/1/27 Eluze < > eluzew@ > > >> >>> pleas always check the log - it says: >>> >>> "warning: no systems found in \score markup, does it have a \layout >>> block?" >>> >>> does this help? >>> >> >> oops, stupid me! > > Frankly, I think we might want to sort that under "stupid LilyPond" > instead as that means we only have one stupidity to cure. > > This has had me annoyed rather often as well, and it does not make a > whole lot of sense either since any output definition but \layout seems > pointless in a score markup. > > Might want to mark this as an enhancement request. done: https://code.google.com/p/lilypond/issues/detail?id=3827&thanks=3827&ts=1390830679 Eluze -- View this message in context: http://lilypond.1069038.n5.nabble.com/how-to-display-a-predefined-guitar-fretboard-inside-a-markup-block-tp158493p158538.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: understanding midi files
David Kastrup wrote > Uh, this is awkward, but you do know that the LilyPond distribution > comes with a program called lilymidi which you can use like > > lilymidi --pretty somefile.midi > > in order to get a readable representation of a Midi file? but - at least here - it doesn't produce more than the help information Eluze -- View this message in context: http://lilypond.1069038.n5.nabble.com/understanding-midi-files-tp158500p158518.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: Weird behaviour of new NullVoice feature
Yannick CHARLES wrote > > Unless I'm missing something, I think I should get the same result as if I > were using \new Lyrics \lyricsto "alto" \refrain, but in the first > measure, > the Glo and ri are printed on the same note. The rest of the line looks ok > though. > > > Is it a bug ? I think so and I've created https://code.google.com/p/lilypond/issues/detail?id=3825&colspec=ID%20Type%20Status%20Stars%20Owner%20Patch%20Needs%20Summary for this thanks for reporting it! Eluze -- View this message in context: http://lilypond.1069038.n5.nabble.com/Weird-behaviour-of-new-NullVoice-feature-tp158448p158512.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: how to display a predefined guitar fretboard inside a \markup block
Federico Bruni-5 wrote > See below: only "Hello World" is printed, the \score is ignored > > \version "2.18.0" > \include "predefined-guitar-fretboards.ly" > > myChords = \chordmode { > c1 > a1:m > g1:7 > c1:7 > f1 > > } > > \markup { > Hello World > \score { > << > \new ChordNames { > \set chordChanges = ##t > \myChords > } > > \new FretBoards { > %\set chordChanges = ##t > \myChords > } > >> > } > } pleas always check the log - it says: "warning: no systems found in \score markup, does it have a \layout block?" does this help? Eluze -- View this message in context: http://lilypond.1069038.n5.nabble.com/how-to-display-a-predefined-guitar-fretboard-inside-a-markup-block-tp158493p158509.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: how to display a predefined guitar fretboard inside a \markup block
I think what Patrick tells is the way to do it: to display the fret diagram as defined in the mentioned just add \new FretBoards \myChords in the appropriate place! was that your question? Eluze -- View this message in context: http://lilypond.1069038.n5.nabble.com/how-to-display-a-predefined-guitar-fretboard-inside-a-markup-block-tp158493p158503.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: Hairpin to the last bar line
Paul Scott-4 wrote > On Sun, Jan 26, 2014 at 12:23:10PM +0100, Karol Majewski wrote: >> Hi! Sometimes I want my hairpin run to the end of the piece (last bar >> line). >> >> Attempt 1: >> >> { >> \override Hairpin #'to-barline = ##f >> c'1~ \< >> c'1 \! \bar "|." >> } > > > Why do you set Hairpin #'to-barline = ##f if you want the hairpin to go > to the barline? What's wrong with: > > { c'1~ \< c' <>\! \bar "|." } that's absolutely correct - the confusion may have come from the fact that to-barline = ##t usually stops the hairpin at the bar line before the last note... and obviously it is the bar line before the last (null-)event. thanks for clarifying! Eluze -- View this message in context: http://lilypond.1069038.n5.nabble.com/Hairpin-to-the-last-bar-line-tp158475p158502.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: Hairpin to the last bar line
karol wrote > etc... but none of them produces perfect output. > > Inserting null event like <> or s1*0 produces the proper lengh of hairpin, > but gives those nasty errors... the message I get is: "programming error: bounds of this piece aren't breakable." what does this mean? did you search for the possible reasons of this error (bug list/tracker)? is there an override/setting missing? is it a bug? Eluze -- View this message in context: http://lilypond.1069038.n5.nabble.com/Hairpin-to-the-last-bar-line-tp158475p158490.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: Hairpin to the last bar line
karol wrote > Hi! Sometimes I want my hairpin run to the end of the piece (last bar > line). > > Attempt 1: > > { > \override Hairpin #'to-barline = ##f > c'1~ \< > c'1 \! \bar "|." > } nearly - add an empty chord <> like: { \override Hairpin.to-barline = ##f c'1 \< c'1 *<>* \! \bar "||" } this draws the hairpin to the bar line though there are error messages. Eluze -- View this message in context: http://lilypond.1069038.n5.nabble.com/Hairpin-to-the-last-bar-line-tp158475p158476.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: Shape of individual ties in chords
Richard Shann-2 wrote >> >> searching for the *word* q would help: >> > > ??? I tried both indices, clicked on the alphabetical Q link and got a > list which doesn't include "q", what else could I do? see above Eluze -- View this message in context: http://lilypond.1069038.n5.nabble.com/Shape-of-individual-ties-in-chords-tp158120p158410.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: Shape of individual ties in chords
Richard Shann-2 wrote > [...] > I noticed the mysterious synatx q that appears. I tried looking this up in > the two indices > without success. > [...] > I wonder what exactly it is all about > and why I can't find it documented... searching for the *word* q would help: one place you'll find it is /E. LilyPond index/ , but in /D. LilyPond command index/ it's missing, indeed I wonder, after the introduction of repeating pitches and chords with a simple duration in 2.19.1(?), if there is good reason to keep this command!? Eluze -- View this message in context: http://lilypond.1069038.n5.nabble.com/Shape-of-individual-ties-in-chords-tp158120p158389.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: Label placed at end of \book not recognised in \paper
Tom van der Hoeven wrote > below you will find an example. It is made such that on the first page > there is no room left. > As you can see I use the last page in order to get the number of pages > of a book. > I found this solution on the internet, please tell where > it works but it is not straight > forward. > I should like to do something like : print number-of-book-pages > In the Internal Reference book I found the variable ly:paper-book-pages > But I have no idea how to use this function in the \paper context. I think the problem is with compressing all the systems which don't fit in one page - the development version 2.19.1 gives a programming error and warning when this happens. in your example you forced the score to not break the page by setting #'page-break-permission = ##f and therefore the empty markup goes to a new page - the first occasion for LP to make a legal page break. if you let LP do its own layout it should work correctly. Eluze -- View this message in context: http://lilypond.1069038.n5.nabble.com/Label-placed-at-end-of-book-not-recognised-in-paper-tp158222p158294.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: Label placed at end of \book not recognised in \paper
Tom van der Hoeven wrote > it worked, and as a bonus it gave me an extra blanco page. I don't get a special page - example?! Eluze -- View this message in context: http://lilypond.1069038.n5.nabble.com/Label-placed-at-end-of-book-not-recognised-in-paper-tp158222p158254.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: Large gap in text.
Phil Holmes-2 wrote > - Original Message - > From: "Hwaen Ch'uqi" < > hwaenchuqi@ > > > To: < > lilypond-user@ > > > Sent: Saturday, January 18, 2014 3:30 AM > Subject: Large gap in text. > > >> Greetings All, >> I am nearing the end of preparations for my first >> LilyPond-generated publication. My problem lies in the prefatory >> matter. I have trimmed the code as lean as possible and have attached >> both .ly and .pdf files. As you will see, a highly undesired page >> break occurs, leaving a great amount of unused vertical space on page >> 1. However, if I will remove the code for page 3, pages 1 and 2 will >> compile as expected. Is it possible that I have a misunderstanding >> regarding \markuplist or \vspace? Can anyone advise me? The matter is >> now somewhat time-sensitive. >> Thank you so much. >> Hwaen Ch'uqi > > > Hi. > > It looks to me that Lilypond is doing to your text what it should do to > music: make it so that the number of systems per page are balanced. > Because > you've forced a page turn before the acknowledgements, it's now as if you > have 6 systems of music, but want 5 of them on page 1 and 1 on page 2: > Lilypond naturally disagrees, wanting a balance with 3 on each page. > > I can't get this to work in your set-up, but I'd suggest it may be best, > given your layout, to use purely manual page breaking. You can forbid > automatic page breaking with > > \override NonMusicalPaperColumn.page-break-permission = ##f > > and can then place \pageBreak appropriately. I think it's strange behavior. instead of page breaking you can start a new \bookpart! Eluze -- View this message in context: http://lilypond.1069038.n5.nabble.com/Large-gap-in-text-tp158151p158232.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: Label placed at end of \book not recognised in \paper
Tom van der Hoeven wrote > Hi all, > If a label placed at the end of a book, it is not recognised in the > paper description. > If it is placed before the last score, it is recognised. > Is that correct? reading the docs about \label's I think this is correct you can add an empty \markup {} to enable the label to be evaluated. Eluze -- View this message in context: http://lilypond.1069038.n5.nabble.com/Label-placed-at-end-of-book-not-recognised-in-paper-tp158222p158226.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: SOR: LES FOLLIES D'ESPAGNE
thanks for sharing your > PDF MIDI AND LILYPOND SOURCES! Eluze -- View this message in context: http://lilypond.1069038.n5.nabble.com/SOR-LES-FOLLIES-D-ESPAGNE-tp158194p158215.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: A follow-up on Roman numeral code.
Hwaen Ch'uqi wrote > David Nalesnik provided some invaluable code which dealt with the > switch from Roman to Arabic page numbers and its reflection in the > table of contents. It is set up so that the first page number of the > score does not show. How can I cause that first page number to appear? please see in NR "print-first-page-number=##t" Eluze -- View this message in context: http://lilypond.1069038.n5.nabble.com/A-follow-up-on-Roman-numeral-code-tp158183p158185.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: (no subject)
jensgc wrote > > Eluze wrote >> you can define the spanner in its own (dynamic) context and move it >> wherever you want: > thanks for the answer. I am aware of the possibility to have the dynamics > in a separate voice - and it might be the solution here. I am however not > fond of having to enter dynamics in a voice "without music" - for the > score in question I have 16 voices each with their own (polyphonic) > dynamic markings - and in a score where the time signature changes > frequently, it is not trivial to write spacers until bar 125 to be able to > put a dynamic mark in bar 126. > > The overall tempo markings are currently defined in the first of the > "active" voices in that particular bar - and the displayed tempo marking > is automatically placed on top of the system. But when I try to make more > dynamic tempo adjustments (ritardando, stringendo etc.) - that just as > well as an overall tempo marking implicitly has a scope of the entire > system - the displayed marking goes to the staff and not the system. > > Are there any plans on making a "SystemSpanner" or similar that will > combine the flexibility from the TextSpanner with the "only on top of > system" property from \tempo and \mark ? > What I'd like to do is to write a command that puts the output of > TextSpanner to the top staff in the system, regardless of which staff it > is defined in. Is it possible by tweaking something or do I need to make > the dynamics voice separate? of course you can add the text spanner engraver to the Score: \layout{ \context{ \Score \consists Text_spanner_engraver } \context{ \Voice \remove Text_spanner_engraver } } if you plan to use spanners in the voices too you can not remove the Text_spanner_engraver from the Voice and you would have to \override the Voice.TextSpanner with empty properties each time you override a Score.TextSpanner (this could be tedious...) Eluze -- View this message in context: http://lilypond.1069038.n5.nabble.com/no-subject-tp157866p157887.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: Fixed (absolute) line spacing in markup column
Dominicus wrote > One can set an absolute fontsize for markup, but I don't know of a way to > set a fixed pointsize (or \mm dimension) for spacing between lines in a > markup column. > This causes the distance between stacked lines of text in a markup column > to scale relative to the staff size . > I wish to prevent this behaviour. Help! in http://lilypond.1069038.n5.nabble.com/space-between-title-and-music-td57361.html#a57367 I found this function: #(define-markup-command (mm-feed layout props amount) (number?) (let ((o-s (ly:output-def-lookup layout 'output-scale))) (ly:make-stencil "" '(0 . 0) (cons 0 (abs (/ amount o-s)) #(define-markup-command (put-mm layout props dir amount arg) (ly:dir? number? markup?) (interpret-markup layout props (markup #:put-adjacent Y dir arg #:mm-feed amount))) Eluze -- View this message in context: http://lilypond.1069038.n5.nabble.com/Fixed-absolute-line-spacing-in-markup-column-tp157881p157883.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: (no subject)
Jens Gyldenkærne Clausen wrote > Hi. In a large choral score I'd like to write a ritardando that appears > only in the top of the entire system (together with \tempo markings) - > without having to define the ritardando in the topmost staff. The voices > in > the top staffgroup have no music (just a long series of rests) where the > ritardando is to be placed. > > Is it possible to define a spanner in one voice and then move the text to > be positioned above the top staff? > In the example below I'd like to have "rit _ _ _ _ _ _al Lento" in the > top > of the system. you can define the spanner in its own (dynamic) context and move it wherever you want: myDynamics={ \override TextSpanner #'(bound-details left text) = "rit." \override TextSpanner #'(bound-details right text) = "al" \override TextSpanner #'(bound-details right attach-dir) = #LEFT s2. s4 \startTextSpan s2. s4 \stopTextSpan s1 } << \new Dynamics \myDynamics \new Staff { R1*3 } \new ChoirStaff << ... ... Eluze -- View this message in context: http://lilypond.1069038.n5.nabble.com/no-subject-tp157866p157871.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: How to align object with far right edge of all kinds of barline?
Philip Thomas-2 wrote > I want to print a graphical object in the right margin that _just touches_ > the far right edge of the barline at the end of the staff line. I have > been experimenting with a postscript object included in a \mark \markup { > } expression as a RehearsalMark, with an adjustment of the break alignment > visibility. Vertical placement is not a problem, but I haven’t succeeded > in achieving precise horizontal placement that works for all kinds of > barline. > > > > The appearance is OK when the final barline on the line is a single > barline, but when there is a double or thin + thick barline, the object > overlaps with the barline. It appears that the default left alignment is > to the _centre_ of the overall barline width rather than to the _right > edge_ of it. Having to fix the horizontal placement separately for each > kind of barline would work, of course, but would be a pain in the butt, > and may not work for all staff sizes. can you share your code so far?! Eluze -- View this message in context: http://lilypond.1069038.n5.nabble.com/How-to-align-object-with-far-right-edge-of-all-kinds-of-barline-tp157760p157762.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: Rest skipped in MIDI when music starts with it
Martin Tarenskeen wrote > Hi, > > When, using Lilypond 2.19.0, if my score starts with a rest, the resulting > MIDI file does NOT start with a rest. > > %minimal example > \score { >\version "2.19.0" >\relative c' { > R1 | c d e f | R1 | f e d c | >} >\midi {} > } > %end of example > > Result: The MIDI file starts without a rest in the first bar. > The rest in the 3rd bar behaves normally. > > Is this a bug, or intentional? I can't reproduce that - could it be your midi player is wrong? can you post the (converted) midi files? Eluze -- View this message in context: http://lilypond.1069038.n5.nabble.com/Rest-skipped-in-MIDI-when-music-starts-with-it-tp157753p157755.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: What should be the default B7 chord?
Carl Sorensen-3 wrote > There has been a difference of opinion on why the default B7 guitar chord > shape should be. I'm making a poll to determine what the users would > prefer. > > Would you like the first chord in the attachment (barred on fret 2) or the > second chord (open chord in first position)? why not barred on fret 7 - it's easy to play (at least easier than your 1st example), you can strum all strings and in many cases it fits better. Eluze -- View this message in context: http://lilypond.1069038.n5.nabble.com/What-should-be-the-default-B7-chord-tp157648p157668.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: Automatic octaves
Am 10.01.2014 16:53, schrieb Daniel Rosen: The other thing about the broken snippet, though, is that it allowed the user to choose both the direction of octavation and the number of octaves. Is there any way for this kind of functionality to be added here? E.g. \relative { \myoctavate #-1 { ... } } to add notes an octave below. you could add another parameter: myoctavate =#(define-music-function (parser location pitch music) (ly:pitch? ly:music?) #{ \context Bottom << $music \transpose c $pitch $music >> #} ) and then: \myoctavate c'' \relative c' { a b c d e f g a } or \myoctavate c, \relative c' { a b c d e f g a } would give the wanted result. but for the \relative issue I can't figure out a solution (unless you want to define two functions, one for relative and one for absolute entry) Eluze ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Moving Ottava Text
Nick Baskin wrote > Eluze, > > Apologies for being unclear! I've attached a minimal example that I hope > will demonstrate what I mean. Notice how the "8va" text collides with the > beam; I would like to move the "8va" text to the left to avoid this > collision, and cannot figure out how to do so. Changing the text by adding > a hspace adds space to the right of the text, but doesn't actually move > the > text itself. the code you attached doesn't make use of my suggestion - here is another: \override Staff.OttavaBracket.minimum-length= 6.5 Eluze -- View this message in context: http://lilypond.1069038.n5.nabble.com/Moving-Ottava-Text-tp157524p157569.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: Moving Ottava Text
Nick Baskin wrote > I'm using 2.18.0, and I need to move the "8va" part of an ottava bracket > to > the left to avoid a collision with a beam. I've tried several things, to > no > avail: using \override Staff.OttavaBracket.X-offset has no effect as far > as > I can tell; using \override Staff.OttavaBracket.shorten-pair gives me > control over the dashed line, but doesn't affect the "8va" text. I've > looked at the other properties in the internals reference, but I can't > find > anything that looks promising. What do I have to override to make this > change? as you're not very specific about the code I just hope this fits: \set Staff.ottavation = \markup { Text \hspace #4 } Eluze -- View this message in context: http://lilypond.1069038.n5.nabble.com/Moving-Ottava-Text-tp157524p157535.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: baseline-referenced text/markups?
Kieren MacMillan wrote > What would be involved in changing the “reference point” of markups to be > the baseline (instead of whatever the heck it is now)? I also think this should be the default - as a work around I use this little stabilizing function: #(define-markup-command (stab layout props text) (markup?) "combine a transparent descender and ascender with the markup-text to print" (interpret-markup layout props #{ \markup \combine \transparent\combine h g $text #})) of course there's still more to write than if this functionality was built in. I couldn't find a feature request for it - is there already something similar!? > \new Staff \music > > ** the only non-default is the \markLengthOn… which really *should also* > be a default!! I agree. > music = { > \markLengthOn > \mark \default \tempo "No descenders." R1 > \mark \default \tempo "No descenders." R1 > \mark \default \tempo "going going going." R1 > } <http://lilypond.1069038.n5.nabble.com/file/n157511/test3.png> in this example the 1st measure is much longer than the text requires - expected behavior? bug? Eluze -- View this message in context: http://lilypond.1069038.n5.nabble.com/baseline-referenced-text-markups-tp157452p157511.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: Autochange not working
muggle wrote > Here is my code: > [...] > > where all notes appear in the bass clef. Is there a way to specify which > notes go where? For example, if I want all notes above A (it's 3 semitones > below middle C) to be printed on the treble clef, is there a command to do > this? in NR "Changing staff automatically" there is: "A \relative section that is outside of \autochange has no effect on the pitches of the music, so if necessary, put \relative inside \autochange." hth Eluze -- View this message in context: http://lilypond.1069038.n5.nabble.com/Autochange-not-working-tp157471p157472.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: Open string tunings for guitar
Fulvio Turra wrote > Yes, it works now! I just replaced the hspace#7 with a #3 and it's > perfect! > Do you think the difference between the two numbers may be because I use > Frescobaldi to edit the files? it's a matter of preference to compile, Frescobaldi uses the LilyPond version you've installed, so there should be no difference Eluze -- View this message in context: http://lilypond.1069038.n5.nabble.com/Open-string-tunings-for-guitar-tp157175p157419.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: Open string tunings for guitar
Fulvio Turra wrote > Hi Eluze, thanks for your suggestion. > I inserted \hspace #-7 before \column: in the attachment you can see the > result. *before the column* means before the specs for the column: \set TabStaff.instrumentName = \markup { \hspace #7 \override #'(baseline-skip . 1.5) \column \fontsize #-4.5 \sans { E A D G A Bb } } does this work now? Eluze -- View this message in context: http://lilypond.1069038.n5.nabble.com/Open-string-tunings-for-guitar-tp157175p157416.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: Open string tunings for guitar
Fulvio Turra wrote > It works, but there's too much space between the string names and the tab. > ... > Is there a way to move the string names a bit to the right? you can add \hspace #7 before the column Eluze -- View this message in context: http://lilypond.1069038.n5.nabble.com/Open-string-tunings-for-guitar-tp157175p157410.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: Articulated tremolo problem
thanks both - added as https://code.google.com/p/lilypond/issues/detail?id=3783&thanks=3783&ts=1389001131 in the issue tracker Eluze -- View this message in context: http://lilypond.1069038.n5.nabble.com/Articulated-tremolo-problem-tp157216p157220.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: Automatic octaves
Pierre Perol-Schneider wrote > 2014/1/5 Daniel Rosen < > drosen27@ > > > >> Is someone able to update it? >> >> > A standart update works fine. > Here you go : > > % > \version "2.18.0" > > #(define (octave-up m t) > > (let* ((octave (1- t)) > > (new-note (ly:music-deep-copy m)) > > (new-pitch (ly:make-pitch > > octave > > [...] instead of this (broken) snippet you could use dak's most elegant and short proposal: http://lilypond.1069038.n5.nabble.com/quot-Octave-quot-script-in-Frescobaldi-td152801.html#none Eluze -- View this message in context: http://lilypond.1069038.n5.nabble.com/Re-Automatic-octaves-tp157172p157199.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: Learning LilyPond, comments invited
David Kastrup wrote > [...] > Take, for example, the output of > > addKey = { \key g \major \time 4/4 } > staffOneNotes = { \grace { d'16 g' b' } d''8 8 8 8 fis'8 8 g'4 } > > \score { > \new StaffGroup << > \new Staff \new Voice = "staffOne" << \addKey \staffOneNotes >> > \new Staff \new Voice = "staffOne" { \addKey \staffOneNotes } > >> > } isn't that the well-known issue with grace notes at the begin of simultaneous music - if you don't have grace notes in staffOneNotes or you add corresponding grace notes in addKey like addKey = { \key g \major \time 4/4 \grace s8. } then it works correctly, doesn't it? this said, I also prefer the form { \addKey \staffOneNotes } Eluze -- View this message in context: http://lilypond.1069038.n5.nabble.com/Learning-LilyPond-comments-invited-tp156969p157038.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: upgrade and convert-ly
Francisco Vila wrote > My short experience on Windows says the installer refuses to work unless > you uninstall any previous version it could be installed. and I think this is correct! the installer asks you where you'd like to install the new version! if you want to keep the old version you can simply rename it or move it to another folder so the installer can install LilyPond in the default folder! Eluze -- View this message in context: http://lilypond.1069038.n5.nabble.com/upgrade-and-convert-ly-tp156715p156809.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: "convert-ly" gives unexpected output
Tom Cloyd-2 wrote > Running convert-ly (from Frescobaldi) on a score, I get this at the top > of the code: > > \version "2.17.97" > > > Didn't quite expect THAT! sorry I have to ask that - which version are you using (in Frescobaldi)? in my environment I get the version I'm running (2.18.0) Eluze -- View this message in context: http://lilypond.1069038.n5.nabble.com/convert-ly-gives-unexpected-output-tp156735p156736.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: after-title-space
Speldosa wrote > Thanks for the tip! > > I checked out convert-ly -s for the full ruleset (in which I couldn't find > anything about after-title-space). When choosing an arbitrarily low > version number for my test file and trying to update it, convert-ly spat > out the following message: > > Not smart enough to convert before-, between-, after-title-space. > Please refer to the manual for details, and update manually. > > Which kinda means I'm back to square one again :) I converted your code \paper { after-title-space = 100 \mm } \header { title = "This is a test" } \relative c' { c } I started with \version "2.12.3" and your code and got \paper{ obsolete-after-title-space = 100 \mm markup-system-spacing #'basic-distance = #(/ obsolete-after-title-space staff-space) } so probably defining markup-system-spacing #'((basic-distance . 29)) is the new setting! Eluze -- View this message in context: http://lilypond.1069038.n5.nabble.com/after-title-space-tp35167p156634.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: after-title-space
Speldosa wrote > Is this still the preferred way of doing this? I've tried playing around > with different values for "after-title-space", both in the way suggested > by Peter and the way suggested by Nick. Absolutely nothing happens. > > How is this done today? I've been trying to find a solution for hours (if > not days) now. the preferred way is most often detected/delivered by convert-ly.py - try it! Eluze -- View this message in context: http://lilypond.1069038.n5.nabble.com/after-title-space-tp35167p156632.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: Possible bug with TrillSpanner.to-barline?
Am 26.12.2013 22:22, schrieb Daniel Rosen: In the example below, uncommenting the indicated line results in the TrillSpanner only printing the wavy line without the "tr." Is this a bug? \version "2.17.97" trillSharpMarkup = \markup { \concat { \musicglyph #"scripts.trill" \hspace #0.4 \raise #1.9 \teeny \sharp } } trillspanSharp = { \override TrillSpanner.bound-details.left.text = \trillSharpMarkup } trillspanNormal = \revert TrillSpanner.bound-details \relative c' { %% Uncomment next line %\override TrillSpanner.to-barline = ##t \trillspanSharp c1\startTrillSpan | \trillspanNormal c1\stopTrillSpan\startTrillSpan | } try it in the Staff context: \override Staff.TrillSpanner.to-barline = ##t Eluze ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Odp: hotrizontal spacing question
karol wrote > I discovered this setting yesterday. Then added it to the main layout file > and compiled some of my scores (more complex). Everything was fine. > Perhaps NoteHead.extra-spacing-height = #'(-inf.0 . +inf.0) should be set > as default in Lily? I'm not sure - please have a look at the example given in http://lilypond.1069038.n5.nabble.com/Unequal-spacing-in-odd-n-tuplet-with-other-simultaneous-subdivisions-td144105.html adding \override NoteHead.extra-spacing-height = #'(-inf.0 . +inf.0) doesn't help here but \override NoteHead.extra-spacing-width = #'(0 . 0) , combined with \layout{\context{ \Score \override SpacingSpanner #'uniform-stretching = ##t }} improves the spacing significantly! see also https://code.google.com/p/lilypond/issues/detail?can=1&q=3304&colspec=ID%20Type%20Status%20Stars%20Owner%20Patch%20Needs%20Summary&id=3304 for more contributions. Eluze -- View this message in context: http://lilypond.1069038.n5.nabble.com/hotrizontal-spacing-question-tp156216p156435.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: Odp: hotrizontal spacing question
karol wrote > Seems that \override NoteHead.extra-spacing-height = #'(-inf.0 . +inf.0) > is the right solution. interesting - do you have experiences with this in more complex situations (polyphonic, more than one staff...) Eluze -- View this message in context: http://lilypond.1069038.n5.nabble.com/hotrizontal-spacing-question-tp156216p156326.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: How to create proper horizontal offsets?
Marten Visser wrote > Eluze > > gmail.com> writes: > > >> when you transpose from as to c in the middle staff position the stem >> direction changes - this is producing the warning about clashes. >> >> if you put the as in a voice with clear settings (\voiceOne,...) opposite > to >> that in the cued voice there will be no more collision and you might even >> omit the manual shifting. >> >> Eluze >> >> -- >> View this message in context: http://lilypond.1069038.n5.nabble.com/How- > to-create-proper-horizontal-offsets-tp156252p156255.html >> Sent from the User mailing list archive at Nabble.com. >> > > > Hi Eluze, thanks for you answer. > > I understand your remark about the collision. I understand that you would > code it as a specific voice in order to avoid collisions providing for > setting a non-collisional stem direction, but in reality it is not a > specific voice I think; it only is a few notes that are different for one > or more of the stanzas. (Please correct me if my thinking is wrong.) > > I tried your suggestion, replacing \cueVoice by \voiceOne, \voiceTwo, > \voiceThree or \voiceFour, but neither of these work: > > 1. the stem from the "cuenotes" now disappears > 2. the \override NoteColumn #'force-hshift won't work any longer > 3. the notes appear in full size, which they should not > > Besides, I don't understand why the horizontal shift may get lost at all > when transposing. The problem I'm facing it not about collisions, it's > about the loss of horizontal offset when transposing. (Or is that a > consequence of a collision) hi Marten maybe my explanations were to short I send you an example code of what I mean (using your approach with cued notes, but simplified to one consecutive voice) test1.ly <http://lilypond.1069038.n5.nabble.com/file/n156309/test1.ly> if something is unclear or doesn't meet your needs, please ask! Eluze -- View this message in context: http://lilypond.1069038.n5.nabble.com/How-to-create-proper-horizontal-offsets-tp156252p156309.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: Odp: hotrizontal spacing question
karol wrote > Unfortunately "uniform-stretching" doesn't work here. and it's also recommended there to use proportionalNotationDuration = #(ly:make-moment 1/200) % choose your number! to improve the results! Eluze -- View this message in context: http://lilypond.1069038.n5.nabble.com/hotrizontal-spacing-question-tp156216p156256.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: How to create proper horizontal offsets?
Marten Visser wrote > Hi all, > > Yesterday, I asked how a custom slur should be coded so that it gets > transposed properly. This was answered immediately, thanks to David > Nalesnik. > > There's another related problem I run into when transposing scores, namely > horizontal offsets. In songs this is encountered frequently because the > stanzas may induce deviations from the rhythm. > > In the example below one offset is changed when transposing. The log file > shows a warning: > warning: ignoring too many clashing note columns > << > as'1 \new CueVoice = "SndStanza1" { \shiftNoteRight \stemDown > as2. f8[ f] }>> | > > When you leave out the \transpose commmand, this error will not appear. > > How could the code be changed that horizontal offsets will always be > there? when you transpose from as to c in the middle staff position the stem direction changes - this is producing the warning about clashes. if you put the as in a voice with clear settings (\voiceOne,...) opposite to that in the cued voice there will be no more collision and you might even omit the manual shifting. Eluze -- View this message in context: http://lilypond.1069038.n5.nabble.com/How-to-create-proper-horizontal-offsets-tp156252p156255.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: delayed turn
Mark Stephen Mrotek wrote > Eluze, > > As far as I can see the code you suggest is what is used (see the > attachment > provided) as copied from > http://lilypond.org/doc/v2.16/Documentation/notation/expressive-marks-attached-to-notes > What can I do if Lilypond confuses itself? afaics the code there contains no fingering indications but your example does (c8.-3) either remove the *-3* or add the overrides for the fingering grob as I told in the last post. Eluze -- View this message in context: http://lilypond.1069038.n5.nabble.com/delayed-turn-tp156135p156210.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: delayed turn
Mark Stephen Mrotek wrote > Thank you. Please see attached. > > BadTurns.ly (881 bytes) > <http://lilypond.1069038.n5.nabble.com/attachment/156202/0/BadTurns.ly>; > BadTurns.pdf (44K) > <http://lilypond.1069038.n5.nabble.com/attachment/156202/1/BadTurns.pdf>; you have to override the properties for *all* involved grobs - otherwise LP might be confused with contradictory (default-) settings! \override Fingering #'avoid-slur = #'inside \override Fingering #'outside-staff-priority = ##f \override TextScript #'avoid-slur= #'inside \override TextScript #'outside-staff-priority = ##f what's the result if you do so? do you really need the extra-offset? Eluze -- View this message in context: http://lilypond.1069038.n5.nabble.com/delayed-turn-tp156135p156204.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
should braces be re-introduced in LSR 503
adding this to the user list: Amreg wrote > Le 04/12/2013 00:38, Eluze a écrit : >> the source in >> http://www.lilypond.org/doc/v2.17/Documentation/snippets/vocal-music#vocal-music-vertically-centered-common-lyrics >> starts with >> >> \include "english.ly" >> leftbrace = \markup { \override #'(font-encoding . fetaBraces) \lookup >> #"brace240" } >> rightbrace = \markup { \rotate #180 \leftbrace } >> >> I think these lines should be skipped since neither English note names >> nor >> left braces are used afterwards (or the leftbrace and rightbrace should >> be >> used!) > > Sorry to read this a little bit late, but I think this issue could be > addressed the other way : modify the snippet to make braces show up. > > I often found such braces in printed scores, but (AFAIK) I've not seen in > the doc an example of how to use them in mines... And I'm a rather new > user of LP, so a snippet could be a appreciable help. > > Regards, > A.M. that's what I proposed as an alternative to omit them. since the topic is about vertically arranging lyrics the braces seem relatively less important. there is still an example of a left brace in lyrics in the LSR: http://lsr.dsi.unimi.it/LSR/Item?id=265 and - tbh - I don't really like the resulting output; if somebody found the time to make a really good example it would certainly get a place in the LSR! Eluze -- View this message in context: http://lilypond.1069038.n5.nabble.com/should-braces-be-re-introduced-in-LSR-503-tp156199.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: delayed turn
Mark Stephen Mrotek wrote > It is here, > http://lists.gnu.org/archive/html/lilypond-user/2013-12/txtHVW62yOy_y.txt this is a archive/mailing list! Eluze -- View this message in context: http://lilypond.1069038.n5.nabble.com/delayed-turn-tp156135p156185.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: delayed turn
Mark Stephen Mrotek wrote > The length of the code was to demonstrate the inconsistencies, i.e., nine > separate instances produce randomly two different results. you can write \repeat unfold 9 {...} so the reader is sure there is no (inadvertent) change in the code. > Why is it that the code presented in the manual ( and copied in my > exampled) does not produce in my work the same as is in the manual? I couldn't find your example with turns and fingering. Eluze -- View this message in context: http://lilypond.1069038.n5.nabble.com/delayed-turn-tp156135p156165.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: delayed turn
Mark Stephen Mrotek wrote > > As an example of the inconsistency, one measure was repeated 9 times - see > turn.ly and turn.pdf. The turn should be between the c8. and the d16 . All > turns should be under the slur. > > > > What should I change? please always reduce your code to minimal! the following code should help to get the expected result: \new Staff { \time 2/4 \relative c'' { \override Fingering #'avoid-slur = #'inside \override Fingering #'outside-staff-priority = #16 \override Slur #'outside-staff-priority = #666 \override TextScript #'avoid-slur = #'inside \override TextScript #'outside-staff-priority = #15 \repeat unfold 9 { c8. ( ^hello -3 d16-2 es f g es-2 ) } } } sometimes it's not enough to say /#'avoid-slur = #'inside/ because other items have a higher or lower priority and can interfere! Eluze -- View this message in context: http://lilypond.1069038.n5.nabble.com/delayed-turn-tp156135p156145.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: Setting to print articulations inside the staff
Urs Liska wrote > attached you can see LilyPond's default behaviour to print staccato dots > outside the staff. > > However I would like to print the dots in such a case inside the staff > (which in this case is actually trying to copy Henle's engraving). > > I know how to print these dots between the two lowest staff lines, but > is it possible to define a setting that will cause LilyPond to > automatically print them inside the staff in such situations? what makes you think LilyPond prints the staccato dot outside the staff? { a' \staccato } prints it between the lower staff lines (version 2.17.97) Eluze -- View this message in context: http://lilypond.1069038.n5.nabble.com/Setting-to-print-articulations-inside-the-staff-tp156064p156070.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: Increasing space for lyrics for one part of a verse
bombcar wrote > Thanks! > > \override LyricHyphen #'Y-extent = #'(0 . 2) > > seems to get me close to what I was looking for. > > I've also updated the previous link to include the missing file: > http://schnecke.bombcar.com/random/dingdongmerrilyonhigh.ly you could try (in the first Lyrics) \new Lyrics \with{ \override VerticalAxisGroup.nonstaff-relatedstaff-spacing = #'((minimum-distance . 9)) } hth Eluze -- View this message in context: http://lilypond.1069038.n5.nabble.com/Increasing-space-for-lyrics-for-one-part-of-a-verse-tp155892p156058.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: place variable definition
Tom van der Hoeven wrote > The partn.lyp files contain definitions like > partname = "Part N" > music = \relative c'' { a b c d } > > within the book I use \partname and \music. > > The question is: > > Has a variable definition to be outside any environment, [...] > for instance the \book environment. if with 'variable definition' you mean the assignment of a music expression to a variable the answer is /yes/! there are other variables which may be defined in their specific environment: \paper, \header ... Eluze -- View this message in context: http://lilypond.1069038.n5.nabble.com/place-variable-definition-tp155594p155940.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: Increasing space for lyrics for one part of a verse
Tom Dickson wrote > I have a verse that has a very long slur, and the lyrics run into the > slur. > Technically, it's the dashes that are printed between the syllables. I'm > able > to change the font for that part of the verse to italics, but I can't seem > to > figure out what to use to increase the vertical spacing at that place. > > Is it possible to increase the spacing there inside the lyricmode? hi Tom can you illustrate this with a picture and a piece of code, please! Eluze -- View this message in context: http://lilypond.1069038.n5.nabble.com/Increasing-space-for-lyrics-for-one-part-of-a-verse-tp155892p155937.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
instrument name collision in grouped staves
when an empty staff is removed the instrument names of the remaining staff groups and staffs can collapse in the same line <http://lilypond.1069038.n5.nabble.com/file/n155576/test14.png> \new StaffGroup \with { % piano with 3 staffs instrumentName= \markup \huge \with-color #blue "Piano with 3 staves" shortInstrumentName = \markup \huge \with-color #blue "Piano with 3 staves" } << \new PianoStaff \with { % piano staff 1+2 - keep alive together instrumentName= "Piano right+left hand" shortInstrumentName = "Piano right+left hand" } << \new Staff { c'1 \break c'1} \new Staff { \clef bass d,1 d,1} >> \new Staff \with{ % 3rd staff instrumentName= \markup \with-color #red "Piano 3rd staff" shortInstrumentName = \markup \with-color #red "Piano 3rd staff" \RemoveEmptyStaves \override VerticalAxisGroup.remove-first = ##t } { R f } >> (how) can this be prevented? Eluze -- View this message in context: http://lilypond.1069038.n5.nabble.com/instrument-name-collision-in-grouped-staves-tp155576.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: still no ultimate way to create three-staff piano layout
karol wrote > This doesn't solve the problem. Look at the example. In the first system > spacing is proper, but in the second, distance between 'b' and 'd' is 9 > (should be 10.5). I think this is a paradoxical situation: if a staff (group) is removed then the vertical spacing of the staff group above is applied I'm sorry I can't even see a workaround - I'll report this issue to the bug list. Eluze -- View this message in context: http://lilypond.1069038.n5.nabble.com/still-no-ultimate-way-to-create-three-staff-piano-layout-tp153648p155440.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 2.17.97 released!
I've just been informed by Phil that due to internet connection problems during the upload not all files have reached the server - this will be fixed as soon as possible! Eluze -- View this message in context: http://lilypond.1069038.n5.nabble.com/Re-LilyPond-2-17-97-released-tp155419.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 2.17.97 released!
couldn't find the windows version! Eluze -- View this message in context: http://lilypond.1069038.n5.nabble.com/Re-LilyPond-2-17-97-released-tp155413p155414.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: still no ultimate way to create three-staff piano layout
karol wrote > Hi Eluze, > > it works, but only if all three piano-staves are visible. When staff 'c' > is empty (hidden), distance between 'b' and 'd' is smaller than it should > be. No idea how to solve this... what if you augment the value in the PianoStaff: << \new PianoStaff \with { \remove "Span_bar_engraver" \remove "System_start_delimiter_engraver" \override StaffGrouper.staffgroup-staff-spacing.basic-distance = #15 } << did I misunderstand? Eluze -- View this message in context: http://lilypond.1069038.n5.nabble.com/still-no-ultimate-way-to-create-three-staff-piano-layout-tp153648p155363.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: still no ultimate way to create three-staff piano layout
karol wrote > Hi, > > I'm still working on ultimate three-staff piano layout. When I write > piano-solo music it works fine. The problem occures when I add another > StaffGroup: you probably have to override the values for the staff grouper: \score { << \new StaffGroup \with { \override StaffGrouper.staffgroup-staff-spacing.basic-distance = #44 systemStartDelimiter = #'SystemStartSquare } << \new PianoStaff \with{ \override StaffGrouper.staffgroup-staff-spacing.basic-distance = 55 } << \new Staff \music \new Staff \music \new Staff \music >> \new Staff \music >> \new StaffGroup << \new Staff \music \new Staff \music \new Staff \music >> >> } does this work for you? Eluze -- View this message in context: http://lilypond.1069038.n5.nabble.com/still-no-ultimate-way-to-create-three-staff-piano-layout-tp153648p155355.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: Basic command line question
胡海鹏 - Hu Haipeng wrote > I have not used command line for several years. Now I'd like to use > musicxml2ly, and have forgotten how I invoked it in 2008. I first run > cmd.exe on XP, changing to d:\my documents, then musicxml2ly overture.xml. > But the prompt said that musicxml2ly is not an internal or external > command or executable or batch processing file. I know I'm wrong, but > don't know how to do. Could anyone point out the basic command line > running method to correctly invoke things like musicxml2ly, svn etc? usually on Windows - "C:\Program Files (x86)\LilyPond\usr\bin" is in the system variable /path/ - check this with the command /set path/ if the above folder is not in the variable you can invoke the procedure with C:\Program Files (x86)\LilyPond\usr\bin\musicxml2ly yourfile.xml if that doesn't work I'd suggest to reinstall LilyPond (with the installer) Eluze -- View this message in context: http://lilypond.1069038.n5.nabble.com/Basic-command-line-question-tp154836p154837.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: Basic command line question
Eluze wrote > > 胡海鹏 - Hu Haipeng wrote >> I have not used command line for several years. Now I'd like to use >> musicxml2ly, and have forgotten how I invoked it in 2008. I first run >> cmd.exe on XP, changing to d:\my documents, then musicxml2ly >> overture.xml. But the prompt said that musicxml2ly is not an internal or >> external command or executable or batch processing file. I know I'm >> wrong, but don't know how to do. Could anyone point out the basic command >> line running method to correctly invoke things like musicxml2ly, svn etc? > usually on Windows - "C:\Program Files (x86)\LilyPond\usr\bin" is in the > system variable / > path / > - check this with the command / > set path / > > if the above folder is not in the variable you can invoke the procedure > with > > C:\Program Files (x86)\LilyPond\usr\bin\musicxml2ly yourfile.xml > > if that doesn't work I'd suggest to reinstall LilyPond (with the > installer) > > Eluze of course this should be written with apostrophes: "C:\Program Files (x86)\LilyPond\usr\bin\musicxml2ly" yourfile.xml Eluze -- View this message in context: http://lilypond.1069038.n5.nabble.com/Basic-command-line-question-tp154836p154838.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: how to move TextScript closer to the staff?
karol wrote >> what do you mean by that - example? > > Take a lok here: > http://lilypond.1069038.n5.nabble.com/fingering-overlap-bug-td154572.html > >> maybe you can adapt http://lsr.dsi.unimi.it/LSR/Item?id=637 to your needs >> (see the file below) > > The numerals are not centered, but that's not a big problem for me. What I > want is to have them closer to staff in situations like: > > { <fis' b' d'>4 ^\markup \fingerMod { 1 3 5 } c'2. } here is the code for what I thought once was in this snippet: textScriptCenterOnNote = \override TextScript #'X-offset = #(lambda (grob) (let* ((paper-col (ly:grob-parent grob X)) (elts (ly:grob-object paper-col 'elements)) (rhythmic-head (if (ly:grob-array? elts) (let loop ((array-idx 0)) (call/cc (lambda (return) (let ((array-len (ly:grob-array-length elts))) (if (< array-idx (1- array-len)) (let ((elt (ly:grob-array-ref elts array-idx))) (if (grob::has-interface elt 'rhythmic-head-interface) (return elt) (loop (1+ array-idx) grob grob))) (+ (ly:self-alignment-interface::x-aligned-on-self grob) (interval-center (ly:grob-robust-relative-extent rhythmic-head rhythmic-head X) for the most common cases this should work: { \textScriptCenterOnNote \override TextScript.self-alignment-X=#1 4 ^\markup \fingerMod { 1 3 5 } c'2. } if there are shifted notes and accidentals, you can augment the X-offset for Fingering or TextScript: { \textScriptCenterOnNote \once \override TextScript.self-alignment-X=#1 \stemUp 4 ^\markup { \override #'(baseline-skip . 1.5) \bold \finger \center-column { 5 3 1 } } r2. \once { \override Fingering.self-alignment-X=#9.8 \override Fingering.color=#cyan } 1 ^1^2^5 \once \override TextScript.self-alignment-X=#8 1 ^\markup { \override #'(baseline-skip . 1.5) \bold \finger \center-column { 5 4 1 } } } - or wait till the issue(s) is fixed hth Eluze -- View this message in context: http://lilypond.1069038.n5.nabble.com/how-to-move-TextScript-closer-to-the-staff-tp154741p154783.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: how to move TextScript closer to the staff?
karol wrote > Because LilyPond does not handle fingaring notation well, I wrote markup > command: what do you mean by that - example? > The drawback is that the numerals are not centered on notehead. > > Now, take a look at the example. My question is: how can I improve the > code to have this TextScript (numerals) closer to the staff? maybe you can adapt http://lsr.dsi.unimi.it/LSR/Item?id=637 to your needs (see the file below) but - imo - using LilyPond's fingering is better: <http://lilypond.1069038.n5.nabble.com/file/n154765/test5.png> test5.ly <http://lilypond.1069038.n5.nabble.com/file/n154765/test5.ly> Eluze -- View this message in context: http://lilypond.1069038.n5.nabble.com/how-to-move-TextScript-closer-to-the-staff-tp154741p154765.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: Third Voice?
Chris Crossen wrote > Do I have to create measures with "s1" for the other > measures of the fourth voice? the other way is http://www.lilypond.org/doc/v2.17/Documentation/notation/multiple-voices#single_002dstaff-polyphony - Temporary polyphonic passages Eluze -- View this message in context: http://lilypond.1069038.n5.nabble.com/Third-Voice-tp154658p154672.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: Third Voice?
Chris Crossen wrote > I am engraving the Hallelujah Chorus from Handel's Messiah. There is one > measure (87) where I think I need a third voice in the treble clef. I have > attached an image of measure 87. The red-underlined notes in the image are > what is missing when I render my Lilypond. A cut down version of my source > for just measure 87 is below. > > I believe I need a third voice for the missing 8th and 16th notes, but I > don't know how to structure it. My Lilypond is using a template from > Frescobaldi. > > Can someone show me how to add the third voice? third or fourth voice - Lilypond treats odd voices as voice with stem and other properties going upwards! so in my code I handle the additional voice as \voiceFour and also name it like that: \version "2.14.2" \include "english.ly" global = { \key d \major \numericTimeSignature \time 4/4 \autoBeamOff } rightOne = \relative c'' { \voiceOne \global % -- t1-87 s4 fs8[ e8] e4. d8 | } rightTwo = \relative c''{ \voiceTwo % -- t2-87 s2 a8 a16 a a8 a | } rightFour = \relative c' { \voiceFour % -- t2-87 4 4 d4 cs4 | } leftOne = \relative c' { % -- b1-87 e4 a,2 e'4 | } leftTwo = \relative c { % -- b2-87 e4 d8[ d8] a'2 | } pianoPart = \new PianoStaff \with { } << \new Staff = "right" << \rightOne \\ \rightTwo \\ \rightFour >> \new Staff = "left" { \clef bass << \leftOne \\ \leftTwo >> } >> \score { << \pianoPart >> } I would consider upgrading to the newest version! Eluze -- View this message in context: http://lilypond.1069038.n5.nabble.com/Third-Voice-tp154658p154660.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: automatic chord splitting in piano staff
Jean-Alexis Montignies-2 wrote > Hi There! > > I’m writing a reduction of a big band part. The saxes have to be printed > into a piano staff. For now I have written everything in one music > expression. For instance: > { > > 8 q8 > > 4 > > > > 8 > > 8 r8 q4. ~ q4 r4} > > I would like that every note below c automatically gets in the lower > staff, and the rest in the upper staff. > > Any suggestions? > I might a bit of scheme to do that. Any snippet that iterates through > chord notes? one approach could be http://lsr.dsi.unimi.it/LSR/Item?id=545 then you could look for snippets where notes are colored according to their pitch Eluze -- View this message in context: http://lilypond.1069038.n5.nabble.com/automatic-chord-splitting-in-piano-staff-tp154549p154550.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: \book question
胡海鹏 - Hu Haipeng wrote > Hello, > I'm combining two movements of my orchestral suite, but just met a > frustrating problem. When I add a \book to the whole score, the formatting > becomes messy, and there comes lots of warnings saying can't fit music in > page. The attached is the first movement, and if you remove the \book { }, > all will be ok. Why? hi first I omitted the midi part. then I converted to the 2.17.96 which is what I have installed. and finally I moved /#(set-global-staff-size 14.45)/ out of the \book into the top-level context and there were no more warnings. is there a reason why you put it inside the \book? Eluze -- View this message in context: http://lilypond.1069038.n5.nabble.com/book-question-tp154389p154393.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: smaller grace notes
MarcM wrote > * > 2) Thickness of the flag: * > I found the right size for the flag but it is still too thick. Is there a > way to reduce the thickness of the flag in the grace note? maybe /Generating custom flags/ in snippets <http://lilypond.org/doc/v2.17/Documentation/snippets-big-page.html> is an approach!? Eluze -- View this message in context: http://lilypond.1069038.n5.nabble.com/smaller-grace-notes-tp154236p154306.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: new German LilyPond forum
the moderating team at http://www.lilypondforum.de/ now agrees and has changed the permissions - I'm glad to announce that /LilyPond deutsch/ will been deleted soon and work goes on as usual at the link above. Eluze -- View this message in context: http://lilypond.1069038.n5.nabble.com/new-German-LilyPond-forum-tp154218p154285.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: new German LilyPond forum
David Kastrup wrote > I am assuming that users can't _randomly_ delete other users' > contributions, but rather can delete a _thread_ started by themselves, > and then this includes any contributions made to this thread? In that > case, it would make sense not to reply anything of substance to the > threads of "self-moderators". how else would you reply then - of course one could point to where the solution of a problem can be found, or start a new thread and write that link only in the reply... that's too complicated! > A single _user_ deleting his own threads seems tame in comparison. it is! and it's the first time this happened afaik. I was curious if we could set up a new forum easily. if the moderator changes these settings (with Nabble you can obviously define what action a user is allowed to) I will remove this forum, of course. Eluze -- View this message in context: http://lilypond.1069038.n5.nabble.com/new-German-LilyPond-forum-tp154218p154223.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: new German LilyPond forum
Urs Liska wrote > Am 21.11.2013 11:40, schrieb David Kastrup: >> Eluze < > eluzew@ > > writes: >> >>> find it at >>> >>> http://lilypond-deutsch.996767.n3.nabble.com/ >> What's wrong with <URL:http://www.lilypondforum.de>;? I'm not into >> web >> forums myself, but it seems there is not much sense in spreading them >> thinner than necessary? >> > Maybe this? > http://www.lilypondforum.de/index.php?topic=1627.msg9085#msg9085 exactly - if there is no change in the setup (specifically not allowing users to delete other users' contributions) we now have an alternative. Eluze -- View this message in context: http://lilypond.1069038.n5.nabble.com/new-German-LilyPond-forum-tp154218p154221.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
new German LilyPond forum
find it at http://lilypond-deutsch.996767.n3.nabble.com/ Eluze -- View this message in context: http://lilypond.1069038.n5.nabble.com/new-German-LilyPond-forum-tp154218.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: Question about \paper{} as a curiosity
Joshua Nichols wrote > I noticed something I was typesetting recently: > > Whenever I mark my margins inside \paper{} before setting the > #(set-paper-size > "x"), it ignores any indent, top-margin, or bottom-margin commands. But, > whenever I set the paper size before the margins, it obeys the other > commands. > > How come? I glanced over the reference, and couldn't find anything about > it. see http://www.lilypond.org/doc/v2.17/Documentation/notation/paper-size-and-automatic-scaling#setting-the-paper-size: "When the set-paper-size function is used, it must be placed before any other functions used within the same \paper block." otherwise they (the functions you invoked) are overwritten. Eluze -- View this message in context: http://lilypond.1069038.n5.nabble.com/Question-about-paper-as-a-curiosity-tp154207p154209.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: Lyrics not lining with different voice
ayutheos wrote > It doesn't work when I add more lines of lyrics to it. I'm using the > shortened > code below which gives me a funky line arrangements, but my music breaks > at end > of "part one" so the lyrics line spacing returns to normal on the next > staff. please reply to all each time you \write \new Lyrics a _new_ context is created which also means a new line. to write to the same line use \context I guess this is what you want: \score { << \new Staff { \repeat volta 3 { \new Voice = "intro" { \melodyI } \new Voice = "part one"{ \melodyII } } \new Voice = "part two"{ \melodyIII } } % lyrics line 1 \new Lyrics = " line 1" \lyricsto "part one" { \lyricI } \context Lyrics = " line 1" \lyricsto "part two" { \lyricIV } \new Lyrics = " line 2" \lyricsto "part one" { \altI } \context Lyrics = " line 2" \lyricsto "part two" { \altIV } % lyrics line 2 [...] Eluze -- View this message in context: http://lilypond.1069038.n5.nabble.com/Lyrics-not-lining-with-different-voice-tp154134p154202.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: Finishing touches on hymn, lyrics spacing
Ian Barclay wrote > The script you have provided looks like just what I am looking for, but > for some reason I am still getting a variety of error messages about > unexpected characters when I put it in my layout block (all this does > belong in the layout block, right?). > > So maybe I am going about this wrong. It seems there must be something > else in my script that is getting in the way of the changes I am trying to > make to the lyric font spacing. I have no idea what it is - can you catch > anything? I'll attach the file again. I run the file and didn't find any warnings or errors (thou with 2.17.95) - can you be more specific about these messages!? (attach the log file, the messages) Eluze -- View this message in context: http://lilypond.1069038.n5.nabble.com/Finishing-touches-on-hymn-lyrics-spacing-tp154120p154162.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: Bar numbers under the music rather than above?
ryanmichaelmcclure wrote > That works if there are multiple parts. But, if there is only one part, > then it wouldn't work sadly. of course this works, too: << \new Staff \with{ \consists Bar_number_engraver \override BarNumber.direction = #down \override BarNumber.font-size = #-8 \override BarNumber.break-visibility = #begin-of-line-invisible \override BarNumber.color = #blue } \violin >> \layout { \context { \Score \override BarNumber.color=#red \override BarNumber.font-size=#+5 } } Eluze -- View this message in context: http://lilypond.1069038.n5.nabble.com/Bar-numbers-under-the-music-rather-than-above-tp154126p154158.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