lilypond-1.1.62
[lilypond.git] / ly / property.ly
blob24a6f8c066a3ba6c0b2342d183ee6ad69432163d
1 % property.ly
2 % list of properties that lily recognises
3 % and some shorthands (ugh)
5 %{
7 SEE THE REFERENCE MANUAL FOR EXPLANATIONS.
9 %}
11 \version "1.1.52";
13 %hmm, (these) abbrevs suck, imo
14 % i guess they're meant as some form of doco
15 % that's what i use them for...
16 stemup = \property Voice.verticalDirection = \up
17 stemboth= \property Voice.verticalDirection = \center
18 stemdown = \property Voice.verticalDirection = \down
20 slurup = \notes {
21 s1*0
22 \property Voice.slurVerticalDirection = \up
24 slurboth= \notes {
25 s1*0
26 \property Voice.slurVerticalDirection = \center
28 slurdown = \notes {
29 s1*0
30 \property Voice.slurVerticalDirection = \down
33 shifton = \property Voice.horizontalNoteShift = 1
34 shiftoff = \property Voice.horizontalNoteShift = 0
36 onevoice = {
37 \stemboth \shiftoff
40 voiceone =
41 \context Voice = one {
42 \stemup
45 voicetwo =
46 \context Voice = two {
47 \stemdown
50 voicethree =
51 \context Voice = three {
52 \stemup
56 voicefour =
57 \context Voice = four {
58 \stemdown
59 \shifton
63 % ugh, cluttering global namespace...
65 % ugh2.
66 none=0
67 free=0
68 normal=1
69 traditional=2
70 infinity=10000
72 beamslopeproportional =
73 \property Score.beamslopedamping = \none
75 beamslopedamped =
76 \property Score.beamslopedamping = \normal
79 beamslopezero =
80 \property Score.beamslopedamping = \infinity
83 % this sucks, you'd want to pass an array, at least
84 % (or embedded code: you still can't dictate the slope / stemlength)
85 beamposfree =
86 \property Score.beamquantisation = \none
89 beamposnormal =
90 \property Score.beamquantisation = \normal
93 beampostraditional =
94 \property Score.beamquantisation = \traditional
97 slurnormal =
98 \property Voice.slurdash = ""
101 slurdotted =
102 \property Voice.slurdash = 1
105 tupletoff = {
106 \property Voice.tupletVisibility = 0
108 tupleton = {
109 \property Voice.tupletVisibility = 3
111 tiny = {
112 \property Voice.fontSize= "-2"
115 small = {
116 \property Voice.fontSize= "-1"
119 normalsize = {
120 \property Voice.fontSize= "0"
123 normalkey = {
124 \property Staff.keyoctaviation = 1
127 specialkey = {
128 \property Staff.keyoctaviation = 0
131 % End the incipit and print a ``normal line start''.
132 endincipit = \notes{
133 \partial 16; s16 % Hack to handle e.g. \bar ".|"; \endincipit
134 \property Staff.clefStyle = "fullSizeChanges"
135 \nobreak \bar "";
138 autoBeamOff = \property Voice.beamAuto = ""
139 autoBeamOn = \property Voice.beamAuto = "1"