Re: \dim and avoid-slur

2015-06-12 Thread Klaus Blum
Hi Simon, I've played a bit with your example, based on http://lsr.di.unimi.it/LSR/Item?id=540 which is also part of the documentation. This might do the trick: % --- \version "2.19.18" \score { << \new Voice { { \override Te

Re: {g,, g'' g g}

2015-06-12 Thread Klaus Blum
Simon Albrecht-2 wrote > The problem is integrating this with > \relative (as Gianmaria intended, I believe). At least you’d have to > spell out the first one. That's true. But if you want to work ONLY in relative mode, a tiny modification to David's solution will work: % --

Re: {g,, g'' g g}

2015-06-12 Thread Klaus Blum
Hi Gianmaria, you could start like this: % -- \version "2.18.2" pat = #(define-music-function (parser location note) (ly:pitch?) #{ \transpose c $note % define the pattern here: { c,,16 c'' c c } #}) { \pat g \pa

Re: Re[2]: Fw: Re[2]: coloring voices vs systemStartDelimiterHierarchy

2015-06-10 Thread Klaus Blum
Hi Thomas, Thomas Schuch wrote > 2. Clefs > If i want to color some music at the beginning of a system, the Clef at > the SystemStart gets colored, too. If this behaviour is intended, you are absolutely right in changing Staff.Clef #'color (or did I miss something?). If you want ONLY the clef

Re: Fw: Re[2]: coloring voices vs systemStartDelimiterHierarchy

2015-06-09 Thread Klaus Blum
Nick Payne-3 wrote > If I save the ly file and try to build it (Windows, Lilypond 2.19.21) it > causes lilypond to terminate with the error below. I also loaded it into > Frescobaldi and got the attached Mingw error msgbox: > [...] Strange... I'm on Win7 64bit, Frescobaldi & Lilypond 2.19.18 and

Re: coloring voices vs systemStartDelimiterHierarchy

2015-06-09 Thread Klaus Blum
Hi musicus, the problem disappears if you remove the "\stopStaff" and "\startStaff" commands in your "colorMusic" function. It seems that the function works fine without them. Is there a special reason for them? I could not find them in Urs' blog. Cheers, Klaus -- View this message in conte

Re: Removing end of line key signature

2015-06-08 Thread Klaus Blum
Hi John, \override Staff.KeySignature.break-visibility = #end-of-line-invisible only affects the key signature that has been set at the beginning. You shouldn't set it to "#end-of-line-invisible": note the "b" at the beginning of every bar in the coda. To affect key changes during the piece, us

Re: Creating cut-away or scrapbook scores in LilyPond

2015-06-04 Thread Klaus Blum
Hi Stephen, thanks for publishing your source code. You gave me the solution I didn't find: markup attached to empty chords. Here is my suggestion: Scrapbook_challenge.ly No more invisible rests that consume space, an

Re: Creating cut-away or scrapbook scores in LilyPond

