[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: strut problem
From: |
David Kastrup |
Subject: |
Re: strut problem |
Date: |
Thu, 17 Nov 2022 18:46:26 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) |
Werner LEMBERG <wl@gnu.org> writes:
> Consider this input.
>
> ```
> \version "2.23.81"
>
> #(define-markup-command (strut layout props)
> ()
> #:properties ((baseline-skip))
> (ly:make-stencil ""
> empty-interval
> (cons (* -0.3 baseline-skip)
> (* 0.7 baseline-skip))))
>
> {
> \override TextScript.show-horizontal-skylines = ##t
> e'4^\markup { "a" }
> e'4^\markup \concat { \strut "a" }
> }
> ```
>
> Why is the vertical extent of the strut ignored?
It isn't ignored. It's just not part of the outlines/skylines.
Try
\version "2.23.81"
#(define-markup-command (strut layout props)
()
#:properties ((baseline-skip))
(make-transparent-box-stencil
empty-interval
(cons (* -0.3 baseline-skip)
(* 0.7 baseline-skip))))
{
\override TextScript.show-horizontal-skylines = ##t
e'4^\markup { "a" }
e'4^\markup \concat { \strut "a" }
}
--
David Kastrup
- Re: strut problem, (continued)
- Re: strut problem, Jean Abou Samra, 2022/11/18
- Re: strut problem, Werner LEMBERG, 2022/11/18
- Re: strut problem, Jean Abou Samra, 2022/11/18
- Re: strut problem,Re: strut problem, Werner LEMBERG, 2022/11/18
- Re: strut problem, Jean Abou Samra, 2022/11/18
- Re: strut problem,Re: strut problem, Werner LEMBERG, 2022/11/18
- Re: strut problem,Re: strut problem, Jean Abou Samra, 2022/11/18
- Re: strut problem,Re: strut problem,Re: strut problem,Re: strut problem, Werner LEMBERG, 2022/11/19
- Re: strut problem,Re: strut problem,Re: strut problem,Re: strut problem, David Kastrup, 2022/11/18
- Re: strut problem,Re: strut problem,Re: strut problem,Re: strut problem, Werner LEMBERG, 2022/11/18
Re: strut problem,
David Kastrup <=