<score>
{c' d' e' f' f' fes' eis' e'}
</score>
<score>
\transpose c g \relative c' {
\key c \minor
\time 4/4
c4 e8 e g4 g % (text after the % is just a comment)
<c es g>2 <c es g> % angle brackets create chords
es4 d( ces b) % parentheses create slurs
a4. r8 r8 a8 ~ a4 % r creates rests; ~ creates ties
e-- e-> e-. g\fermata % accents and other signs
\bar "|."
}
</score>