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



_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to