Ancient accidentals: Difference between revisions
Appearance
Import snippet from LSR |
m New category Tags: Mobile edit Mobile web edit |
||
| (2 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
Accidentals are available in different ancient styles, which all are collected here. | Accidentals are available in different ancient styles, which all are collected here. | ||
<lilypond version="2.24 | <lilypond version="2.24"> | ||
%% http://lsr.di.unimi.it/LSR/Item?id=85 | %% http://lsr.di.unimi.it/LSR/Item?id=85 | ||
| Line 39: | Line 39: | ||
[[Category:Pitches]] | [[Category:Pitches]] | ||
[[Category:Specific notation]] | [[Category:Specific notation]] | ||
[[Category:Snippet]] | |||
Latest revision as of 23:16, 21 November 2025
Accidentals are available in different ancient styles, which all are collected here.
\version "2.24"
%% http://lsr.di.unimi.it/LSR/Item?id=85
% Remark:
% Double sharp and double flat are not defined in all alteration-glyph-name-alists.
% In this case they will not be printed and a log-warning appears.
%
% Warnings may be suppressed using 'ly:expect-warning'
% Or use the here defined 'suppressWarning'-function, working since 2.20.
%
suppressWarning =
#(define-void-function (amount message)(number? string?)
(for-each
(lambda (warning)
(ly:expect-warning message))
(iota amount 1 1)))
\suppressWarning 8 "no glyph name for alteration"
\relative c'' {
\time 5/4
\override Staff.Accidental.alteration-glyph-name-alist = #standard-alteration-glyph-name-alist
cisis^\markup { \typewriter default } cis c ces ceses
\override Staff.Accidental.alteration-glyph-name-alist = #alteration-hufnagel-glyph-name-alist
cisis^\markup { \typewriter hufnagel } cis c ces ceses
\override Staff.Accidental.alteration-glyph-name-alist = #alteration-medicaea-glyph-name-alist
cisis^\markup { \typewriter medicaea } cis c ces ceses
\override Staff.Accidental.alteration-glyph-name-alist = #alteration-vaticana-glyph-name-alist
cisis^\markup { \typewriter vaticana } cis c ces ceses
\override Staff.Accidental.alteration-glyph-name-alist = #alteration-mensural-glyph-name-alist
cisis^\markup { \typewriter mensural } cis c ces ceses
}