lilypond-user
[Top][All Lists]
Advanced

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

Re: markup free positioning?


From: Felix Hammer
Subject: Re: markup free positioning?
Date: Mon, 23 Jan 2006 11:52:52 +0100
User-agent: KMail/1.9

Am Sonntag, 22. Januar 2006 21:24 schrieb Han-Wen Nienhuys:
> Please keep discussion on the list.
>
> try
>
>
> #(def-markup-command (with-dimensions layout props x y arg)
> (number-pair? number-pair? markup?)
>    "Set the dimensions of @var{arg} to @var{x} and @var{y}."
>
>    (let* ((m (interpret-markup layout props arg)))
>      (ly:make-stencil (ly:stencil-expr m) x y)))
>
> {
>    c^\markup { \with-dimensions #'(1000 . -1000) #'(1000 . -1000) \bla }
> }
>
Thx Han for answer. Sry but i didnt undertand to use this. 

I tried this last with different values for \with-dimension
____________________________________________________
\version "2.6.4"

#(def-markup-command (with-dimensions layout props x y arg)
(number-pair? number-pair? markup?)
        "Set the dimensions of @var{arg} to @var{x} and @var{y}."
(let* ((m (interpret-markup layout props arg)))
        (ly:make-stencil (ly:stencil-expr m) x y)))

\book {
        \markup { "abc" }
        \score {
        << 
        \new Staff { 
        d4^\markup { \with-dimensions #'(10 . -20) #'(10 . -20) "bla" } e f g
        }
        >>
        }
        \markup { \with-dimensions #'(10 . -20) #'(10 . -20) "bla" }
} 
_____________________________________________________

"bla" did not appear. what i'am doing wrong?

Felix

        

        
                
___________________________________________________________ 
Telefonate ohne weitere Kosten vom PC zum PC: http://messenger.yahoo.de





reply via email to

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