[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Reduces algorithm time by prefinding footnoted grobs (issue4213042)
From: |
Neil Puttock |
Subject: |
Re: Reduces algorithm time by prefinding footnoted grobs (issue4213042) |
Date: |
Sat, 26 Feb 2011 18:11:43 +0000 |
On 25 February 2011 22:53, <address@hidden> 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