2015-06-04 Thread Klaus Blum
Here we go again: % - \version "2.18.2" \paper { ragged-right = ##f } #(define-markup-command (instNameI layout props text) (markup?) (interpret-markup layout props #{ \markup { \hcenter-in #10 $text }

Re: Creating cut-away or scrapbook scores in LilyPond

2015-06-03 Thread Klaus Blum
tisimst wrote > I couldn't see the instrument names at all... Neither could I... If you try \skip 8 \skip 4 \skip 2 you can see the instrument names move to the left. Increasing the indent value may help visualizing the effect. With "\skip 1*4", they completely disappear. I have no idea what's g

Re: Creating cut-away or scrapbook scores in LilyPond

2015-06-03 Thread Klaus Blum
Hi Abraham, whether or not this type of score makes sense... here is what I've got so far: % - \version "2.18.2" sortClef = { \override Score.BreakAlignment #'break-align-orders = #' #((left-edge cue-end-clef brea

Re: change font name of just lyrics?

2015-05-26 Thread Klaus Blum
Hi Josh, you could try it like this: % -- \version "2.18.2" \relative c' { c4 d e f } \addlyrics { This is my text } \layout { \context { \Lyrics \override LyricText.font-name = #"Arial Narrow" } } % --

Re: ANN: Frescobaldi 2.18.1

2015-05-24 Thread Klaus Blum
Hi Wilbert, there is something I need to say about Frescobaldi: For several reasons, I'm stuck in the world of Windows. However, I've always checked out some interesting Linux software on separate partitions or virtual PCs. Very soon, Frescobaldi became the most important of them. And I remembe

Re: notes grouped

2015-05-24 Thread Klaus Blum
Hi Marco, you can find the information here: http://www.lilypond.org/doc/v2.18/Documentation/notation-big-page.de.html#setting-automatic-beam-behavior This is a snippet about that subject: http://lsr.di.unimi.it/LSR/Item?id=520 Cheers, Klaus -- View this message in context: http://lilypond

Re: copyright text in more of one single line

2015-05-24 Thread Klaus Blum
Hi Marco, yes, just try: % \header { tagline = ##f copyright = \markup \center-column { "(C) 2015 - Marco Bagolin" "All Rights Reserved" "- This is my personal copy -" } } \score {g'} % --

Re: custom markup help

2015-05-24 Thread Klaus Blum
Hmmm... AFAIK there is no way to use properties like you can do with "define-markup-command". Maybe someone with a deeper knowledge than me can chime in here? :) At least, I found a way to call the function without using the carat: % --

Re: custom markup help

2015-05-23 Thread Klaus Blum
Hi Damian, aah, Nick was faster than me... :-) The easiest way I've found would be this: % --- \version "2.18.0" #(define-markup-command (sd layout props sdnum) (markup?) "Put a number with a carat above the note." (interpret-ma

Re: Nashville notation as chord symbols

2015-05-20 Thread Klaus Blum
Hi Stan, there once was an interesting thread in the German forum: http://www.lilypondforum.de/index.php?topic=824.0 This might be a point to start, even if it works only in C major: % --- \version "2.18.2" % C

Re: Parallel music expressions on 1 stave with different notehead sizes?

2015-05-16 Thread Klaus Blum
Hi Rosalie, maybe a small function will make the complicated job a little less complicated: % - \version "2.18" \include "english.ly" t = #(define-music-function (parser location music) (ly:music?) #{ \tweak font-size #-2 #music #}) soprano = {

Re: Parallel music expressions on 1 stave with different notehead sizes?

2015-05-16 Thread Klaus Blum
Hi Rosalie, one of the snippets could help you: http://www.lilypond.org/doc/v2.18/Documentation/snippets-big-page#simultaneous-notes-changing-a-single-note_0027s-size-in-a-chord But you will have to tweak each single note head, which might be somewhat cumbersome: % -

Re: AW: AW: New verses

2015-05-10 Thread Klaus Blum
Aaaah, that's because the \header part was *inside* the \score part: \score { \header { % title, composer, tagline } << \choirPart >> % etc. } If you change the structure like this... \header { % title, composer, tagline } \score { << \choirPart >> % etc. } ...ever

Re: AW: New verses

2015-05-10 Thread Klaus Blum
Hi Bernhard, Dr. Bernhard Kleine wrote > I lost the information in the header, it is still written, but not used. > I am lost. Sorry, but I don't understand what you mean by that sentence... maybe in German? Cheers, Klaus -- View this message in context: http://lilypond.1069038.n5.nabble.co

Re: Global Color Changes

2015-05-10 Thread Klaus Blum
One last idea: If you don't want to change the settings for the entire page, you could also try like this: % \version "2.18.2" % Taken from: % http://lsr.di.unimi.it/LSR/Item?id=969 #(define-markup-command (on-color l

Re: New verses

2015-05-10 Thread Klaus Blum
Hallo Bernhard, Dr. Bernhard Kleine wrote > I failed to add a second (and third to fifth) verse to the following > example. there should be no problem if you add the following verses in the same way you added the first one. Verses below the score can be added with a separate \markup block. One

Re: Global Color Changes

