Re: Stanzas over staves

2018-04-22 Thread Partitura Organum
On 22-4-2018 19:33, Helge Kruse wrote: Glad to here that's working for you. Unfortunately this doesn't work for me. I reordered the lines a bit because I think that the override changes the line-width property of wordwrap-string. But the reordering doesn't change the ouput. The text crosses

Re: Stanzas over staves

2018-04-22 Thread Helge Kruse
Am 20.04.2018 um 07:58 schrieb Partitura Organum: > > > On 19-4-2018 22:19, Thomas Morley wrote: >> The function expects `text' to be a string. So >> (1) use wordwrap-string >> (2) without {} > > Thank you, now it works. And  I learned how to do calculations in scheme > along the way as well.

Re: Stanzas over staves

2018-04-19 Thread Partitura Organum
On 19-4-2018 22:19, Thomas Morley wrote: The function expects `text' to be a string. So (1) use wordwrap-string (2) without {} Thank you, now it works. And  I learned how to do calculations in scheme along the way as well. So the narrator function should be

Re: Stanzas over staves

2018-04-19 Thread Thomas Morley
2018-04-19 21:09 GMT+02:00 Partitura Organum : > > > On 19-4-2018 00:30, Simon Albrecht wrote: >> >> You have to quote line-width because it’s a symbol, not a variable. That >> can also be done in a verbose or in a practical way: >> \override #(cons 'line-width dim) >> or

Re: Stanzas over staves

2018-04-19 Thread Partitura Organum
On 19-4-2018 00:30, Simon Albrecht wrote: You have to quote line-width because it’s a symbol, not a variable. That can also be done in a verbose or in a practical way: \override #(cons 'line-width dim) or \override #(cons (quote line-width) dim). The two are exactly equivalent. The second

Re: Stanzas over staves

2018-04-18 Thread Simon Albrecht
On 18.04.2018 23:20, Partitura Organum wrote: My scheme knowledge is very very limited. I just found out one can construct a pair in a scheme function like this:    #(cons a b) where a and b are the values. So for your function "narrator", this would become:    \with-dimensions #(cons 0

Re: Stanzas over staves

2018-04-18 Thread Partitura Organum
On 18-4-2018 20:26, Helge Kruse wrote: Am 18.04.2018 um 12:39 schrieb Engraver: I use "with-dimensions" if I want to place some text over staves. And "\whiteout" can be used to blot out the staff-lines. See attached. It's rather hackish, so I hope the more knowledgeable members of the list

Re: Stanzas over staves

2018-04-18 Thread Simon Albrecht
On 18.04.2018 20:26, Helge Kruse wrote: It looks like the parameter 'dim' can't be used in this way to build a valid parameter to with-dimension. Is this true? How to do it correctly? You need quasi-quotation: \with-dimensions #`(0 . ,dim) #'(0 . 0) For more on this, consult the Extending

Re: Stanzas over staves

2018-04-18 Thread Helge Kruse
Am 18.04.2018 um 12:39 schrieb Engraver: > I use "with-dimensions" if I want to place some text over staves. And > "\whiteout" can be used to blot out the staff-lines. See attached. > It's rather hackish, so I hope the more knowledgeable members of the > list have a more elegant solution for you.

Fwd: Re: Stanzas over staves

2018-04-18 Thread Engraver
On 18-4-2018 07:20, Helge Kruse wrote: But there are some open points. - The harp requires two staff lines. I managed to remove the outside-staff-priority for one staff. But the other staff line is pushed away. How can I use both staves of one harp for the text? How could I place the text

Re: Stanzas over staves

2018-04-17 Thread Helge Kruse
Am 17.04.2018 um 21:13 schrieb Kieren MacMillan: it looks like you simply want to stack the text as markup above a measure-long rest (with fermatas in all parts, I would assume?). Oh, my bad wording. I mean not above the lines but inside. That's definitely a simple situation, easy to

Re: Stanzas over staves

2018-04-17 Thread Kieren MacMillan
Hi again, Given your example: > measure 1: some notes > measure 2: text: This is the story of Max and Moritz > measure 3: some notes > measure 4: text: Moritz > measure 5,6: more notes > measure 7: text AH, how oft we read or hear of Boys we almost stand in > fear of! For example, take these