RE: Font size of pedal marks

2016-02-19 Thread Joseph N. Srednicki
Simon and Kieran:

Thanks for your useful suggestions. 

Joe Srednicki

-Original Message-
From: Kieren MacMillan [mailto:kieren_macmil...@sympatico.ca] 
Sent: Friday, February 19, 2016 1:40 PM
To: Simon Albrecht 
Cc: Joseph N. Srednicki ; Lilypond-User Mailing List 

Subject: Re: Font size of pedal marks

Hi Simon (et al.),

> However this will also change numerous other objects like 
> articulations and fermatas

+1

> so I’d globally redefine them like
> rheel = -\tweak font-size -3 \rheel

If you have more than one tweak, you can also pack them into a single/general 
setting, without redefining them individually:

  SNIPPET BEGINS
\version "2.19.36"

#(define ((custom-script-tweaks ls) grob)
  (let* ((type (ly:prob-property (assoc-ref (ly:grob-properties grob)
'cause) 'articulation-type))
 (tweaks (assoc-ref ls type)))
(if tweaks
(for-each (lambda (x) (ly:grob-set-property! grob (car x) (cdr x))) 
tweaks)
'(

#(define my-script-settings '(
   ("rheel" . ((font-size . -3)))
   ("lheel" . ((font-size . 4)))
   ("staccato" . ((padding . 12)))
   ("tenuto" . ((X-offset . -2)))
   ))

\score {
  \new Staff { c''4\rheel 4\lheel 4\staccato 4\tenuto }
  \layout {
\context {
  \Score
  \override Script.before-line-breaking =
  #(custom-script-tweaks my-script-settings)
}
  }
}
  SNIPPET ENDS

Hope this helps!
Kieren.


Kieren MacMillan, composer
‣ website: www.kierenmacmillan.info
‣ email: i...@kierenmacmillan.info


___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Font size of pedal marks

2016-02-19 Thread tisimst
On Fri, Feb 19, 2016 at 11:40 AM, Kieren MacMillan [via Lilypond] <
ml-node+s1069038n187467...@n5.nabble.com> wrote:

> If you have more than one tweak, you can also pack them into a
> single/general setting, without redefining them individually:
>
>   SNIPPET BEGINS
> \version "2.19.36"
>
> #(define ((custom-script-tweaks ls) grob)
>   (let* ((type (ly:prob-property (assoc-ref (ly:grob-properties grob)
> 'cause) 'articulation-type))
>  (tweaks (assoc-ref ls type)))
> (if tweaks
> (for-each (lambda (x) (ly:grob-set-property! grob (car x)
> (cdr x))) tweaks)
> '(
>
> #(define my-script-settings '(
>("rheel" . ((font-size . -3)))
>("lheel" . ((font-size . 4)))
>("staccato" . ((padding . 12)))
>("tenuto" . ((X-offset . -2)))
>))
>
> \score {
>   \new Staff { c''4\rheel 4\lheel 4\staccato 4\tenuto }
>   \layout {
> \context {
>   \Score
>   \override Script.before-line-breaking =
>   #(custom-script-tweaks my-script-settings)
> }
>   }
> }
>   SNIPPET ENDS
>

Nice, Kieren! That's a great way to consolidate specifics tweaks! Thanks
for sharing!

- Abraham




--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/Font-size-of-pedal-marks-tp187464p187468.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: Font size of pedal marks

2016-02-19 Thread Kieren MacMillan
Hi Simon (et al.),

> However this will also change numerous other objects like articulations and 
> fermatas

+1

> so I’d globally redefine them like
> rheel = -\tweak font-size -3 \rheel

If you have more than one tweak, you can also pack them into a single/general 
setting, without redefining them individually:

  SNIPPET BEGINS
\version "2.19.36"

#(define ((custom-script-tweaks ls) grob)
  (let* ((type (ly:prob-property (assoc-ref (ly:grob-properties grob)
'cause) 'articulation-type))
 (tweaks (assoc-ref ls type)))
(if tweaks
(for-each (lambda (x) (ly:grob-set-property! grob (car x)
(cdr x))) tweaks)
'(

#(define my-script-settings '(
   ("rheel" . ((font-size . -3)))
   ("lheel" . ((font-size . 4)))
   ("staccato" . ((padding . 12)))
   ("tenuto" . ((X-offset . -2)))
   ))

\score {
  \new Staff { c''4\rheel 4\lheel 4\staccato 4\tenuto }
  \layout {
\context {
  \Score
  \override Script.before-line-breaking =
  #(custom-script-tweaks my-script-settings)
}
  }
}
  SNIPPET ENDS

Hope this helps!
Kieren.


Kieren MacMillan, composer
‣ website: www.kierenmacmillan.info
‣ email: i...@kierenmacmillan.info


___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: How do I adjust organ pedal marks vertically?

2016-02-19 Thread Michael Rivers
Look out -- here come the urtext police!



--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/How-do-I-adjust-organ-pedal-marks-vertically-tp187454p187466.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: Font size of pedal marks

2016-02-19 Thread Simon Albrecht

On 19.02.2016 19:18, Joseph N. Srednicki wrote:


Is there a command to adjust the size of the pedal marks \rheel, 
\lheel, \rtoe, \ltoe?




They produce Script grobs, so you’d need (in a \layout block)
\override Script.font-size = -10 % dummy value
However this will also change numerous other objects like articulations 
and fermatas, so I’d globally redefine them like

rheel = -\tweak font-size -3 \rheel

HTH, Simon

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Font size of pedal marks

2016-02-19 Thread Joseph N. Srednicki
Is there a command to adjust the size of the pedal marks \rheel, \lheel,
\rtoe, \ltoe?

 

Please feel free to point me to the appropriate place in the documentation.

 

I tried Google, but did not retrieve anything helpful.

 

Thanks for your help.

 

Joe Srednicki

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


RE: How do I adjust organ pedal marks vertically?

2016-02-19 Thread Joseph N. Srednicki
Phil and Pierre:

Thanks for your solutions. They both worked for me.

Joe Srednicki

-Original Message-
From: Phil Holmes [mailto:m...@philholmes.net] 
Sent: Friday, February 19, 2016 11:09 AM
To: Pierre Perol-Schneider ; Joseph N. 
Srednicki 
Cc: lilypond-user 
Subject: Re: How do I adjust organ pedal marks vertically?

Or more customisable:

\override Script.padding = #1

Pick a number that gives the appearance you want, and you can also use \once to 
apply to only the next of the pedal script marks.

--
Phil Holmes


- Original Message -
From: Pierre Perol-Schneider
To: Joseph N. Srednicki
Cc: lilypond-user
Sent: Friday, February 19, 2016 4:04 PM
Subject: Re: How do I adjust organ pedal marks vertically?


Hi Joe,


try: -\tweak outside-staff-priority #1 \rheel


Cheers,

Pierre



2016-02-19 16:50 GMT+01:00 Joseph N. Srednicki :

I am engraving the final movement of Mendelssohn’s Organ Sonata 6. This 
movement contains many slurs.

To make some slurs look decent, I must adjust them manually.

When I adjust a slur manually in the pedal part, I would also like to adjust 
the pedal mark.

See the example below where I have manually adjusted a slur.

In the second measure, Lilypond positions the \rheel mark on the second 
eighth note below the slur. What command do I use to move the \rheel mark 
upward vertically?

I assume that I could also the same command to lower a pedal mark 
vertically.

I tried to find an answer by using Google with the obvious search strings, 
but my searches did not retrieve any helpful results.

If this information is in the documentation, would someone please point me 
to the location?

Thanks.

Joe Srednicki

=
\version "2.19.35"
\language "english"

{
  \time 6/8 \clef bass

  a4.~\ltoe a4 \shape #'((-1 . 1.5) (0 . 1.5) (0 . 1.5) (0 . -0.5)) Slur 
a,8\ltoe

  (d8\rtoe e\rheel fs\rtoe g4.\rtoe) |

  g,8\ltoe (a,\lheel b,\ltoe)  b4. |
}

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user







___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user 


___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Manual bug in 2.18

2016-02-19 Thread David Kastrup
BB  writes:

> I just tried it again with 2.18
>
> \version "2.18.0"

[...]

\version "2.18.0" will throw an error when LilyPond is older than that
but it will not change the interpretation of the rest of the file.

-- 
David Kastrup

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: How do I adjust organ pedal marks vertically?

2016-02-19 Thread Simon Albrecht

On 19.02.2016 16:50, Joseph N. Srednicki wrote:

I am engraving the final movement of Mendelssohn’s Organ Sonata 6.


Just to be sure: Mendelssohn didn’t write any pedal marks, those come 
from some editor. If you want to make a ‘practical’ edition, then that’s 
fine; if you’d like to stick to what Mendelssohn wrote, you should get a 
better source.


Best, Simon

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Manual bug in 2.18

2016-02-19 Thread Simon Albrecht

On 19.02.2016 17:14, BB wrote:

I just tried it again with 2.18

\version "2.18.0"

\relative c' {

\set Staff.keySignature = #`(((0 . 6) . ,FLAT) ((0 . 5) . ,FLAT) ((0 . 
3) . ,SHARP))


