lilypond-auto
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Lilypond-auto] Issue 3519 in lilypond: layout settings aren't merged pr


From: lilypond
Subject: [Lilypond-auto] Issue 3519 in lilypond: layout settings aren't merged properly
Date: Sun, 25 Aug 2013 22:32:24 +0000

Status: Accepted
Owner: ----
CC: address@hidden
Labels: Type-Defect syntax

New issue 3519 by address@hidden: layout settings aren't merged properly
http://code.google.com/p/lilypond/issues/detail?id=3519

\version "2.17.24"

\markup \justify {
  If there are multiple layout blocks, their effects should be
  combined - in this case, stems should be thicker and noteheads
  should be red.  However, this doesn't work if one layout block
  is inside "\score" and the other one is outside (try putting
  both outside and it'll work):
}

\score {
  { c' d' e' f' }
  \layout { \override Stem #'thickness = #5 }
}

\layout { \override NoteHead #'color = #red }

\markup \justify {
  Note that placing all layout blocks outside "\score" isn't a
  good solution.  Sometimes i have several different scores,
  and i'd like to have a set of shared settings while at the
  same time some settings should be different.  In that case,
  the different settings have to be in layout blocks inside
  respective "\scores":
}

% i want noteheads to be red in all scores, so this has to
% be placed in a \layout block outside \scores:
\layout { \override NoteHead #'color = #red }

\score {
  { c' d' e' f' }
  % i want this score to have very thick stems
  \layout { \override Stem #'thickness = #5 }
}

\score {
  { c' d' e' f' }
  % i want this score to have only slightly thicker stems
  \layout { \override Stem #'thickness = #2 }
}


Attachments:
        failed layout.png  2.4 KB

--
You received this message because this project is configured to send all issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings



reply via email to

[Prev in Thread] Current Thread [Next in Thread]