lilypond-user
[Top][All Lists]
Advanced

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

Re: Double-underline markup


From: Aaron Hill
Subject: Re: Double-underline markup
Date: Tue, 15 Oct 2019 02:38:57 -0700
User-agent: Roundcube Webmail/1.3.8

On 2019-10-15 12:47 am, Urs Liska wrote:
Hi all,

is there an easy or already-implemented way to have a markup
double-underlined, or do I have to draw that manually?

It's not exactly perfect, but you can \underline an \underline:

%%%%
\version "2.19.83"

#(define-markup-command (double-underline layout props args)
  (markup?) #:properties ((offset 2) (gap 3))
  (interpret-markup layout props
    (markup #:override (cons 'offset (+ offset gap)) #:underline
            #:override (cons 'offset offset) #:underline args)))

\markup {
  \double-underline "Lorem ipsum"
  \override #'(offset . 4) \override #'(gap . 5)
  \double-underline "dolor sit amet"
}
%%%%


-- Aaron Hill

Attachment: double-underline.cropped.png
Description: PNG image


reply via email to

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