c4 d e fis

aes4 bes c2

}

does not work? I think compiling with 2.18 under2.19 there is not 
really used ver. 2.18 but a converter? 


LilyPond itself doesn’t convert anything – exactly the version you 
invoked runs, and warnings are only given if the version is too _old_ in 
comparison with the \version statement. Converting syntax is done via 
convert-ly, an extra python script.

And if you indeed use v2.18, then it will work.

Best regards, Simon

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Manual bug in 2.18

2016-02-19 Thread BB

I just tried it again with 2.18

\version "2.18.0"

\relative c' {

\set Staff.keySignature = #`(((0 . 6) . ,FLAT) ((0 . 5) . ,FLAT) ((0 . 
3) . ,SHARP))


c4 d e fis

aes4 bes c2

}

does not work? I think compiling with 2.18 under2.19 there is not really 
used ver. 2.18 but a converter?


Anyway, as I know this behaviour, I can live with.

On 19.02.2016 17:06, David Kastrup wrote:

It is correct for 2.18.


___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


RE: staff-staff-spacing doesn't work

2016-02-19 Thread Luca Danieli
Ok, it seems that before I was doing something wrong the whole time, as I spent 
30 minutes trying different combinations. But actually it works without 
problems.Sorry to everybody and thanks for replying.
Cheers,Luca
From: x.sche...@gmail.com
Date: Fri, 19 Feb 2016 16:44:45 +0100
Subject: Re: staff-staff-spacing doesn't work
To: mr.luce...@hotmail.it
CC: lilypond-user@gnu.org

