Re: Guitar palm mutes - almost done

2018-01-07 Thread Neo Anderson
Thanks a lot. I followed your suggestion for the extender lines and it solved 
the issue.

BTW, I have completed the PM snippet and it works nicely. I'll share it after I 
have it tested some more. 
Anyone interested?


On Monday, January 1, 2018 11:25 AM, Malte Meyn  
wrote:
 

 

Am 31.12.2017 um 17:20 schrieb Neo Anderson:
> 1. How to change the look of the extender lines (dashes)? I'd like them 
> to be more dense or compact. The following -\tweaks with various values 
> won't make a difference.
>      -\tweak bound-details.dash-fraction #0
>      -\tweak bound-details.dash-period #0

You’re almost there: omit the bound-details, i. e.

-\tweak dash-fraction #0
-\tweak dash-period #0

> 2. The following code, which sets both variables on the same "line",
>      \override TextScript.staff-padding = #6
> creates a padding for both text in a variable ("PM") and any other text 
> attached to a note ("Aaa").
> How to integrate the code into the said variable, so that the padding 
> won't affect the text attached to notes? I tried
>      \override #'(staff-padding . 6)
> but it doesn't do anything.

PM = -\tweak staff-padding #6
      _\markup  {
        \tiny \fontsize #-1 \halign #-0.5 "P.M."
      }

and then use it as d\PM instead of d_\PM

___
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: Guitar palm mutes - almost done

2018-01-01 Thread Malte Meyn



Am 31.12.2017 um 17:20 schrieb Neo Anderson:
1. How to change the look of the extender lines (dashes)? I'd like them 
to be more dense or compact. The following -\tweaks with various values 
won't make a difference.

     -\tweak bound-details.dash-fraction #0
     -\tweak bound-details.dash-period #0


You’re almost there: omit the bound-details, i. e.

-\tweak dash-fraction #0
-\tweak dash-period #0


2. The following code, which sets both variables on the same "line",
     \override TextScript.staff-padding = #6
creates a padding for both text in a variable ("PM") and any other text 
attached to a note ("Aaa").
How to integrate the code into the said variable, so that the padding 
won't affect the text attached to notes? I tried

     \override #'(staff-padding . 6)
but it doesn't do anything.


PM = -\tweak staff-padding #6
 _\markup  {
   \tiny \fontsize #-1 \halign #-0.5 "P.M."
 }

and then use it as d\PM instead of d_\PM

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