lilypond-user
[Top][All Lists]
Advanced

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

new and context


From: Noeck
Subject: new and context
Date: Mon, 06 Jan 2014 18:42:32 +0100
User-agent: Mozilla/5.0 (X11; Linux i686; rv:24.0) Gecko/20100101 Thunderbird/24.2.0

Hi,

when looking at this snippet: http://lsr.dsi.unimi.it/LSR/Snippet?id=292
I have the following question:

Why is \context Staff allowed here? How can I fill bass figures in a Staff?

I thought I need a \new FiguredBass context for the \continuo. This
works indeed (%2) but I loose the ability to change the alignment direction.

Is that a general thing (for Lyrics, ChordNames)?
What is the recommended layout? \new FiguredBass or \context Staff?

Thanks
Joram


Here is the snippet for comparison:

\version "2.18.0"

bass = { \clef bass g4 b, c d e d8 c d2 }

continuo = \figuremode {
  \set Score.useBassFigureExtenders = ##t
  <_>4 <6>4 <5/>4
  \override Staff.BassFigureAlignmentPositioning #'direction = #UP
  < _+ >4 <6>
  \override Staff.BassFigureAlignmentPositioning #'direction = #DOWN
  <4>4. <4>8 <_+>4
}

% 1
<<
  \new Staff = bassStaff \bass
  \context Staff = bassStaff \continuo
>>

% 2
<<
  \new Staff = bassStaff \bass
  \new FiguredBass \continuo
>>





reply via email to

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