Re: Does 'strut' command work in LilyPond?

2014-03-30 Thread Karol Majewski
OK, so the question is: Is there a way to create box that has height of total font height? By total font height I mean the distance between bottom bearing line and top bearing line (see http://www.myfirstfont.com/images/glyphterms.gif). The idea is of course to have constant height of box,

Re: Does 'strut' command work in LilyPond?

2014-03-30 Thread Thomas Morley
2014-03-30 0:35 GMT+01:00 Karol Majewski karo...@wp.pl: According to: http://www.lilypond.org/doc/v2.19/Documentation/notation/other \strut Create a box of the same height as the space in the current font. So \markup { \strut \box . } \markup { \strut \box bp } should draw a box with

Re: Does 'strut' command work in LilyPond?

2014-03-30 Thread Karol Majewski
Very nice workaround! For Cental Europe languages it's better to replace fp with, let's say, Śp. 2014-03-30 0:35 GMT+01:00 Karol Majewski karo...@wp.pl: According to: http://www.lilypond.org/doc/v2.19/Documentation/notation/other \strut Create a box of the same height as the space in

Re: Does 'strut' command work in LilyPond?

2014-03-30 Thread Kieren MacMillan
Hi all, Very nice workaround! +1 For Cental Europe languages it's better to replace fp with, let's say, Śp”. When, oh when, will we get real text handling (e.g., leading) in Lilypond? Cheers, Kieren. ___ lilypond-user mailing list

Re: Does 'strut' command work in LilyPond?

2014-03-29 Thread Conor Cook
In what order should \strut come? Does it require curly braces? ~Conor Cook On Mar 29, 2014, at 6:35 PM, Karol Majewski karo...@wp.pl wrote: According to: http://www.lilypond.org/doc/v2.19/Documentation/notation/other \strut Create a box of the same height as the space in the current

Re: Does 'strut' command work in LilyPond?

2014-03-29 Thread David Kastrup
Karol Majewski karo...@wp.pl writes: According to: http://www.lilypond.org/doc/v2.19/Documentation/notation/other \strut Create a box of the same height as the space in the current font. So \markup { \strut \box . } \markup { \strut \box bp } should draw a box with constant height.

Re: Does 'strut' command work in LilyPond?

2014-03-29 Thread Karol Majewski
I tried different order, but it didn't work. Could you please give an example of how to use 'strut' properly? Dnia 30-03-2014 o godz. 0:57 David Kastrup napisał(a): Karol Majewski karo...@wp.pl writes: According to: http://www.lilypond.org/doc/v2.19/Documentation/notation/other

Re: Does 'strut' command work in LilyPond?

2014-03-29 Thread Conor Cook
Would it be: \markup { \box { \strut “.” } } or \markup { \strut { \box “.” } } ? I’m just taking a shot in the dark. I’ve not seen \strut before. ~Conor Cook On Mar 29, 2014, at 7:04 PM, Karol Majewski karo...@wp.pl wrote: I tried different order, but it didn't work. Could you please

Re: Does 'strut' command work in LilyPond?

2014-03-29 Thread Kieren MacMillan
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 }

Re: Does 'strut' command work in LilyPond?

2014-03-29 Thread Kieren MacMillan
p.s. \line and \concat have no effect. On Mar 29, 2014, at 8:26 PM, Kieren MacMillan kieren_macmil...@sympatico.ca wrote: 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

Re: Does 'strut' command work in LilyPond?

2014-03-29 Thread Conor Cook
Does \strut simply produce a font-sized box, meant to have nothing in it? ~Conor Cook On Mar 29, 2014, at 7:29 PM, Kieren MacMillan kieren_macmil...@sympatico.ca wrote: p.s. \line and \concat have no effect. On Mar 29, 2014, at 8:26 PM, Kieren MacMillan kieren_macmil...@sympatico.ca

Re: Does 'strut' command work in LilyPond?

2014-03-29 Thread David Kastrup
Kieren MacMillan kieren_macmil...@sympatico.ca 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

Re: Does 'strut' command work in LilyPond?

2014-03-29 Thread Kieren MacMillan
Hi David, 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 “. That also doesn’t work as expected — the first box should be taller, right? Cheers, Kieren.

Re: Does 'strut' command work in LilyPond?

2014-03-29 Thread David Kastrup
Kieren MacMillan kieren_macmil...@sympatico.ca writes: Hi David, 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 “. That also doesn’t work as expected — the first box