markup-command boxing the real printed ink?

2021-04-20 Thread Thomas Morley
Hi all, consider: \markup \override #'(box-padding . 0) \box \fontsize #15 \musicglyph #"f" The bounding box of the forte-sign does not describe its real printed ink and thus it sticks out of \box. While this is on purpose and fine in almost all cases, I want to define a markup-command boxing

Re: markup-command boxing the real printed ink?

2021-04-20 Thread Valentin Petzel
Hello Harm, This is probably quite hard to do. Basically the problem here is that Lilypond does not in fact know the actual extent of the stencil. So to get that you’d somehow need to draw the stencil. So eighter you’d need to implement a custom drawing routine for "drawing" stencils within Lil

Re: markup-command boxing the real printed ink?

2021-04-20 Thread David Kastrup
Valentin Petzel writes: > Hello Harm, > > This is probably quite hard to do. Basically the problem here is that > Lilypond does not in fact know the actual extent of the stencil. So to > get that you’d somehow need to draw the stencil. So eighter you’d need > to implement a custom drawing routine

Re: markup-command boxing the real printed ink?

2021-04-20 Thread Thomas Morley
Am Di., 20. Apr. 2021 um 15:45 Uhr schrieb David Kastrup : > > Valentin Petzel writes: > > > Hello Harm, > > > > This is probably quite hard to do. Basically the problem here is that > > Lilypond does not in fact know the actual extent of the stencil. So to > > get that you’d somehow need to draw

Re: markup-command boxing the real printed ink?

2021-04-20 Thread Thomas Morley
Am Di., 20. Apr. 2021 um 16:39 Uhr schrieb Thomas Morley : > > Am Di., 20. Apr. 2021 um 15:45 Uhr schrieb David Kastrup : > > > > Valentin Petzel writes: > > > > > Hello Harm, > > > > > > This is probably quite hard to do. Basically the problem here is that > > > Lilypond does not in fact know the

Re: markup-command boxing the real printed ink?

2021-04-20 Thread Valentin Petzel
Hello David, That is a very different thing. with-outline simply tells the outputter to use a different stencil for calculating the skylines of a stencil. The problem here is that Lilypond relies on the stencil basically telling it’s extent. The problem Harm has is that this extent might be sma

Re: markup-command boxing the real printed ink?

2021-04-20 Thread Jean Abou Samra
Le 20/04/2021 à 16:59, Valentin Petzel a écrit : Hello David, That is a very different thing. with-outline simply tells the outputter to use a different stencil for calculating the skylines of a stencil. The problem here is that Lilypond relies on the stencil basically telling it’s extent. The

Re: Center align Bar numbers to first note in first measures on new lines

2021-04-20 Thread Jean Abou Samra
Le 20/04/2021 à 14:22, F M a écrit : Centering a stencil on another stencil (unimi.it) Centering markup on note heads automatically (unimi.it) I also found these two snippets in the repository, perhaps they c

Re: markup-command boxing the real printed ink?

2021-04-20 Thread Valentin Petzel
Hm, you’re right. But if you replace this by something directly drawn with PostScript commands, you’ll see that Lilypond does not have any idea about what’s there. So I guess Lilypond is able to handle stencil it knows very well. And yes, Skylines are a concept of Lilypond, but Lilypond does no

Re: markup-command boxing the real printed ink?

2021-04-20 Thread David Kastrup
Valentin Petzel writes: > Hm, you’re right. But if you replace this by something directly drawn with > PostScript commands, you’ll see that Lilypond does not have any idea about > what’s there. About what's *there*. Namely in images drawn by *user-written* PostScript code. > So I guess Lilyp

Noob can't make 2nd stanza lyrics

2021-04-20 Thread Stephane Krims
Hi all, I'm trying to make a vocal chart for a folk tune, but can't seem to figure out how to make the 2nd stanza appear. I'm reticent about attaching the file here due to intellectual property concerns, but i've attached another file with the layout of what i've come up with so far. I've used

re: Noob can't make 2nd stanza lyrics

2021-04-20 Thread Remy CLAVERIE
Hi Stéphane,   I think you need to have several Lyrics like :   altoWords_A = \lyricmode {     \set stanza = "1. "   % 1st verse and chorus }   altoWords_B = \lyricmode {     \set stanza = "2. "   % 2nd verse and chorus }   altoWords_C = \lyricmode {     \set stanza = "3. "   % 3rd verse