On 19 February 2016 at 15:41, Luca Danieli  wrote:>> Hi 
list,>> I have tried all the following codes in my script, but none of them> 
has worked. So I guess there are some problems inside my score.>> 
http://www.lilypond.org/doc/v2.18/Documentation/notation/flexible-vertical-spacing-within-systems>>
 Can someone give me some example or ideas of "what could break the> command 
staff-staff-spacing" so to have a starting point from which> beginning 
analyzing my score?
Hi,
If you only have one staff in your system then modifysystem-system-spacing 
instead.
Apparently this is a common "misconception" on the French users mailinglist. 
Maybe this is here too. But this is just a guess, since you donot provide code 
showing your problem.
Cheers,Xavier
-- Xavier Scheuer 
  ___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: How do I adjust organ pedal marks vertically?

2016-02-19 Thread Phil Holmes

Or more customisable:

\override Script.padding = #1

Pick a number that gives the appearance you want, and you can also use \once 
to apply to only the next of the pedal script marks.


--
Phil Holmes


- Original Message - 
From: Pierre Perol-Schneider

To: Joseph N. Srednicki
Cc: lilypond-user
Sent: Friday, February 19, 2016 4:04 PM
Subject: Re: How do I adjust organ pedal marks vertically?


Hi Joe,


try: -\tweak outside-staff-priority #1 \rheel


Cheers,

Pierre



2016-02-19 16:50 GMT+01:00 Joseph N. Srednicki :

I am engraving the final movement of Mendelssohn’s Organ Sonata 6. This 
movement contains many slurs.


To make some slurs look decent, I must adjust them manually.

