From: James Lowe Date: Thu, 20 May 2010 16:00:00 +0000 (+0100) Subject: Doc: CG add rule for using { } with .ly examples X-Git-Tag: release/2.13.22-1~9 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=113c5a61268840fcf187624419391bca2944b7d6;p=lilypond.git Doc: CG add rule for using { } with .ly examples --- 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