27.03.2013 Views

LilyPond Snippets

LilyPond Snippets

LilyPond Snippets

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Ancient notation 252<br />

Ancient notation<br />

These snippets illustrate Section “Ancient notation” in Notation Reference.<br />

Adding a figured bass above or below the notes<br />

When writing a figured bass, here’s a way to specify if you want your figures to be placed<br />

above or below the bass notes, by defining the BassFigureAlignmentPositioning #'direction<br />

property (exclusively in a Staff context). Choices are #UP (or #1), #CENTER (or #0) and #DOWN<br />

(or #-1).<br />

As you can see here, this property can be changed as many times as you wish. Use \once<br />

\override if you don’t want the tweak to apply to the whole score.<br />

bass = {<br />

\clef bass<br />

g4 b, c d<br />

e d8 c d2<br />

}<br />

continuo = \figuremode {<br />

4 8<br />

\once \override Staff.BassFigureAlignmentPositioning #'direction = #CENTER<br />

8 4<br />

\override Staff.BassFigureAlignmentPositioning #'direction = #UP<br />

4 <br />

\set Staff.useBassFigureExtenders = ##t<br />

\override Staff.BassFigureAlignmentPositioning #'direction = #DOWN<br />

4. 8 4<br />

}<br />

\score {<br />

><br />

}<br />

6<br />

<br />

<br />

5<br />

Ancient fonts<br />

<br />

6<br />

4 <br />

Shown here are many (all?) of the symbols that are included in <strong>LilyPond</strong>’s support for ancient<br />

notation.<br />

upperStaff = \new VaticanaStaff = "upperStaff"

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!