From 113c5a61268840fcf187624419391bca2944b7d6 Mon Sep 17 00:00:00 2001 From: James Lowe Date: Thu, 20 May 2010 17:00:00 +0100 Subject: [PATCH] Doc: CG add rule for using { } with .ly examples --- Documentation/contributor/doc-work.itexi | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/Documentation/contributor/doc-work.itexi b/Documentation/contributor/doc-work.itexi index cdd06f29c9..461e19f71e 100644 --- a/Documentation/contributor/doc-work.itexi +++ b/Documentation/contributor/doc-work.itexi @@ -358,6 +358,24 @@ If possible, end with a complete bar. Comments should go on their own line, and be placed before the line(s) to which they refer. +@item +For clarity, always use @{ @} marks even if they are not technically +required; ie + +not: +\context Voice \repeat unfold 2 \relative c' { + c2 d +} + +but instead: +\context Voice { + \repeat unfold 2 { + \relative c' { + c2 d + } + } +} + @item Add extra spaces around @{ @} marks; ie -- 2.39.5