lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: vertical space..under the staff


From: Paul Malcolm
Subject: Re: vertical space..under the staff
Date: Sat, 15 Jun 2013 22:50:47 +0930

Hi David, thanks. That was a silly error in my post. 
I did try the _ and it didn't work. 
In frustration I changed it to a ^ to see if changing the padding worked only 
in one direction

Keeping it this way 

c4.\DB^\markup{\center-align \larger \triangle ##t}

I used this standard function 

padText =
#(define-music-function (parser location padding) (number?)
  #{
    \once \override TextScript #'padding = #$padding
  #})
Using this certainly changed padding for symbols like an upbow and a 
downbow but the position of the triangle was invariant.
I'm not sure if one could use a negative quantity for this pad function but that 
didn't work either. 
Maybe the the triangle is some other object that does not belong to 
"TextScript" but some other named group of objects ?

What Id like is, with 

c4.\DB_\markup{\center-align \larger \triangle ##t}

the triangle to be a fixed distance below the stave that I can choose. 
I looked at the manual but couldn't find anything, perhaps its a non standard 
thing to do. 

Paul 







On 15/06/13, David Nalesnik <address@hidden> wrote:
Hi Paul,


On Sat, Jun 15, 2013 at 6:49 AM, Paul Malcolm <address@hidden> wrote:

Most of the offsets and padding for objects seem to be for above the staff. 
I would like to display a filled square and triangle for indications of 5/8  
time beat groupings, but I want them underneath the staff.  
For example under the given C note

c4.\DB^\markup{\center-align \larger \triangle ##t}

Is there please some way to control and fix and offset (below) the staff 
for this triangle ? 


The problem here is simply that you're using the caret, which indicates that the markup should be placed above.  Replace "^" with "_" and the overrides will work as you expect.

--David 

reply via email to

[Prev in Thread] Current Thread [Next in Thread]