2015-05-09 Thread Klaus Blum
Peter Heisen wrote > My goal is to change the foreground from black to, say, yellow; and the > background from white to, say, blue. As for the background, you can start here: http://lsr.di.unimi.it/LSR/Item?id=699 Cheers, Klaus -- View this message in context: http://lilypond.1069038.n5.nab

Re: repeated _\markup{} at same distance from staff...?

2015-05-08 Thread Klaus Blum
Hi Paul, hi Phil, from my own experiences, I can absolutely recommend using lyrics. Here's a snippet that might be useful: http://lsr.di.unimi.it/LSR/Item?id=967 Cheers, Klaus -- View this message in context: http://lilypond.1069038.n5.nabble.com/repeated-markup-at-same-distance-from-staff

Re: can I force the KeySignature to display when a new clef requires it?

2015-05-06 Thread Klaus Blum
Hi Kieren, I don't know if there is an easier/better way, but you could try: % - \version "2.18.2" showKey = { % Define the order of barline, clef, key signature etc.: \once \override Score.BreakAlignment #'break-align-orders = #' #

Re: undefined

2015-04-17 Thread Klaus Blum
Hi Calixte, someone has made a cool snippet for that: http://lsr.di.unimi.it/LSR/Item?id=968 He's simply re-defining the [ ] commands. A little modification to fill your needs: % - "[" = - #(make-music 'SlurEvent 'span-direction -

Re: [feature request] getting \repeat percent to work in ChordNames

2015-04-11 Thread Klaus Blum
Hi Kieren, a few weeks ago, I had exactly the same question while fiddling around with this: Chord_sheet.ly I'm not sure if I was inspired by http://lsr.di.unimi.it/LSR/Item?id=460 or if I found the solution somewhere else. Pr

Re: [feature request] getting \repeat percent to work in ChordNames

