Jump to content

Talk:Slanted parentheses around dynamics

From LilyPond wiki

Latest comment: 18:38 by Jean Abou Samra in topic Is this Snippet Necessary?

Is this Snippet Necessary?

Can't this be done without Scheme code?

\version "2.24"

  \relative c'' {
    \override Parentheses.font-size = #2
    c4\parenthesize\f c c \dynamicUp c\parenthesize\p
  }

-- Ksnortum (talk) 16:52, 31 January 2026 (UTC)Reply

IMHO the answer is no. \parenthesize doesn't allow the fine-tuning necessary to get good output with slanted text. It might sense, however, to improve the documentation, mentioning \parenthesize. -- Lemzwerg (talk) 06:17, 1 February 2026 (UTC)Reply
Should I add my code to the snippet, or create an issue on the documentation? Ksnortum (talk) 15:25, 1 February 2026 (UTC)Reply
Please directly modify the snippet. The next Wiki import eventually updates the LilyPond documentation. -- Lemzwerg (talk) 15:35, 1 February 2026 (UTC)Reply
Knute, the change itself looks good, thanks. However, the form must be adjusted to follow the guidelines in Category:Included in the official documentation: only a single <lilypond> block is allowed for ‘official’ snippets. Please fix that. -- Lemzwerg (talk) 17:03, 1 February 2026 (UTC)Reply
Fixed. Jean Abou Samra (talk) 18:38, 1 February 2026 (UTC)Reply