On 25 February 2011 22:53, <mts...@gmail.com> wrote: > On 2011/02/25 20:37:37, Neil Puttock wrote: >> >> This reinvents the wheel a bit. :) > >> (define-markup-command (draw-hline layout props) >> () >> #:category graphic >> #:properties ((draw-line-markup) >> (line-width)) >> (interpret-markup layout props (make-draw-line-markup (cons > > line-width 0)))) > >> Needs a more descriptive name if possible. > > I'm using hline from LaTeX.
Ah, OK. > Is there a way from inside a \markup { } to access the line width? If > so, I'll scrap this and define it that way. I don't think so; you can't define a markup command which simply returns a value from props. Cheers, Neil _______________________________________________ lilypond-devel mailing list lilypond-devel@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-devel