lilypond-user
[Top][All Lists]
Advanced

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

Moving objects using "wrong" extent --- a question, valid solution neede


From: Dmytro O. Redchuk
Subject: Moving objects using "wrong" extent --- a question, valid solution needed!
Date: Mon, 17 May 2010 13:57:51 +0300
User-agent: Mutt/1.5.20 (2009-06-14)

Hi!

I've found that it's possible to move objects (scripts, dynamics..) with
"wrong" Y-offset so that they start to overlay other objects --- specifying
Y-offset like #'(1 . -1) or like that *) :

% ----------------- 8< ---------------------------

byte = { c \> c c c \! \break }

\relative c''' {
  \byte
  %
  \override DynamicLineSpanner #'Y-extent = #'(1 . -1)
  \override DynamicLineSpanner #'Y-offset = #0
  \byte
  %
  \override DynamicLineSpanner #'Y-extent = #'(1 . 0)
  \override DynamicLineSpanner #'Y-offset = #3.141592653589793
  \byte
  %
  \override DynamicLineSpanner #'Y-extent = #'(0 . -10)
  \override DynamicLineSpanner #'Y-offset = #-4
  \byte
}
\addlyrics {
  la la la la la la la la la la la la la la la la
}

\paper {
  ragged-right = ##t
  indent = 0
  between-system-spacing = #'((space . 16))
}

% ----------------- 8< ---------------------------

So, now "i have a lot of questions", specifically:
 1. Is it "valid" way? May this behavior be changed?
 2. Which way would be more "valid"?

I need something like this to "mimic" some author's manuscripts for some
specific purpose. So would be glad to get any feedback.

Thanks!

_________
 *) currently if any extent, upper or lower, is "invalid" it's enough; number
    may be any of [1 .. +inf), it does not matter.

-- 
  Dmytro O. Redchuk

Attachment: movingObjects.png
Description: PNG image


reply via email to

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