Re: "un-bold" font inside \tempo

2015-07-16 Thread Simon Albrecht
Hi Bruno, to avoid creating a new markup from scratch you can use LSR snippet no. 869 to modify the default. Example attached. Yours best, Simon Am 17.07.2015 um 01:19 schrieb Bruno Ruviaro: Hi all, This is my first post on this list, and my first w

Re: Lilypond-book Cutting off Slurs

2015-07-16 Thread Nick Baskin
On Thu, Jul 16, 2015 at 12:05 AM, David Kastrup wrote: > Urs Liska writes: > > > The same can happen with tuplet brackets. > > And it also happens when using -dpreview. > > IMO this is a bug. > > Cross-staff material is not considered for the skylines used for > calculating system distances. It

Re: "un-bold" font inside \tempo

2015-07-16 Thread Bruno Ruviaro
Great! Thank you very much! B On Thu, Jul 16, 2015 at 5:08 PM, tisimst wrote: > Welcome, Bruno! You've come to the right place! I hope you find your use > of LilyPond satisfying and beneficial! > > To answer your question: > > Use \normal-text { ... } to make its contents the default "roman" we

Re: Basic question re dynamics spacing

2015-07-16 Thread Andrew Bernard
Thanks Phil! On 16 July 2015 at 20:44:53, Phil Holmes (m...@philholmes.net) wrote: \new Dynamics \with { \override VerticalAxisGroup.nonstaff-relatedstaff-spacing.basic-distance = #25 } ___ lilypond-user mailing list lilypond-user@gnu.org https://li

Re: "un-bold" font inside \tempo

2015-07-16 Thread tisimst
Welcome, Bruno! You've come to the right place! I hope you find your use of LilyPond satisfying and beneficial! To answer your question: Use \normal-text { ... } to make its contents the default "roman" weight. - Abraham On Thursday, July 16, 2015, Bruno Ruviaro [via Lilypond] < ml-node+s106903

"un-bold" font inside \tempo

2015-07-16 Thread Bruno Ruviaro
Hi all, This is my first post on this list, and my first week using Lilypond for a real project. Learning a lot in a compressed amount of time... ;-) I am trying to get metronome markings with "ca." before the number, but without bold face characters. How can I cancel the bold face font inside a

Re: Custom TimeSignature doesn't scale correctly

2015-07-16 Thread Karol Majewski
Yes, this is what I'm trying right now :) Probably I'll stick to that, as it's the most natural way of changing the font.   Thanks.   ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user

Re: Custom TimeSignature doesn't scale correctly

2015-07-16 Thread tisimst
On Thu, Jul 16, 2015 at 2:40 PM, karol [via Lilypond] < ml-node+s1069038n178721...@n5.nabble.com> wrote: > Yes, Abraham, I've tried this. But the drawback of this solution is thet > it doesn't scale to bigger staff size. > > > > Try: #(set-global-staff-size 26) and you'll get what I mean. > I see

Re: Custom TimeSignature doesn't scale correctly

2015-07-16 Thread Karol Majewski
Yes, Abraham, I've tried this. But the drawback of this solution is thet it doesn't scale to bigger staff size.   Try: #(set-global-staff-size 26) and you'll get what I mean.     -- Karol ___ lilypond-user mailing list lilypond-user@gnu.org https://li

Re: Custom TimeSignature doesn't scale correctly

2015-07-16 Thread tisimst
On Thu, Jul 16, 2015 at 2:09 PM, karol [via Lilypond] < ml-node+s1069038n178719...@n5.nabble.com> wrote: > Abraham, I'll try to explain why setting baseline-skip to 0 is a bad idea > here. Take a look at the attachment. This is what is happening if you set > baseline-skip to 0. > > > > In case of

Re: Custom TimeSignature doesn't scale correctly

2015-07-16 Thread Karol Majewski
Abraham, I'll try to explain why setting baseline-skip to 0 is a bad idea here. Take a look at the attachment. This is what is happening if you set baseline-skip to 0.   In case of some other fonts difference between 'a' and 'b' is more noticeable. So we need to have baseline skip set to 2 to have

Odp: Custom TimeSignature doesn't scale correctly

