Skip to content

Commit

Permalink
show misrepresentation of grob location in tuplet (slur)
Browse files Browse the repository at this point in the history
  • Loading branch information
jefferyshivers committed Feb 9, 2017
1 parent f185426 commit 3e03794
Showing 1 changed file with 33 additions and 11 deletions.
44 changes: 33 additions & 11 deletions usage-examples/annotate.ly
Original file line number Diff line number Diff line change
Expand Up @@ -11,21 +11,26 @@
\setOption scholarly.annotate.export-targets #'(plaintext latex)

music = \relative c'{
c4 d e
c4 d
\criticalRemark \with {
message = "Go to \\textit{school} and \\textcolor{red}{sit back}! This
is a second sentence, which\fnblue has a footnote."
fn-blue-text = "This is my \uppercase{first nested footnote}, for the \\textcolor{red}{second sentence} of the first annotation."
fn-yellow-text = "This is another nested footnote for the first annotation, but it isn't used."
fn-blue-txt = "This is my \uppercase{first nested footnote}, for the \\textcolor{red}{second sentence} of the first annotation."
fn-yellow-txt = "This is another nested footnote for the first annotation, but it isn't used."
ann-footnote = "This is a footnote for the entire annotation."
}
NoteHead
f ( |
g a ) b c
e ( f )

|

\musicalIssue \with {
message = "This is a musical issue with not footnotes."
}
Staff.KeySignature

|

\key a \major
a d
<<
Expand All @@ -46,20 +51,37 @@ music = \relative c'{
}
>>
\oneVoice

|

e
\lilypondIssue \with {
message = "A message about the trill."
}
TrillSpanner
cis2\startTrillSpan
d4\stopTrillSpan
b
\question \with {
message = "A question with a footnote\fnRandom about the slur."
fn-R-a-n-d-o-m-text = "A random footnote for the question."

|

\todo \with {
message = "Print this tuplet number."
}
Slur
gis8( a) b4
TupletNumber

\tuplet 3/2 {
b8
% the following annotation is at 2/3 of beat one. mathematically it
% spans 1/3 to 2/3 through beat 1, but we need it to say 2/3 to denote
% that it is the second of three tuplet subdivisions in that beat.
\question \with {
message = "A question with a footnote\fnRandom about the slur."
fn-R-a-n-d-o-m-txt = "A random footnote for the question."
}
Slur
gis( a)
}
b4
}

\score { \music }

0 comments on commit 3e03794

Please sign in to comment.