Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(1437)

Unified Diff: ly/property-init.ly

Issue 145490043: Roman string numbers (Closed)
Patch Set: Define a separate number-interface Created 9 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « input/regression/string-number-styles.ly ('k') | scm/define-grob-interfaces.scm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ly/property-init.ly
diff --git a/ly/property-init.ly b/ly/property-init.ly
index 852dbcee9ebaf5cf6d55f874b561114c4c2fe294..06ffde7cf48cfae89dc3a1c7466b8d4494048503 100644
--- a/ly/property-init.ly
+++ b/ly/property-init.ly
@@ -472,6 +472,22 @@ stemDown = \override Stem.direction = #DOWN
stemNeutral = \revert Stem.direction
+%% string numbers
+
+romanStringNumbers = {
+ \override StringNumber.number-type = #'roman-upper
+ \override StringNumber.stencil = #ly:text-interface::print
+ \override StringNumber.font-encoding = #'latin1
+ \override StringNumber.font-shape = #'italic
+}
+arabicStringNumbers = {
+ \revert StringNumber.number-type
+ \revert StringNumber.stencil
+ \revert StringNumber.font-encoding
+ \revert StringNumber.font-shape
+}
+
+
%% tablature
% switch to full notation
« no previous file with comments | « input/regression/string-number-styles.ly ('k') | scm/define-grob-interfaces.scm » ('j') | no next file with comments »

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b