Hi all,
thank you for your suggestions. I've implemented Aaron's
solution, which seemed to be the most natural and semantically
appropriate for my use case. The results seem sufficient too (see
attachment).
Best
Urs
Am 15.10.19 um 13:18 schrieb Pierre
Perol-Schneider:
Hi Urs a,d Aaron,
Simply:
\markup {
\underline
\override #'(offset . 6)\underline
"Lorem ipsum"
\override #'(offset . 5)\underline
\override #'(offset . 10)\underline
"dolor sit amet"
}
Works too. However, lines length are not equals, even in
Aaron's coding.
HTH,
Cheers,
Pierre
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_______________________________________________
lilypond-user mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/lilypond-user
_______________________________________________
lilypond-user mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/lilypond-user
|