When I adjust a slur manually in the pedal part, I would also like to adjust 
the pedal mark.


See the example below where I have manually adjusted a slur.

In the second measure, Lilypond positions the \rheel mark on the second 
eighth note below the slur. What command do I use to move the \rheel mark 
upward vertically?


I assume that I could also the same command to lower a pedal mark 
vertically.


I tried to find an answer by using Google with the obvious search strings, 
but my searches did not retrieve any helpful results.


If this information is in the documentation, would someone please point me 
to the location?


Thanks.

Joe Srednicki

=
\version "2.19.35"
\language "english"

{
 \time 6/8 \clef bass

 a4.~\ltoe a4 \shape #'((-1 . 1.5) (0 . 1.5) (0 . 1.5) (0 . -0.5)) Slur 
a,8\ltoe


 (d8\rtoe e\rheel fs\rtoe g4.\rtoe) |

 g,8\ltoe (a,\lheel b,\ltoe)  b4. |
}

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user







___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user 



___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Manual bug in 2.18

2016-02-19 Thread David Kastrup
BB  writes:

> In the old manual 2.18 the line in the example is wrong?
>
> \set Staff.keySignature = #`(((0 . 6) . ,FLAT) ((0 . 5) . ,FLAT) ((0
> . 3) . ,SHARP))
>
> I do not know if an "old" manual will be corrected?

It is correct for 2.18.

> In manual 2.19 it is correct - see below. Works correct with 2.18 as
> well.

No, it doesn't.

keySignature has been renamed to keyAlterations in version 2.19.7.

-- 
David Kastrup

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: How do I adjust organ pedal marks vertically?

2016-02-19 Thread Pierre Perol-Schneider
Hi Joe,

try: -\tweak outside-staff-priority #1 \rheel

Cheers,
Pierre

2016-02-19 16:50 GMT+01:00 Joseph N. Srednicki :

> I am engraving the final movement of Mendelssohn’s Organ Sonata 6. This
> movement contains many slurs.
>
>
>
> To make some slurs look decent, I must adjust them manually.
>
>
>
> When I adjust a slur manually in the pedal part, I would also like to
> adjust the pedal mark.
>
>
>
> See the example below where I have manually adjusted a slur.
>
>
>
> In the second measure, Lilypond positions the \rheel mark on the second
> eighth note below the slur. What command do I use to move the \rheel mark
> upward vertically?
>
>
>
> I assume that I could also the same command to lower a pedal mark
> vertically.
>
>
>
> I tried to find an answer by using Google with the obvious search strings,
> but my searches did not retrieve any helpful results.
>
>
>
> If this information is in the documentation, would someone please point me
> to the location?
>
>
>
> Thanks.
>
>
>
> Joe Srednicki
>
>
>
> =
>
> \version "2.19.35"
>
> \language "english"
>
>
>
> {
>
>   \time 6/8 \clef bass
>
>
>
>   a4.~\ltoe a4 \shape #'((-1 . 1.5) (0 . 1.5) (0 . 1.5) (0 . -0.5)) Slur
> a,8\ltoe
>
>
>
>   (d8\rtoe e\rheel fs\rtoe g4.\rtoe) |
>
>
>
>   g,8\ltoe (a,\lheel b,\ltoe)  b4. |
>
> }
>
> ___
> lilypond-user mailing list
> lilypond-user@gnu.org
> https://lists.gnu.org/mailman/listinfo/lilypond-user
>
>
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


How do I adjust organ pedal marks vertically?

2016-02-19 Thread Joseph N. Srednicki
I am engraving the final movement of Mendelssohn's Organ Sonata 6. This
movement contains many slurs.

 

To make some slurs look decent, I must adjust them manually. 

 

When I adjust a slur manually in the pedal part, I would also like to adjust
the pedal mark.

 

See the example below where I have manually adjusted a slur. 

 

In the second measure, Lilypond positions the \rheel mark on the second
eighth note below the slur. What command do I use to move the \rheel mark
upward vertically?

 

I assume that I could also the same command to lower a pedal mark
vertically.

 

I tried to find an answer by using Google with the obvious search strings,
but my searches did not retrieve any helpful results. 

 

