forked from frescobaldi/python-ly
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch '49-support-italic-lyrics' into 'stable'
Resolve "Support italic lyrics" Closes frescobaldi#49 See merge request bgeorge/python-ly!57
- Loading branch information
Showing
6 changed files
with
275 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
\version "2.18.2" | ||
|
||
Stanza = \lyricmode { | ||
Font style | ||
\override LyricText #'font-shape = #'italic | ||
is su -- per cool | ||
\revert LyricText #'font-shape | ||
but not here | ||
} | ||
|
||
\language "english" | ||
|
||
keyTime = { | ||
\time 4/4 | ||
\key c \major | ||
} | ||
|
||
Soprano = \relative c'' { | ||
\keyTime | ||
c4 c c c | ||
c c c c | ||
c1 \bar "|." | ||
} | ||
|
||
\score | ||
{ | ||
<< | ||
\new Staff = "treble" \with {} | ||
<< | ||
\clef "treble" | ||
\new Voice = "SopranoVoice" \Soprano | ||
\lyricsto SopranoVoice \new Lyrics \Stanza | ||
>> | ||
>> | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,166 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<!DOCTYPE score-partwise PUBLIC "-//Recordare//DTD MusicXML 2.0 Partwise//EN" | ||
"http://www.musicxml.org/dtds/partwise.dtd"> | ||
<score-partwise version="3.0"> | ||
<identification> | ||
<encoding> | ||
<software>python-ly 0.9.5</software> | ||
<encoding-date>2019-12-20</encoding-date> | ||
</encoding> | ||
</identification> | ||
<part-list> | ||
<score-part id="P1"> | ||
<part-name /> | ||
</score-part> | ||
</part-list> | ||
<part id="P1"> | ||
<measure number="1"> | ||
<attributes> | ||
<divisions>1</divisions> | ||
<key> | ||
<fifths>0</fifths> | ||
<mode>major</mode> | ||
</key> | ||
<time symbol="common"> | ||
<beats>4</beats> | ||
<beat-type>4</beat-type> | ||
</time> | ||
<clef> | ||
<sign>G</sign> | ||
<line>2</line> | ||
</clef> | ||
</attributes> | ||
<note> | ||
<pitch> | ||
<step>C</step> | ||
<octave>5</octave> | ||
</pitch> | ||
<duration>1</duration> | ||
<voice>1</voice> | ||
<type>quarter</type> | ||
<lyric number="1"> | ||
<syllabic>single</syllabic> | ||
<text>Font</text> | ||
</lyric> | ||
</note> | ||
<note> | ||
<pitch> | ||
<step>C</step> | ||
<octave>5</octave> | ||
</pitch> | ||
<duration>1</duration> | ||
<voice>1</voice> | ||
<type>quarter</type> | ||
<lyric number="1"> | ||
<syllabic>single</syllabic> | ||
<text>style</text> | ||
</lyric> | ||
</note> | ||
<note> | ||
<pitch> | ||
<step>C</step> | ||
<octave>5</octave> | ||
</pitch> | ||
<duration>1</duration> | ||
<voice>1</voice> | ||
<type>quarter</type> | ||
<lyric number="1"> | ||
<syllabic>single</syllabic> | ||
<text font-style="italic">is</text> | ||
</lyric> | ||
</note> | ||
<note> | ||
<pitch> | ||
<step>C</step> | ||
<octave>5</octave> | ||
</pitch> | ||
<duration>1</duration> | ||
<voice>1</voice> | ||
<type>quarter</type> | ||
<lyric number="1"> | ||
<syllabic>begin</syllabic> | ||
<text font-style="italic">su</text> | ||
</lyric> | ||
</note> | ||
<backup> | ||
<duration>4</duration> | ||
</backup> | ||
</measure> | ||
<measure number="2"> | ||
<note> | ||
<pitch> | ||
<step>C</step> | ||
<octave>5</octave> | ||
</pitch> | ||
<duration>1</duration> | ||
<voice>1</voice> | ||
<type>quarter</type> | ||
<lyric number="1"> | ||
<syllabic>end</syllabic> | ||
<text font-style="italic">per</text> | ||
</lyric> | ||
</note> | ||
<note> | ||
<pitch> | ||
<step>C</step> | ||
<octave>5</octave> | ||
</pitch> | ||
<duration>1</duration> | ||
<voice>1</voice> | ||
<type>quarter</type> | ||
<lyric number="1"> | ||
<syllabic>single</syllabic> | ||
<text font-style="italic">cool</text> | ||
</lyric> | ||
</note> | ||
<note> | ||
<pitch> | ||
<step>C</step> | ||
<octave>5</octave> | ||
</pitch> | ||
<duration>1</duration> | ||
<voice>1</voice> | ||
<type>quarter</type> | ||
<lyric number="1"> | ||
<syllabic>single</syllabic> | ||
<text>but</text> | ||
</lyric> | ||
</note> | ||
<note> | ||
<pitch> | ||
<step>C</step> | ||
<octave>5</octave> | ||
</pitch> | ||
<duration>1</duration> | ||
<voice>1</voice> | ||
<type>quarter</type> | ||
<lyric number="1"> | ||
<syllabic>single</syllabic> | ||
<text>not</text> | ||
</lyric> | ||
</note> | ||
</measure> | ||
<measure number="3"> | ||
<note> | ||
<pitch> | ||
<step>C</step> | ||
<octave>5</octave> | ||
</pitch> | ||
<duration>4</duration> | ||
<voice>1</voice> | ||
<type>whole</type> | ||
<lyric number="1"> | ||
<syllabic>single</syllabic> | ||
<text>here</text> | ||
</lyric> | ||
</note> | ||
<backup> | ||
<duration>4</duration> | ||
</backup> | ||
<attributes /> | ||
<barline location="right"> | ||
<bar-style>light-heavy</bar-style> | ||
</barline> | ||
</measure> | ||
</part> | ||
</score-partwise> |