Empty Staff/TabStaff/StaffGroup creates indentation

2023-08-28 Thread Michael Gerdau
Hi list, I have code that creates lists of chords/fretboards. I want them arranged in tabular mode. When I add an empty voice the first line gets indented. When I comment the line "\guitarPart" it looks as expected. See the following code (also attached). Is there a special incantation or is thi

Re: Automatic annotation of slide positions/fingerings for brass instruments.

2023-08-28 Thread samarutuk
Sorry, I didn't really specify what exactly I was asking. But your answer was right, thanks! The final hurdle with your code now is that it doesn't really take pitch into account. C3 (c) has a different default slide position on the trombone than C4 (c'). So no matter if you notate notes absolut

Re: How to have a parenthesized dynamic scripts including \cresc?

2023-08-28 Thread Xavier Scheuer
On Mon, 28 Aug 2023 at 14:01, Michael Gerdau wrote: > > Hi list, > > use the following macro for parenthesized dynamics: Hello, I do not know why the NR mentions markup parentheses for parenthesized dynamics, whereas the parenthesize command works for DynamicText (with a tweak of parentheses fon

How to have a parenthesized dynamic scripts including \cresc?

2023-08-28 Thread Michael Gerdau
Hi list, use the following macro for parenthesized dynamics: parendyn = #(define-event-function (dyn) (ly:event?) (make-dynamic-script #{ \markup \concat { \normal-text \italic \fontsize #2 ( \pad-x #0.2 #(ly:music-property dyn 'text) \normal-text \italic \fontsi

How to get rid of indentation of chords on first row?

2023-08-28 Thread Michael Gerdau
Hi list, in the attached example the first row of chords is indented although indent=0 is set and \RemoveAllEmptyStaves is set as well. When I remove the \guitarPart from the score, all is as expected. Is there a special incantation required (which?) or is this a bug? Kind regards, Michael --

Re: Bar numbers on Dynamics staff above music

2023-08-28 Thread Richard Shann
On Mon, 2023-08-28 at 11:27 +0200, Xavier Scheuer wrote: > On Mon, 28 Aug 2023 at 10:17, Richard Shann > wrote: > > > > There are more problems than I thought with your solution- > > here is your example with some higher notes in it - the bar numbers > > leave the staff again: > > Hello, > > Re

Re: Font problem on Mac

2023-08-28 Thread Hans Aikema
> On 28 Aug 2023, at 08:49, Jean Abou Samra wrote: > > > >> Le 28 août 2023 à 08:45, Jean Abou Samra a écrit : >> >>  >> >>> You might try to copy the affected font from macOS 14 to macOS 13 and >>> check whether it works. >> >> >> This bug has already been fixed in Homebrew. Please ju

Re: Automatic annotation of slide positions/fingerings for brass instruments.

2023-08-28 Thread Jean Abou Samra
Hi, I'm not sure I understand your problem. If I infer your goal from the ChatGPT output, you're trying to add a fingering to each note based on its pitch. Is that right? ``` \version "2.24.2" #(use-modules (srfi srfi-2)) autoFingerings = #(define-music-function (spec music) (ly:music? ly:mus

Re: Bar numbers on Dynamics staff above music

2023-08-28 Thread Xavier Scheuer
On Mon, 28 Aug 2023 at 10:17, Richard Shann wrote: > > There are more problems than I thought with your solution- > here is your example with some higher notes in it - the bar numbers > leave the staff again: Hello, Removing "Bar_number_engraver" from the Score context and adding it to the Staff

How to put a big number in the upper left or right corner of a score?

2023-08-28 Thread Kris Van Bruwaene
(Lilypond version 2.24.1, Guile 2.2). What is the easiest way to put a big number (e.g. font size 4 bold)  in the upper left or right corner of a score? In previous versions I used to manage this with a double header, one in \book and one in \score, and faking a second "poet" (left corner) o

Re: Bar numbers on Dynamics staff above music

2023-08-28 Thread Richard Shann
testing further... On Sun, 2023-08-27 at 07:50 -0700, Knute Snortum wrote: > On Sun, Aug 27, 2023 at 7:31 AM Richard Shann > wrote: > > If I create a Dynamics staff above the music, the bar numbers are > > printed on it rather than on the staff with the music. At least > > this is > > why setting