[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Does 'strut' command work in LilyPond?
From: |
David Kastrup |
Subject: |
Re: Does 'strut' command work in LilyPond? |
Date: |
Sun, 30 Mar 2014 03:12:06 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.4.50 (gnu/linux) |
Kieren MacMillan <address@hidden> writes:
> Hi David,
>
>> Huh? You are not placing the \strut inside of the box, so why should
>> the box' height be affected?
>
> It appears that putting \strut inside the box doesn’t actually change
> the box’s height:
>
> \version "2.19"
> \include "english.ly"
>
> \markup \box { \strut "." }
> \markup \box { \strut "bp" }
\box only gets a single markup. If you give it a list, it will make a
box for each element. So you have to use \line. It turns out that
\strut has a non-empty horizontal extent, a somewhat annoying property
which we should try to replace. So we need to use \concat instead of
\line.
\version "2.19"
\include "english.ly"
\markup \box \concat { \strut "." }
\markup \box \concat { \strut "bp" }
\markup \box "."
--
David Kastrup
- Does 'strut' command work in LilyPond?, Karol Majewski, 2014/03/29
- Re: Does 'strut' command work in LilyPond?, Conor Cook, 2014/03/29
- Re: Does 'strut' command work in LilyPond?, David Kastrup, 2014/03/29
- Re: Does 'strut' command work in LilyPond?, Karol Majewski, 2014/03/29
- Re: Does 'strut' command work in LilyPond?, Kieren MacMillan, 2014/03/29
- Re: Does 'strut' command work in LilyPond?,
David Kastrup <=
- Re: Does 'strut' command work in LilyPond?, Kieren MacMillan, 2014/03/29
- Re: Does 'strut' command work in LilyPond?, David Kastrup, 2014/03/29
- Re: Does 'strut' command work in LilyPond?, Karol Majewski, 2014/03/30
Re: Does 'strut' command work in LilyPond?, Thomas Morley, 2014/03/30