If this information is in the documentation, would someone please point me
to the location?

 

Thanks.

 

Joe Srednicki

 

=

\version "2.19.35"

\language "english"

 

{

  \time 6/8 \clef bass

 

  a4.~\ltoe a4 \shape #'((-1 . 1.5) (0 . 1.5) (0 . 1.5) (0 . -0.5)) Slur
a,8\ltoe  

  

  (d8\rtoe e\rheel fs\rtoe g4.\rtoe) |

  

  g,8\ltoe (a,\lheel b,\ltoe)  b4. |

}

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: staff-staff-spacing doesn't work

2016-02-19 Thread Xavier Scheuer
On 19 February 2016 at 15:41, Luca Danieli  wrote:
>
> Hi list,
>
> I have tried all the following codes in my script, but none of them
> has worked. So I guess there are some problems inside my score.
>
>
http://www.lilypond.org/doc/v2.18/Documentation/notation/flexible-vertical-spacing-within-systems
>
> Can someone give me some example or ideas of "what could break the
> command staff-staff-spacing" so to have a starting point from which
> beginning analyzing my score?

Hi,

If you only have one staff in your system then modify
system-system-spacing instead.

Apparently this is a common "misconception" on the French users mailing
list. Maybe this is here too. But this is just a guess, since you do
not provide code showing your problem.

Cheers,
Xavier

-- 
Xavier Scheuer 
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Manual bug in 2.18

2016-02-19 Thread BB

In the old manual 2.18 the line in the example is wrong?

\set Staff.keySignature = #`(((0 . 6) . ,FLAT) ((0 . 5) . ,FLAT) ((0 . 
3) . ,SHARP))


I do not know if an "old" manual will be corrected?

In manual 2.19 it is correct - see below. Works correct with 2.18 as well.

http://lilypond.org/doc/v2.19/Documentation/notation/arabic-music

Here is an example of a possible key signature for generating a 
whole-tone scale:


\version "2.19.2"

\relative c' {

\set Staff.keyAlterations = #`(((0 . 6) . ,FLAT)

((0 . 5) . ,FLAT)

((0 . 3) . ,SHARP))

c4 d e fis

aes4 bes c2

}

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: staff-staff-spacing doesn't work

2016-02-19 Thread David Nalesnik
Hi Luca,

On Fri, Feb 19, 2016 at 8:41 AM, Luca Danieli  wrote:

> Hi list,
>
> I have tried all the following codes in my script, but none of them has
> worked. So I guess there are some problems inside my score.
>
>
> http://www.lilypond.org/doc/v2.18/Documentation/notation/flexible-vertical-spacing-within-systems
>
> Can someone give me some example or ideas of "what could break the command
> staff-staff-spacing" so to have a starting point from which beginning
> analyzing my score?
>
>
Perhaps you are using values which are too small to override the default
vertical spacing.  Try using really large numbers as an experiment.   Or,
it could be something as simple as misspelling.

It would be easy for the list to diagnose the problem if you would provide
a code example illustrating your difficulty.  There's a good chance that
when cutting it down to be concise you will find the solution yourself!

Best,
David
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


staff-staff-spacing doesn't work

2016-02-19 Thread Luca Danieli
Hi list,
I have tried all the following codes in my script, but none of them has worked. 
So I guess there are some problems inside my score.
http://www.lilypond.org/doc/v2.18/Documentation/notation/flexible-vertical-spacing-within-systems
Can someone give me some example or ideas of "what could break the command 
staff-staff-spacing" so to have a starting point from which beginning analyzing 
my score?
Luca  ___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Multi-rest with automatic bar number before and after it

2016-02-19 Thread David Kastrup
Thomas Morley  writes:

[...]

>\markup
>  \center-column {
>#(number->string mmr-length)
>%% value found by try and error
>\translate #'(0 . -7.5)
>\with-dimensions #empty-interval #empty-interval
>\halign #CENTER
>\line
>#(list (number->string currentBarNumber)
> " - "
> (number->string (1- (+ currentBarNumber mmr-length
>  }

Since the content is purely text, \translate should likely rather be
\translate-scaled (which takes potential changes of fontSize into
account).

-- 
David Kastrup

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user