[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Aligning "sempre pp" with "p"...
From: |
Reinhold Kainhofer |
Subject: |
Re: Aligning "sempre pp" with "p"... |
Date: |
Sun, 10 Feb 2008 19:29:22 +0100 |
User-agent: |
KMail/1.9.6 |
Am Sonntag, 10. Februar 2008 schrieben Sie:
> Hi Reinhold,
>
> > What I'm looking for is to align the pp of "sempre pp" with the
> > note it is attached to.
>
> \once \override DynamicText #'X-offset = #...
Oops, my bad. I should have tried that and not discarded that thought without
further investigation. I had a knot in my brain and thought that simply
shifting would break with different staff sizes, but of course the shift is
relativ to the staff size, too, so it works independent of the particular
staff size...
Now, I'm only looking for a way to set this property directly inside my \sempp
function, so that one does not need to add the \once\override manually
whenever one uses \sempp.
I could have used something like this already in lots of places, where I need
to apply the same adjustment to some markup/dynamics, but can't set it
globally. Is there a way to do this?
Btw, Trevor's solution almost works in this regard, with the only problem that
another dynamic text on the next note is shifted down, because the \hspace is
still in effect... (see attached file)
Cheers,
Reinhold
--
------------------------------------------------------------------
Reinhold Kainhofer, Vienna University of Technology, Austria
email: address@hidden, http://reinhold.kainhofer.com/
* Financial and Actuarial Mathematics, TU Wien, http://www.fam.tuwien.ac.at/
* K Desktop Environment, http://www.kde.org, KOrganizer maintainer
* Chorvereinigung "Jung-Wien", http://www.jung-wien.at/
semprepp_alignment.ly
Description: Text document
semprepp_alignment.pdf
Description: Adobe PDF document
Re: Aligning "sempre pp" with "p"...,
Reinhold Kainhofer <=