Re: add stems to rests under a beam?

2015-08-07 Thread Klaus Blum
N. Andrew Walsh wrote > I'd prefer to keep the position of the rests as close to > unchanged (ie where they would otherwise appear, were they not under a > beam) as I can. Obviously this will force all the stems to be considerably > longer than normal, but I'd rather that than have the rests sudden

Re: add stems to rests under a beam?

2015-08-08 Thread Klaus Blum
Here's another hack: % { \override Stem.stemlet-length = #0.75 c'2~ c'4 8[ b'16\rest 16] | c'4 } % But that's probably not what you're after. New attempt: Increase the minimum

Re: space between nested staff groups

2015-08-11 Thread Klaus Blum
Hi Michael, there is another way to get that brace without the use of a GrandStaff: % --- music = {c4 c c c | c c c c } violinIMusic = { \relative c'' \music } violinIIMusic = { \relative c'' \music } violaMusic = { \re

Re: string harmonics with cue notes

2015-08-14 Thread Klaus Blum
Hi Orm, not a complete solution, but maybe a start for further ideas... You could define a variable to sum up all the formatting commands: % - \version "2.19.5" cueNote = { \override ParenthesesItem.padding = #0.2 \override Parent

Re: automatic bar number following multimeasure rest

2015-08-16 Thread Klaus Blum
Hi David, I don't know an automatic solution, but would it be interesting to set it manually? % -- \version "2.18.2" showBarnum = { \once \override Score.BarNumber.break-visibility = #end-of-line-invisible \once \override Score.Bar

Re: Guitar Fret Diagram - scale degree below string

2015-08-16 Thread Klaus Blum
Hi tone, welcome to the forum! :-) The most elegant solution would be to take "fret-diagrams.scm" and use it to build a modified fretboard command that accepts markup for fingerings. But as I'm not an expert, this is out of reach for me. Anyway, I've played around with explicit positioning of

Re: Guitar Fret Diagram - scale degree below string

2015-08-16 Thread Klaus Blum
Hi Tone, tone wrote > How can I add more space between the bottom of the strings (fret diagram) > and the scale degrees? the function produces a column: fret-diagram and the overlay stuff are "stacked" on top of each other. Between them, you can insert empty vertical space by \vspace: %

Re: Guitar Fret Diagram - scale degree below string

2015-08-18 Thread Klaus Blum
Hi Harm, your code allows using markup where only numbers are allowed - exacly what I was looking for. Thanks a lot for this great discovery. It allows "abusing" LilyPond's \fret-diagram-verbose for crazy things like this:

Re: Guitar Chord Fret Diagram - "T" above string fretted with thumb

2015-08-18 Thread Klaus Blum
Hi Tone, that's not a big problem: You can insert another markup above the fingering chart. Its contents is passed as another parameter. If the thumb isn't used, just pass an empty string "" instead of a "T". Cheers, Klaus %--

Re: Lining up notes in staves with different rhythms and time signatures

2015-08-20 Thread Klaus Blum
Hi Jack, while working on a solution, I've missed that two experts already replied... :) Anyway, another approach would be to set the internal ("true") time signature via \set Staff.measureLength = #(ly:make-moment 3/4) etc. which can be different from the "displayed" time signature set by \t

Re: Note extension lines

2015-08-20 Thread Klaus Blum
Hi Andrew, Andrew Bernard wrote > I need to be able to specify an arbitrary length, and unconnected to a > following note. maybe one of those two snippets might be a start: http://lsr.di.unimi.it/LSR/Item?id=961 http://lsr.di.unimi.it/LSR/Item?id=962 Cheers, Klaus -- View this message in c

Re: vertical spacing of rests

2015-08-22 Thread Klaus Blum
Peter Selinger wrote > Is there a global way to turn off > vertical spacing for rests in a context, i.e., some command whose > effect would be to make notes behave as with \voiceOne and rests > behave as with \oneVoice? Hi Peter, yes, there is: \override Rest.staff-position = #0 but you hav

Re: vertical spacing of rests

2015-08-23 Thread Klaus Blum
Peter Selinger wrote > your code snippet does not work correctly if some of the rests are > dotted (see attached for the output). It's a bit of a mystery to me > why this happens. Hi Peter, hmmm... I didn't think of this. It's no mystery, it's the Dot_column_engraver who makes sure that both do

Re: vertical spacing of rests

2015-08-23 Thread Klaus Blum
Simon Albrecht-2 wrote > This will move the Dot_column_engraver from Staff to Voice level and > might fix the problem. Good idea, but you should consider that this will affect dotted notes as well: % \version "2.19.25" centerRests = { \override Rest.sta

Re: Hidding Staff Lines at the start of a line

2015-09-10 Thread Klaus Blum
Hi Zoran, this is how I would start: % -- \version "2.18.2" \score { << \new RhythmicStaff \with { %\accepts "TextScript" \override StaffSymbol.line-count = #0 \omit TimeSignature } {

Re: Box around multiple markups

2015-09-25 Thread Klaus Blum
Hi Urs, the only thing I can offer is to use HorizontalBracket and replace its stencil by a box as shown in http://lsr.di.unimi.it/LSR/Item?id=1000 Two drawbacks: 1. I don't know how to simulate dashed lines. 2. Vertical position of the upper and lower edge must be set manually. However, this

Re: Bar numbers seem to be one off

2015-09-26 Thread Klaus Blum
mskala wrote > It may be useful to think of the numbers as referring to the bar > boundaries, not the contents of the bars. When you start playing from bar > 2, that means a specific moment, which is marked by a line and > possibly a number. > > The line marks bar boundary number 2 and the number

Re: Stacked letters in markup

2015-10-01 Thread Klaus Blum
Hi Urs, double dominant symbol as ready-to-use markup: http://lsr.di.unimi.it/LSR/Item?id=967 overlay function: http://lsr.di.unimi.it/LSR/Item?id=628 HTH, Klaus -- View this message in context: http://lilypond.1069038.n5.nabble.com/Stacked-letters-in-markup-tp181856p181857.html Sent from

Re: Whiteout on hairpins?

2015-10-01 Thread Klaus Blum
Hi Connor, there's whiteout property that you can set to ##t: % --- \version "2.18.2" right = \relative c'' { \override Hairpin.whiteout = ##t \override Hairpin.layer = #2 % maybe necessary to place hairpins in front of other objects r2\< r

Using fonts installed on the system

2015-10-29 Thread Klaus Blum
Hi fellow LilyPonders, has there recently been a change in how LilyPond can access fonts that are installed on the system? I'm on Windows 7... When compiling this: % \markup {"Arr.: " \override #'(font-name . "Wingdings") "{

Re: Using fonts installed on the system

2015-10-30 Thread Klaus Blum
Hi Simon, thanks for your link. Indeed, as soon as I change \markup {"Arr.: " \override #'(font-name . "Times New Roman") "{ Font Test" } to \markup {"Arr.: " \override #'(font-name . "Times New Roman,") "{ Font Test" } the Times New Roman font works as expected. However, the issue with Wingdi

Re: Using fonts installed on the system

2015-11-01 Thread Klaus Blum
At least, I can confirm that there must have been a change since 2.19.25: In the docs there's a command to enumerate all available fonts: $lilypond -dshow-available-fonts x 2.19.25 reports "Wingdings" as family Wingdings Wingdings:style=Regular 2.19.30 reports it as family Wingdings Wingdings:

Re: Testing requested: new manuscript viewer tool for Frescobaldi

2015-11-14 Thread Klaus Blum
Is there any documentation out there that tells how to run a program from git? I have an Ubuntu installation, but no deeper Linux knowledge, so I've got no idea what to do. Thanks for any hint... Klaus -- View this message in context: http://lilypond.1069038.n5.nabble.com/Testing-requested-

Re: Testing requested: new manuscript viewer tool for Frescobaldi

2015-11-16 Thread Klaus Blum
Hi Simon, hi Federico, thanks for your advices. Yeah, it works! :-) This is a really cool feature. I hope it will soon be available for windows as well. Cheers, Klaus Am 14.11.2015 um 23:36 schrieb Simon Albrecht: It is a feature of Python (in which frescobaldi is written) that a program ne

Re: guitar scale diagram - change root

2015-11-20 Thread Klaus Blum
Hi Bart, yes, that's no problem. In the attached file, I've added a parameter "start". It's an integer to indicate the tone number to start with, i.e. 1 for the root etc. This might be a start. Recently, there has been another thread that might be interesting for you as well: http://lilypond.10

Re: Fwd: Slash chords

2015-11-21 Thread Klaus Blum
Hi Luca, as for the size and blackness of the solidus, you could use the "|" sign instead of the "/" slash. Before rotating, you can stretch its x- and y-dimensions independently and therefore leave the font size untouched. Cheers, Klaus \version "2.18.2" #(d

Re: Fwd: Slash chords

2015-11-27 Thread Klaus Blum
Hi Peter, Peter Crighton-4 wrote > Could this snippet be adapted to having the bass note appearing directly > beneath the root note, separated by a horizontal line? unfortunately not (see below). The sequence is (from left to right) root note, slash, bass note. Therefore the horizontal placement

Re: Fwd: Slash chords

2015-11-27 Thread Klaus Blum
Klaus Blum wrote > The sequence is (from left to right) root note, slash, bass note. > [...] > It would be necessary to modify the function that puts together those > ingredients I've tried to modify "chord-ignatzek-names.scm" where this function is located (see

Re: Good recipe for numeric scale degree? (numerals with hat/caret)

2015-12-16 Thread Klaus Blum
Hi Steve, what about % -- #(set-global-staff-size 48) #(define-markup-command (hat layout props text) (markup? ) (interpret-markup layout props #{ \markup{ \override #`(direction . ,UP) \override #'(baseline-skip . 1.0

Re: saxophon multiphonic, how to

2015-12-20 Thread Klaus Blum
Hi Stefan, according to a saxophone tutor written by Jean-Marie Londeix, the three keys for the left palm are called C1, C2 and C4: % -- \markup \line { \center-column { C1 " " \scale #'(-1 . 1) \woodwind-diagram #'saxophon

Re: problem with accent placement

2015-12-27 Thread Klaus Blum
Hi Alex, to affect the markup, use TextScript instead of Script: % - \version "2.18.0" \relative c''' { a2-> \trill \once \override TextScript.script-priority = #-100 a2-> ^\trill^\markup { \sharp } } % - Ch

Re: incorporating .pdf file into a text

2015-12-30 Thread Klaus Blum
If you want to include LilyPond snippets into a word processor, you might be interested in the OOoLilyPond extension for OpenOffice: http://ooolilypond.sourceforge.net/ It calls LilyPond to compile your code into a PNG or EPS file which is inserted into the text document. PNG works pretty well,

Re: multiple strophes centered

2016-01-28 Thread Klaus Blum
Hi Bernhard, you could start by defining the second verse, followed by the first (aligned ABOVE the second) and finally the third (aligned below the second): % - \score { << \new Staff { \new Voice = "melody" { \relative c'' {

Re: Chord bass note font

2016-01-30 Thread Klaus Blum
Hi Tom, welcome to the forum! Thomas Ibbotson wrote > I'd like to make the bass note in slashed chords use a smaller font to > distinguish it from the chord name. Recently, there has been a thread that could be interesting for you: http://lilypond.1069038.n5.nabble.com/Fwd-Slash-chords-tp18383

Re: Chord bass note font

2016-01-30 Thread Klaus Blum
Thomas Ibbotson wrote > I see you're defining a new function "lower-extension", which looks like > it > modifies and passes through its arguments to another function > "note-name->markup". Am I close? Yes, that's it! By the way: I forgot to replace the name "lower-extension" by something that sui

Re: override default bar width for only one bar

2016-01-31 Thread Klaus Blum
Hi Ryan, the command you are looking for is \newSpacingSection. If the effect is not enough, you could simply add another voice and do some invisible stuff to consume additional space: % - \version "2.19.25" \score { \relative c'' { g4

Re: Adding aligned text beneath a fret board diagram

2016-02-03 Thread Klaus Blum
Hi Nat, welcome to the forum! Nat Davis wrote > I would like to add the interval underneath the fret board diagram Some time ago, there has been a thread that could be interesting for you: http://lilypond.1069038.n5.nabble.com/Guitar-Fret-Diagram-scale-degree-below-string-td179664.html#a179693

Re: Is there a bug in the way Lilypond handles staccatos?

2016-02-15 Thread Klaus Blum
Hi Devin, the use of parentheses is somewhat special: don't think of them as a pair of parentheses. :-) An opening parenthesis after a note indicates the beginning of a slur, a closing parenthesis means the end of a slur. So, in your second example the slur ends on the c'8 whereas in your fi

Re: How to diminish the vertical space underneath a musical example

2016-02-15 Thread Klaus Blum
Hi Robert, Robert Blackstone-3 wrote > What can I do to diminish the vertical space between the score and the > next text block? if your score block is short enough to not require a page break, you can also insert it as a markup element: % \markup

Re: horicontally shift of polyrhythmic staves

2016-02-22 Thread Klaus Blum
Hi Jonathan, maybe this thread could be interesting: http://lilypond.1069038.n5.nabble.com/Creating-cut-away-or-scrapbook-scores-in-LilyPond-td177436.html In the documentation, you could look for "ossia" staves and the techniques to produce them. In your ME, I took your "secondVoice" and inse

Re: Changing *displayed* barnumber

2016-02-25 Thread Klaus Blum
Hi Urs, Urs Liska wrote > But I don't have a clue how I can make the barnumber *print* a barnumber > that is offset by the argument. I do *not* want to change the > currentBarNumber as I would consider this semantically wrong. Here is what I've got so far... However, I used a global variable to

Re: Create a snippet line of music after the main music

2016-02-26 Thread Klaus Blum
Hi Stan, Stan Mulder-3 wrote > At the end of a jazz piece I'm arranging I would like to suggest some > notes > for a solo at the bottom of the piece of music. this shouldn't be a problem. You can put several scores or markup parts into a document: % \v

Re: Graphic background behind systems

2016-02-28 Thread Klaus Blum
Hi Paul, Paul Booker wrote > would it also be possible to have white-out on the barline and staff to > help it stand out? you could use \override Score.BarLine.whiteout = ##t but that would make the white "frame" around the barlines cover the staff lines. But as you wrap your score into a

Re: Graphic background behind systems

2016-02-28 Thread Klaus Blum
Paul Booker wrote > That doesn't work for me Ooops, I posted the wrong code... that was my first attempt. Here is my second one that was supposed to be shown here: % --- \version "2.19.36" samplePath = #'((moveto 0 0) (rcurveto 0

Re: Graphic background behind systems

2016-02-28 Thread Klaus Blum
Hi Simon, Simon Albrecht-2 wrote > That kind of problems can be overcome by overriding layer on the > competing objects. Hmmm... I could use \override Score.BarLine.layer = #-1 \override Score.BarLine.whiteout = ##t to move the barline behind the staff lines. But if I want to whiteou

Re: Long words in lyrics and spacing

2016-02-28 Thread Klaus Blum
Hi David, follow the link given by Simon. There you'll find that the extent of the barlines is set to '(-0.05 . 0.05) by default. They appear as a very small point. % --- \version "2.19.25" \new Lyrics \with { \consists "Ba

Re: Graphic background behind systems

2016-02-28 Thread Klaus Blum
Simon Albrecht-2 wrote > Please give an example of what exactly you > can’t achieve. David suggested to whiteout the staff lines AND the barlines, but not the whole markup-score thing. I don't know how to do this without one covering the other. %

Re: Graphic background behind systems

2016-02-28 Thread Klaus Blum
Paul Booker wrote > All I would like now is to get the score markup back to the top of the > page > with the graphic visible behind it. Strange... in my examples I have this construction: \markup { \with-dimensions #'(0 . 0) #'(0 . 0) \translate #'(0 . -2) \line { etc...

Re: Graphic background behind systems

2016-02-29 Thread Klaus Blum
Paul Booker wrote > ... but leaves the layout as if the graphic still occupied space above the > staff. SO there is extra white space at the top. Hi Paul, you could add \with-dimensions #'(0 . 0) #'(0 . 0) which tells LP to behave as if the following markup had the given dimensions (in thi

Re: Graphic background behind systems

2016-02-29 Thread Klaus Blum
Hi Paul, one more try: I've installed LP 2.19.37. Yes, it has a different behavior: default whiteout style is the "classic" old box style that covers everything behind. You can set the "outline" style: % --- \version "2.19.36" samp

Re: combined problems,chords,layout

2016-03-07 Thread Klaus Blum
Hi vector, vector wrote > Q) Why does it (opus) print twice? try: arranger="work in progress" It seems that the "opus" field is printed on top of every score block. Cheers, Klaus -- View this message in context: http://lilypond.1069038.n5.nabble.com/combined-problems-chords-layout-tp18822

Re: combined problems,chords,layout

2016-03-07 Thread Klaus Blum
vector wrote > would be nice to have the fretdiagrams centred on the page tho. No problem: %% \markup \fill-line { \score { << %{Chord names above Fret diagrams %} \new ChordNames { \usedChords } %Fret diagrams \new FretBoard

Re: creating chords like F/A(D/F#) with \chordmode { }

2016-03-12 Thread Klaus Blum
It looks like the goal is to create alternative chords in a different key, e.g for a guitar with a capo on the 3rd fret. A function to put chordnames into parentheses (better than \parenthesize) can be found here: http://www.lilypondforum.de/index.php?action=profile;area=showposts;u=54 Here is wh

Re: volta with stanzas in variables

2016-03-19 Thread Klaus Blum
Hi Andrew, you variables \lyricsI and \lyricsII are placed one following the other: << ... \new Lyrics \lyricsto "voce" { { \lyricsI \lyricsII } } >> Replace that part by << ... \new Lyrics \lyricsto "voce" { { \lyricsI } } \new Lyr

Re: Multiple slurs on chord

2016-03-20 Thread Klaus Blum
Hi Alberto, I'd try the following: 1.) modify the slur's shape to make it point straight from notehead to notehead 2.) create an additional voice with hidden noteheads to add the "missing" slur % - \version "2.19.25" %% The f

Re: Winged repeat bar line unique over multiple staves

2016-03-22 Thread Klaus Blum
Hi Alexis, Schneidy has created a snippet for that issue: http://lsr.di.unimi.it/LSR/Item?id=991 There's a little drawback: You have to (manually) adjust the bracket height to match the staff group height. I've tried a little modification to avoid this: You can add the wings to the topmost and

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

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: 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: 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: 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: 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: 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-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: 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: 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: 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: 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: 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: 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: 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

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: 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

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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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
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-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-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: 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: 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: 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: 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: 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: 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

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: 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

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: 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: 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: [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: [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

  1   2   3   >