Empty chord construct and \break.

2024-04-27 Thread Hwaen Ch'uqi
Greetings,

I am trying to typeset a stack of spoken lines above a multimeasure rest.
This works fine when preceded by notes in the same system. However, when it
follows a forced break, the output is not so desirable. Can anyone explain
what I am missing? MWE below.

\version "2.24.3"

\score {
  \new Staff = contrabass {
\relative c' {
  \key des \major \time 3/4 \clef bass
  des,2. %!
  des %2
  des %3
  des %4
  \break
\textLengthOn
<>^\markup \override #'(line-width . 66) \override #'(baseline-skip . 2.3)
\wordwrap { But enough with introductions. You are no doubt here to learn
about a most difficult episode in the life of our Katz. It was during a
particular night of fitful sleep that our beloved Katzlein finally slipped
into Traumland, and it is there where our story begins. }
R2.\fermata%29
\textLengthOff
}
  }
}

Thank you so much.

Hwaen Ch'uqi


Re: slur cross staves

2024-04-27 Thread Robert Garrigos
Thanks, Knuite, this helped me a lot.

Robert.

> El 27 abr. 2024, a les 1:07, Knute Snortum  va escriure:
> 
> On Fri, Apr 26, 2024 at 2:57 PM Robert Garrigos  > wrote:
>> This is the original music to copy:
>> 
>> 
>> 
>> I have this:
>> 
>> <<
>> {
>>   \change Staff = "upper" \set tieWaitForNote = ##t
>>   \grace {cs'4_~ fs_~ cs'~ s4}  1^\fermata
>> }
>> \\
>> {
>>   \set tieWaitForNote = ##t
>>   \grace { fs,,4~^\pp\sustainOn cs'~ as'^~ s4*4}  > as'>1_\fermata
>> }
>>   >>
> 
> Thanks for including some example code, however, what you posted doesn't 
> produce the output you show.  So I went back to my original code.  I put a 
> slur in the upper grace notes, then used the \shape command to manipulate the 
> slur.  I wasn't able to get the end of the slur to go into the lower staff, 
> but it's close.  Maybe someone else can improve on it.
> 
> \version "2.24.3"
> 
> rightHand = \relative {
>   \set tieWaitForNote = ##t
>   \shape #'((-5 . -7.5) (-4 . 0) (0 . 0) (0 . 0)) Slur
>   \grace { c'4~^( g'~ c~) } 1
> }
> 
> leftHand = \relative {
>   \clef bass
>   \set tieWaitForNote = ##t
>   \grace { f,4~ c'~ a'~ s4 * 3 } 1
> }
> 
> \score {
>   \new PianoStaff <<
> \new Staff = "upper" \rightHand
> \new Staff = "lower" \leftHand
>   >>
> }
> 
> 
> --
> Knute Snortum
> 
> 
> 



Re: Transparent box around notes

2024-04-27 Thread Paolo Prete
Note that there's also this (no trial-and-error):

https://lists.gnu.org/archive/html/lilypond-user/2015-01/msg00142.html

But it doesn't compile with 2.24...

On Sat, Apr 27, 2024 at 2:20 PM Paolo Prete  wrote:

> Thanks for the tip, but unfortunately it doesn't seem to fit what I'm
> looking for.
> Looking for example at
> https://lsr.di.unimi.it/LSR/Search?q=background+%7C+colorspan , the box
> coordinates must be calculated with a trial and error procedure, which is
> pretty tedious.
>
> Cheers,
> P
>
> On Sat, Apr 27, 2024 at 12:17 PM Robin Bannister  wrote:
>
>> Paolo Prete wrote:
>> > Something like:
>> >
>> > \coloredBox color offsLeft offsTop offsRight offsBottom "labelstring"
>> > labeldirection { c' e' f' }
>> >
>> > Many thanks for your help!
>> > Paolo
>>
>>
>> This may get you started:
>>
>> https://lsr.di.unimi.it/LSR/Search?q=background+%7C+colorspan
>>
>>
>> Cheers,
>> Robin
>>
>


Re: Transparent box around notes

2024-04-27 Thread Paolo Prete
Thanks for the tip, but unfortunately it doesn't seem to fit what I'm
looking for.
Looking for example at
https://lsr.di.unimi.it/LSR/Search?q=background+%7C+colorspan , the box
coordinates must be calculated with a trial and error procedure, which is
pretty tedious.

Cheers,
P

On Sat, Apr 27, 2024 at 12:17 PM Robin Bannister  wrote:

> Paolo Prete wrote:
> > Something like:
> >
> > \coloredBox color offsLeft offsTop offsRight offsBottom "labelstring"
> > labeldirection { c' e' f' }
> >
> > Many thanks for your help!
> > Paolo
>
>
> This may get you started:
>
> https://lsr.di.unimi.it/LSR/Search?q=background+%7C+colorspan
>
>
> Cheers,
> Robin
>


Re: Transparent box around notes

2024-04-27 Thread Robin Bannister

Paolo Prete wrote:

Something like:

\coloredBox color offsLeft offsTop offsRight offsBottom "labelstring"
labeldirection { c' e' f' }

Many thanks for your help!
Paolo



This may get you started:

https://lsr.di.unimi.it/LSR/Search?q=background+%7C+colorspan


Cheers,
Robin