2015-04-11 Thread Klaus Blum
benbigno...@gmx.dehi Kieren, you could also try: % --- \version "2.18.2" \chords { \repeat percent 4 { a2:m f } \repeat percent 4 { g1 c } } \layout { \context { \ChordNames \consists "Percent_repeat_engraver" \consists

Re: box around notes

2015-04-09 Thread Klaus Blum
Hi David, David Nalesnik-2 wrote > I hope that one day this will be trouble-free! I didn't know that things can get that complicated when diving deep into a lily pond... ;-) David Nalesnik-2 wrote > How did you arrive at 1? Well, I just took some insane value to get above anything else...

Re: box around notes

2015-04-06 Thread Klaus Blum
Hi David, here's my first attempt to apply my drawing function to your project. Thanks again for sharing this really cool tool! I've played around with some settings, and I also experimented with the messed up dynamics problem when taking the engravers out of the score context. It works if you s

Re: Reading a property

2015-04-06 Thread Klaus Blum
Hi everybody, here is an updated version where a small problem has been resolved (see attachment). I hope this can be useful for some people. If you have any suggestions, please go ahead. Maybe I'll do some cleanup and turn it into a snippet... Cheers, Klaus ColorSpan-Showcase.ly

Re: Reading a property

2015-04-01 Thread Klaus Blum
Hi David, thanks for coming onboard. First of all, I've got a function that returns a stencil: #(define (makeDeltaSpan y-l-lower y-l-upper y-r-lower y-r-upper frame-color fill-color stepLeft stepRight open-on-bottom open-on-top thick pad X-ext-param open-on-left open-on-right radius

Reading a property

2015-04-01 Thread Klaus Blum
Dear LilyPond fellows, how can I read a property? For example, after having applied \override HorizontalBracket.line-thickness = #0.5 is there an easy way to access that value? I know that it will work like this: colorSpan = #(define-music-function (parser location y-lower y-upper color)

Re: Change the Y-offset of a ballon markup

2015-03-29 Thread Klaus Blum
Ooops, HTML formatting can misunderstand LilyPond code... let's try again: % \version "2.18.2" \new Staff { << \new Voice = "Up" \relative e'' { \voiceOne e8 fis g e fis4. e8 | < b dis>2 } \new Voic

Re: Change the Y-offset of a ballon markup

2015-03-29 Thread Klaus Blum
Hi Pierre, the balloon spanner is attached to the center of the balloon text markup only if it does not cover a Y distance, f. ex. \balloonText #'(6 . 0) The only idea I have is to tweak the markup dimensions by \with-dimensions #'(0 . 0) #'(0 . 0) or \with-dimensions #'(0 . 0) #'(0 . 1)

Re: Highlight or Cross out measures

2015-03-16 Thread Klaus Blum
Hi Jay, maybe this could help you: % - \version "2.18.2" bgColor = #(define-music-function (parser location y-lower y-upper color) (number? number? color?) #{\stopStaff \override Staff.StaffSymbol $'stencil =

Re: Graphical operators in markup

2015-03-13 Thread Klaus Blum
Hi Andrew, there are two snippets dealing with arrows: http://lsr.di.unimi.it/LSR/Item?id=961 http://lsr.di.unimi.it/LSR/Item?id=962 Maybe they are useful for you... Cheers, Klaus -- View this message in

Re: Slurred staccato in a tremolo (Menu Jacques)

2015-03-08 Thread Klaus Blum
Hello back, I don't know if I'm doing something wrong, but I didn't see a slur at all, until I added some braces: % --- \version "2.19.15" tongue = #(define-music-function (parser location dots) (integer?) (let ((script (make-music 'Articulatio

Re: Slurred staccato in a tremolo

2015-03-08 Thread Klaus Blum
Hi Jacques, there is already a snippet that might help: http://lsr.di.unimi.it/LSR/Item?id=772 Cheers, Klaus -- View this message in context: http://lilypond.1069038.n5.nabble.com/Slurred-staccato-in-a-tremolo-tp172820p172824.html Sent from the Use

RE: Bar number after volta repeat

2015-03-06 Thread Klaus Blum
Klaus Blum wrote > For some reason, the first bar is extremely spread. Ah, I didn't notice the \break after the first bar in the bass part: bassMusic = \relative c { \clef "bass_8" \key g \major g,1 *\break* b } Remove it and everything works as expected. :) -- Vi

RE: Bar number after volta repeat

2015-03-06 Thread Klaus Blum
Hi Seng, sorry, I didn't notice that. :( 1. All the engravers removed from the \Score context only were added to the normal \Staff context. I forgot to do the same thing with the \RhythmicStaff context. Now it works. For some reason, the first bar is extremely spread. If you use the one-line-

RE: Bar number after volta repeat

2015-03-05 Thread Klaus Blum
Hi Seng, ooops, that's true, this really looks strange... It seems you have to move some other engravers as well, because they depend on each other. So, let's apply all the changes from the snippet above. Now the \layout section looks like this: % --

Re: Bar number after volta repeat

2015-03-05 Thread Klaus Blum
Hi Seng, if you add the Bar_number_engraver to a staff, you also have to add the Timing_translator: \consists "Timing_translator" \consists "Bar_number_engraver" A "cleaner" solution could be to completely remove those two engravers from the score context and put them into the staff con

Re: Bar number after volta repeat

2015-03-05 Thread Klaus Blum
I just forgot to mention: There's a "crazy" snippet where I got this information from: http://lsr.di.unimi.it/LSR/Item?id=872 It's a showcase for countless possibilities. Cheers, Klaus -- View this message in context: http://lilypond.1069038.n5.na

Re: Force hshift not working in rhythmic staff

2015-03-05 Thread Klaus Blum
Hi, force-hshift is applied by the collision engraver, which is part of many staff types, but not part of a RhythmicStaff. See: http://www.lilypond.org/doc/v2.18/Documentation/internals-big-page#collision_005fengraver

Re: How to use \parallelMusic with \lyricmode ?

2015-03-02 Thread Klaus Blum
Matej Kosik wrote > doesn't that mean that: > > "Cee" syllable has length 2 > "Eee" syllable has length 4 > "Gee" syllable has length 4 > ? Hmmm... not really. At the moment when \parallelMusic sorts the whole expression into three variables, the syllables have no length. Thus,

Re: How to use \parallelMusic with \lyricmode ?

2015-03-02 Thread Klaus Blum
Hi Matej, the message occurs because the syllables don't have a length like the notes in the two upper voices. Using \lyricmode { Cee2 Eee4 Gee4 } | will supress the message, even if it's not necessary because of the "\lyricsto" assignment. I'm afraid there is no way to get rid of the "\l

Re: String Concatenation, and Use of Unicode characters

2015-03-02 Thread Klaus Blum
Hi again, for your first issue, try: \bookOutputName #(string-append BaseFileName " (alto)") hope this helps, Klaus -- View this message in context: http://lilypond.1069038.n5.nabble.com/String-Concatenation-and-Use-of-Unicode-characters-tp172504p172508.html Sent from the User mailing l

Re: String Concatenation, and Use of Unicode characters

2015-03-02 Thread Klaus Blum
Hi Michael, for your second issue, this might be helpful: \concat { "Alto Sax in E" \fontsize #-5 \raise #0.9 \musicglyph #"accidentals.flat" } Could you provide your source file and also the include files as a download or attachment? I tried to copy-paste from your post, but some signs got mess

Re: Two types of glissandi in the same score?

2015-02-28 Thread Klaus Blum
Hi torchflame, could you provide a complete example, even if it doesn't compile? This would help to find a solution. Here's a snippet that might help: http://lsr.di.unimi.it/LSR/Item?id=962 Cheers, Klaus -- View this message in context: http://li

Re: Moving a markup

2015-02-26 Thread Klaus Blum
Hi Ralph, it seems that markup above full measure rests is center-aligned above the rest. If you replace the full measure rest by a "normal" rest, it should be left-aligned. Regarding the tweaks: They are applied AFTER the position for the markup is calculated, therefore they should work well.

Re: creating pop/vocal lead sheets without the melody line

2015-02-24 Thread Klaus Blum
Hi Ryan, you might find an advantage if you already have defined a melody anyway. You can then replace the "normal" voice by a NullVoice which doesn't show up in the score. By that, you can re-use a "\lyricsto"-assignment already made. But LilyPond still treats the material as a musical score. Fo

Re: Temporary font change?

2015-02-19 Thread Klaus Blum
Hi Abraham, just discovered that I missed your answer. Thanks a lot for your tailor-made version. Klaus -- View this message in context: http://lilypond.1069038.n5.nabble.com/Temporary-font-change-tp172083p172090.html Sent from the User mailing list archive at Nabble.com. __

Re: Temporary font change?

2015-02-19 Thread Klaus Blum
Hi Urs, thanks for your hint. Now it works: % \version "2.19.15" #(define-public (add-notation-font fontnode name music-str brace-str factor) (begin (add-music-fonts fontnode name music-str brace-str feta-design-size-m

Temporary font change?

2015-02-19 Thread Klaus Blum
Dear LilyPond fellows, is there a way to temporarily change the notation font? For example, only some notes or one voice in a hand-written look like "improviso"? I'm trying something like by a code like this: % -

Re: Peer review

2015-02-18 Thread Klaus Blum
Hi Craig, I've noticed that you've changed the color of the staff lines from black to grey. I think this is a good way to increase readability. However, in some lines of your score, the black bar lines are printed behind the grey staff lines. I think this is because they are located in the same

Re: Uncorrect (?) beams

2015-02-15 Thread Klaus Blum
It seems that you have to apply \autoBeamOff BEFORE a beam group starts. You can manually start/stop beams by using brackets: % -- \version "2.18.2" \relative c'' { c4 b a \autoBeamOff g16[ b] a8 } % -- Cheers, Klaus

Re: Encapsulating tweak and markup in a variable

2015-02-13 Thread Klaus Blum
P.S.: You can also pass parameters to that function: % --- \version "2.18.2" F = #(define-music-function (parser location text) (string?) #{ -\tweak TextScript.self-alignment-X #CENTER -\markup\large\bold\with-color #magenta $text #}) {g2 \mf ^\F

Re: Encapsulating tweak and markup in a variable

2015-02-13 Thread Klaus Blum
Salut Jacques, defining your command as a function should do the trick: %--- \version "2.18.2" UN_E = #(define-music-function (parser location) () #{ -\tweak TextScript.self-alignment-X #CENTER -\markup\large\bold\with-color #magenta "1E" #})

Re: using variable in "\translate #'(10 . 30) \center-align Ignatzek

2015-02-12 Thread Klaus Blum
Hi Marc, maybe this is what you're looking for: % -- \version "2.18.2" \markup \translate #'(10 . 30) \center-align Ignatzek \markup \translate #'(20 . 30) \center-align Ignatzek #(define x-var 10) \markup \translate #(cons x-var 30) \center-align Ignat

Re: Closing key and two staves on the same line

2015-02-06 Thread Klaus Blum
Hello Kaj, you can put an empty measure in between and interrupt the staff lines via \stopStaff and \startStaff. The huge override section is taken from a snippet, it's needed to have the natural sign before the double bar line. I hope this helps: % -

Re: define-music-function -> unexpected EVENT_FUNCTION

2015-01-26 Thread Klaus Blum
Hi Anders, the "\rightHandFinger" command can only be used for a single note, not for a whole "music" expression that could also be a chord or a sequence of notes and rests. Replacing "ly:music?" by "ly:pitch?" should do the trick: % -

Re: box around notes

2015-01-17 Thread Klaus Blum
Hi David, one more big THANK YOU for your fast reply. Yes, it was very helpful. I have updated music-boxer-stencil so that it works again with the boxEngraver. Finally I did some cleanup to my messy code in make-box. Greetings from Germany, Klaus Am 16.01.2015 um 20:30 schrieb David Nalesnik

Re: box around notes

2015-01-16 Thread Klaus Blum
Hi David, thanks again. You're my hero: now it works. I've added a few things so far: - "thickness" property can be used to control frame thickness, can even be set to zero ("color" property and "layer" property work by default) - "filled" property (boolean) controls whether the box is to be fi

Re: box around notes

2015-01-10 Thread Klaus Blum
Hi David, thanks for your work - this is a really great tool. I often work with things like this: http://lsr.di.unimi.it/LSR/Item?id=960 so what I found in this thread is very interesting for analysis purposes. I started to try some modifications on

Re: many-lyrics separator (slightly OT)

2015-01-06 Thread Klaus Blum
David Nalesnik-2 wrote > There is an old thread which describes how to adapt input/regression/ > scheme-text-spanner.ly to create intelligent underlining of lyrics: > http://www.mail-archive.com/lilypond-user%40gnu.org/msg60732.html Hi David, thanks for pointing to that old thread. It helped me

Re: vertical justification of fret-diagram

2014-12-30 Thread Klaus Blum
Hi Jinsong, if you like to define all fret diagrams as markup, you can place them in an lyric line above the staff: % - \version "2.19.15" fret-ees = \markup { \fret-diagram #"s:0.5;6-x;5-x;4-5;3-3;2-4;1-3;c:2-1-2;" } << \new Lyrics { \l

Re: Can LyricExtender ignore/skip syllables?

2014-12-27 Thread Klaus Blum
tem?id=967 % http://lists.gnu.org/archive/html/lilypond-user/2014-12/msg00123.html % Contributed by Klaus Blum \paper { indent = 0 ragged-right = ##f } \header { tagline = ##f } % --- % - The "central&qu

Re:Staves as footnotes, and some random layout issues.

2014-12-22 Thread Klaus Blum
Hi Ted, working with "real" footnotes seems to be possible but extremely tricky. I've got no idea of that. As all this happens on the first page, you could "abuse" the copyright markup in the \header section. Cheers, Klaus % -

Re:Staves as footnotes, and some random layout issues.

2014-12-22 Thread Klaus Blum
Hi Ted, for having the blank space on the bottom, add a \paper - block like this: \paper { ragged-last-bottom = ##f ragged-bottom = ##f } Eliminating the treble clef and shrinking the score snippet is easy, see below. Unfortunately, "layout-set-staff-size" only affects the notes, but no

<    1   2   3