2015-07-16 Thread Karol Majewski
OK, so with abs-fontsize it scales properly, but if I set global staff size _higher_ than default (20) then it doesn't scale. % BEGIN %% #(define (customTimeSignature grob) (let* ((sz (ly:grob-property grob 'font-size 0.0)) (mult (magstep sz)) (fraction

Re: Custom TimeSignature doesn't scale correctly

2015-07-16 Thread tisimst
On Thu, Jul 16, 2015 at 1:34 PM, Paul Morris [via Lilypond] < ml-node+s1069038n17871...@n5.nabble.com> wrote: > > On Jul 16, 2015, at 3:16 PM, Karol Majewski <[hidden email] > > wrote: > > > > Paul, I,ve came up with this, but it doesn't help.

Re: Custom TimeSignature doesn't scale correctly

2015-07-16 Thread Paul Morris
> On Jul 16, 2015, at 3:16 PM, Karol Majewski wrote: > > Paul, I,ve came up with this, but it doesn't help. Is setting baseline-skip > to 0 only way? There might be another way, but if so I’m out of ideas. The following takes the ly:stencil-scale approach, and it doesn’t help here. -Paul #

Odp: Custom TimeSignature doesn't scale correctly

2015-07-16 Thread Karol Majewski
I'd like to avoid setting baseline-skip to 0, as it results in specing issues between num and denom (denom is bit misaligned vertically). ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user

Re: Custom TimeSignature doesn't scale correctly

2015-07-16 Thread Karol Majewski
Paul, I,ve came up with this, but it doesn't help. Is setting baseline-skip to 0 only way? BEGIN #(define (customTimeSignature grob) (let* ((sz (ly:grob-property grob 'font-size 0.0)) (mult (magstep sz)) (fraction (ly:grob-property grob 'fraction))

Re: Custom TimeSignature doesn't scale correctly

2015-07-16 Thread Paul Morris
> On Jul 16, 2015, at 2:45 PM, Paul Morris wrote: > > Hi, when overriding a grob’s stencil, you have to scale the new stencil by > the current font-size. Hmmm, on second thought, it looks like grob-interpret-markup already takes care of scaling the new stencil to the current font size. An

Re: Custom TimeSignature doesn't scale correctly

2015-07-16 Thread tisimst
On Thu, Jul 16, 2015 at 12:46 PM, Paul Morris [via Lilypond] < ml-node+s1069038n178711...@n5.nabble.com> wrote: > > On Jul 16, 2015, at 2:18 PM, Karol Majewski <[hidden email] > > wrote: > > > > I use the following code for changing TimeSignatu

Re: Custom TimeSignature doesn't scale correctly

2015-07-16 Thread Paul Morris
> On Jul 16, 2015, at 2:18 PM, Karol Majewski wrote: > > I use the following code for changing TimeSignature font. But when it comes > to changeing staff size via 'magstep', the TimeSignature doesn't scale > correctly. It seems that baseline-skip remains the same. How can I fix this? Hi, when

Custom TimeSignature doesn't scale correctly

2015-07-16 Thread Karol Majewski
Hi, I use the following code for changing TimeSignature font. But when it comes to changeing staff size via 'magstep', the TimeSignature doesn't scale correctly. It seems that baseline-skip remains the same. How can I fix this? -- Karol %% BEGIN \version "2.19.22" #(define (

Re: proportional notation from MIDI file

2015-07-16 Thread karl
Peter: > Thanks for your reaction. > I could not open the miditoly.pl file. You don't open it, save it somewhere and then run it from the command line (to run it you need a perl interpreter). > but that is no problem. At first I > will try the conversion with LilyPond. If that doesn't work (good

Re: tempo as REAL number

2015-07-16 Thread karl
dak: > jan writes: ... > > \tempo 4 = 82.3 > > produces the error. > > "syntax error, unexpected REAL" > > Since in midi tempo definitions are of type float > > They aren't. They are exact fractions. > > > I wonder if there is a reason for Lilypond to restrict the tempo to > > integers. If

Re: Basic question re dynamics spacing

2015-07-16 Thread Phil Holmes
\new Dynamics \with { \override VerticalAxisGroup.nonstaff-relatedstaff-spacing.basic-distance = #25 } -- Phil Holmes - Original Message - From: Andrew Bernard To: lilypond-user Mailinglist Sent: Thursday, July 16, 2015 10:21 AM Subject: Basic question re dynamics spacing

Basic question re dynamics spacing

2015-07-16 Thread Andrew Bernard
I have a piano staff, and two dynamics lines underneath. How does one increase or change the distance between the lower stave of the piano staff and the first dynamics line? The following example was kindly provided by a list member some time ago to show how to increase the distance between the

Re: tempo as REAL number

2015-07-16 Thread David Kastrup
jan writes: > Hi, > > i did not expect the tempo definition in Lilypond to be required to be an > integer. > > For instance > > \tempo 4 = 82.3 > > produces the error. > > "syntax error, unexpected REAL" > > Since in midi tempo definitions are of type float They aren't. They are exact fract

tempo as REAL number

2015-07-16 Thread jan
Hi, i did not expect the tempo definition in Lilypond to be required to be an integer. For instance \tempo 4 = 82.3 produces the error. "syntax error, unexpected REAL" Since in midi tempo definitions are of type float I wonder if there is a reason for Lilypond to restrict the tempo to int

Re: Lilypond-book Cutting off Slurs

2015-07-16 Thread David Kastrup
Urs Liska writes: > The same can happen with tuplet brackets. > And it also happens when using -dpreview. > IMO this is a bug. Cross-staff material is not considered for the skylines used for calculating system distances. It would make sense to collect them in separate skylines that are merged

Re: music function with access to context properties like currentBarNumber?

2015-07-16 Thread Jan-Peter Voigt
Hi Malte, Abraham, if I knew how to achieve it, it would already be part of the edition-engraver. The problem is, that one has to unfold the music expression during iteration, so he may need to build a parallel music iterator, that creates the needed grobs. That sounds misleading. Another feat