summaryrefslogtreecommitdiff
path: root/info/latex4musicians/Figures
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2019-09-02 13:46:59 +0900
committerNorbert Preining <norbert@preining.info>2019-09-02 13:46:59 +0900
commite0c6872cf40896c7be36b11dcc744620f10adf1d (patch)
tree60335e10d2f4354b0674ec22d7b53f0f8abee672 /info/latex4musicians/Figures
Initial commit
Diffstat (limited to 'info/latex4musicians/Figures')
-rw-r--r--info/latex4musicians/Figures/Makefile.sb26
-rw-r--r--info/latex4musicians/Figures/abctab.abc9
-rw-r--r--info/latex4musicians/Figures/abctab.ly53
-rw-r--r--info/latex4musicians/Figures/bravura.tex36
-rw-r--r--info/latex4musicians/Figures/breeches.abc10
-rw-r--r--info/latex4musicians/Figures/chordii.cho10
-rw-r--r--info/latex4musicians/Figures/chords.tex11
-rw-r--r--info/latex4musicians/Figures/drowsy.abc9
-rw-r--r--info/latex4musicians/Figures/fellow.abc12
-rw-r--r--info/latex4musicians/Figures/gchords.tex21
-rw-r--r--info/latex4musicians/Figures/gcschemes.tex41
-rw-r--r--info/latex4musicians/Figures/gdiagram.tex15
-rw-r--r--info/latex4musicians/Figures/glyphs.tex13
-rw-r--r--info/latex4musicians/Figures/glyphs_ls.tex19
-rw-r--r--info/latex4musicians/Figures/gtablature.ly17
-rw-r--r--info/latex4musicians/Figures/gtrcrd.tex25
-rw-r--r--info/latex4musicians/Figures/guitar.tex20
-rw-r--r--info/latex4musicians/Figures/guitartabs.tex34
-rw-r--r--info/latex4musicians/Figures/happyb.abc10
-rw-r--r--info/latex4musicians/Figures/jingle.ly20
-rw-r--r--info/latex4musicians/Figures/julia.abc8
-rw-r--r--info/latex4musicians/Figures/kyrie.gabc5
-rw-r--r--info/latex4musicians/Figures/kyrie.tex10
-rw-r--r--info/latex4musicians/Figures/leadsheets.tex22
-rw-r--r--info/latex4musicians/Figures/lilyglyphs.tex21
-rw-r--r--info/latex4musicians/Figures/lilytab.ly15
-rw-r--r--info/latex4musicians/Figures/mtxlatex.sty91
-rw-r--r--info/latex4musicians/Figures/musicography.tex18
-rw-r--r--info/latex4musicians/Figures/musixguit.tex25
-rw-r--r--info/latex4musicians/Figures/musixtab.tex256
-rw-r--r--info/latex4musicians/Figures/notes.abc5
-rw-r--r--info/latex4musicians/Figures/pdfcrop.sh38
-rw-r--r--info/latex4musicians/Figures/sample-abc-all.tex132
-rw-r--r--info/latex4musicians/Figures/sample-abc.abc7
-rw-r--r--info/latex4musicians/Figures/sample-abc.tex27
-rw-r--r--info/latex4musicians/Figures/sample-all.tex36
-rw-r--r--info/latex4musicians/Figures/sample-includeall.tex81
-rw-r--r--info/latex4musicians/Figures/sample-latexmtx.ltx23
-rw-r--r--info/latex4musicians/Figures/sample-lilybook.lytex29
-rw-r--r--info/latex4musicians/Figures/sample-lilypond.ly17
-rw-r--r--info/latex4musicians/Figures/sample-lyluatex.tex30
-rw-r--r--info/latex4musicians/Figures/sample-mlatex.tex38
-rw-r--r--info/latex4musicians/Figures/sample-mtex.tex19
-rw-r--r--info/latex4musicians/Figures/sample-mtx.mtx8
-rw-r--r--info/latex4musicians/Figures/sample-mtx.pmx27
-rw-r--r--info/latex4musicians/Figures/sample-mtx.tex50
-rw-r--r--info/latex4musicians/Figures/sample-mup.mup17
-rw-r--r--info/latex4musicians/Figures/sample-musixtex-tab.tex24
-rw-r--r--info/latex4musicians/Figures/sample-pmw.pmw10
-rw-r--r--info/latex4musicians/Figures/sample-songbook.orig.tex141
-rw-r--r--info/latex4musicians/Figures/sample-songbook.tex107
-rw-r--r--info/latex4musicians/Figures/scale.mtx6
-rw-r--r--info/latex4musicians/Figures/scale.pmx16
-rw-r--r--info/latex4musicians/Figures/scale.tex36
-rw-r--r--info/latex4musicians/Figures/scale1.abc3
-rw-r--r--info/latex4musicians/Figures/shave.abc10
-rw-r--r--info/latex4musicians/Figures/shave.ly17
-rw-r--r--info/latex4musicians/Figures/sheet.abc5
-rw-r--r--info/latex4musicians/Figures/songbook.tex23
-rw-r--r--info/latex4musicians/Figures/songs.tex25
-rw-r--r--info/latex4musicians/Figures/songs_all.tex25
-rw-r--r--info/latex4musicians/Figures/songs_g.tex11
-rw-r--r--info/latex4musicians/Figures/twinkle.abc38
-rw-r--r--info/latex4musicians/Figures/verses-chords.tex49
-rw-r--r--info/latex4musicians/Figures/warm.abc7
65 files changed, 2019 insertions, 0 deletions
diff --git a/info/latex4musicians/Figures/Makefile.sb b/info/latex4musicians/Figures/Makefile.sb
new file mode 100644
index 0000000000..2d0155370b
--- /dev/null
+++ b/info/latex4musicians/Figures/Makefile.sb
@@ -0,0 +1,26 @@
+# Makefile for sample-songbook
+
+FIGURES = fellow.pdf happyb.pdf warm.pdf
+
+sample-songbook: sample-songbook.tex $(FIGURES)
+ pdflatex sample-songbook.tex; \
+ pdflatex sample-songbook.tex; \
+ pdflatex sample-songbook.tex
+
+fellow.pdf: fellow.abc
+ abcm2ps -c -O= fellow.abc; \
+ ps2pdf fellow.ps; pdfcrop fellow.pdf; \
+ /bin/mv -f fellow-crop.pdf fellow.pdf
+
+happyb.pdf: happyb.abc
+ abcm2ps -O= happyb.abc; \
+ ps2pdf happyb.ps; pdfcrop happyb.pdf; \
+ /bin/mv -f happyb-crop.pdf happyb.pdf
+
+warm.pdf: warm.abc
+ abcm2ps -O= warm.abc; \
+ ps2pdf warm.ps; pdfcrop warm.pdf; \
+ /bin/mv -f warm-crop.pdf warm.pdf
+
+clean:
+ /bin/rm -f .*~ *~ *aux *bak *lo? *to? *out *tmp *bbl *ps
diff --git a/info/latex4musicians/Figures/abctab.abc b/info/latex4musicians/Figures/abctab.abc
new file mode 100644
index 0000000000..eff562c2cc
--- /dev/null
+++ b/info/latex4musicians/Figures/abctab.abc
@@ -0,0 +1,9 @@
+X: 1
+M: 3/4
+L: 1/4
+K: C
+%
+V:1
+CDE | FGA | BAB | c2z |]
+V:2 clef=tab octave=-1
+CDE | FGA | BAB | c2z |]
diff --git a/info/latex4musicians/Figures/abctab.ly b/info/latex4musicians/Figures/abctab.ly
new file mode 100644
index 0000000000..55596cf951
--- /dev/null
+++ b/info/latex4musicians/Figures/abctab.ly
@@ -0,0 +1,53 @@
+
+\version "2.18.2"
+% automatically converted by musicxml2ly from abctab.xml
+
+\header {
+ encoder = "abc2xml version 218"
+ encodingdate = "2018-12-22"
+ }
+
+\layout {
+ \context { \Score
+ autoBeaming = ##f
+ }
+ }
+PartPOneVoiceOne = \relative c' {
+ \key c \major \time 3/4 c4 d4 e4 | % 2
+ f4 g4 a4 | % 3
+ b4 a4 b4 | % 4
+ c2 r4 \bar "|."
+ }
+
+PartPTwoVoiceOne = \relative c {
+ \clef "tab" \stopStaff \override Staff.StaffSymbol #'line-count = #6
+ \startStaff \key c \major \time 3/4 c4 \5 d4 \4 e4 \4 | % 2
+ f4 \4 g4 \3 a4 \3 | % 3
+ b4 \2 a4 \3 b4 \2 | % 4
+ c2 \2 r4 \bar "|."
+ }
+
+
+% The score definition
+\score {
+ <<
+ \new Staff <<
+ \context Staff <<
+ \context Voice = "PartPOneVoiceOne" { \PartPOneVoiceOne }
+ >>
+ >>
+ \new TabStaff \with { stringTunings = #`( ,(ly:make-pitch 0 2 0)
+ ,(ly:make-pitch -1 6 0) ,(ly:make-pitch -1 4 0)
+ ,(ly:make-pitch -1 1 0) ,(ly:make-pitch -2 5 0)
+ ,(ly:make-pitch -2 2 0) ) } <<
+ \context TabStaff <<
+ \context TabVoice = "PartPTwoVoiceOne" { \PartPTwoVoiceOne }
+ >>
+ >>
+
+ >>
+ \layout {}
+ % To create MIDI output, uncomment the following line:
+ % \midi {}
+ }
+
diff --git a/info/latex4musicians/Figures/bravura.tex b/info/latex4musicians/Figures/bravura.tex
new file mode 100644
index 0000000000..6944bf3c40
--- /dev/null
+++ b/info/latex4musicians/Figures/bravura.tex
@@ -0,0 +1,36 @@
+\documentclass{article}
+\usepackage{fontspec}
+\thispagestyle{empty}
+
+\newfontfamily\brtxt{BravuraText.otf}[Path=/usr/share/fonts/]
+\newfontfamily\brv{Bravura.otf}[Path=/usr/share/fonts/]
+
+\newcommand{\clefGi} {{\brtxt \char"E050}}
+\newcommand{\clefCi} {{\brtxt \char"E05C}}
+\newcommand{\clefFi} {{\brtxt \char"E062}}
+
+\newcommand{\clefG} {{\brv \char"E050}}
+\newcommand{\clefC} {{\brv \char"E05C}}
+\newcommand{\clefF} {{\brv \char"E062}}
+\newcommand{\timeC} {{\brv \char"E08A}}
+\newcommand{\timeCHalf} {{\brv \char"E08B}}
+\renewcommand{\flat} {{\brv \char"E260}}
+\renewcommand{\natural} {{\brv \char"E261}}
+\renewcommand{\sharp} {{\brv \char"E262}}
+\newcommand{\wholeNote} {{\brv \char"E1D2}}
+\newcommand{\halfNote} {{\brv \char"E1D3}}
+\newcommand{\halfNoteDown}{{\brv \char"E1D4}}
+\newcommand{\quarterNote} {{\brv \char"E1D5}}
+
+\begin{document}
+
+The Bravura and BravuraText Music fonts provide thousands of music
+symbols. BravuraText glyphs are specifically \clefGi\ designed
+\clefFi\ to be used \clefCi\ inline:
+
+clefs:~ \clefG\ \clefC\ \clefF\ ~time signatures:~
+\timeC\ \timeCHalf\ ~accidentals:~ \sharp\ \flat\ \natural\
+~notes:~ \wholeNote\ \halfNote\ \halfNoteDown\ \quarterNote\
+~and much, much more.
+
+\end{document}
diff --git a/info/latex4musicians/Figures/breeches.abc b/info/latex4musicians/Figures/breeches.abc
new file mode 100644
index 0000000000..2a5313aacb
--- /dev/null
+++ b/info/latex4musicians/Figures/breeches.abc
@@ -0,0 +1,10 @@
+X:92
+T:Breeches Full of Stitches
+R:polka
+M:2/4
+L:1/8
+K:Amaj
+A>B cA | BA ce | A>B cA | BA F2 |\
+A>B cA | BA ce | A>B AF | FE E2 :|
+e>f ec | BA Bc | e>f ec | BA F2 |\
+e>f ec | BA Bc | A>B AF | FE E2 :|
diff --git a/info/latex4musicians/Figures/chordii.cho b/info/latex4musicians/Figures/chordii.cho
new file mode 100644
index 0000000000..c674579a93
--- /dev/null
+++ b/info/latex4musicians/Figures/chordii.cho
@@ -0,0 +1,10 @@
+{titles:left}
+{title:Imagine}
+{st:John Lennon}
+
+(Intro, x 2)
+[C] [Cmaj7] [F]
+[C]Imagine there's [Cmaj7]no [F]heaven
+[C]It's easy if [Cmaj7]you [F]try
+[C]No hell [Cmaj7]below [F]us
+[C]Above us [Cmaj7]only [F]sky
diff --git a/info/latex4musicians/Figures/chords.tex b/info/latex4musicians/Figures/chords.tex
new file mode 100644
index 0000000000..b23b02f8bf
--- /dev/null
+++ b/info/latex4musicians/Figures/chords.tex
@@ -0,0 +1,11 @@
+\documentclass[12pt]{article}
+\usepackage[minimal]{leadsheets}
+\useleadsheetslibraries{chords}
+\thispagestyle{empty}
+
+\begin{document}
+
+Let's typeset some chords: \writechord{Bb7(#9)} \writechord{Bbb6}
+\writechord{C#7(b9)} \writechord{C##13}
+
+\end{document}
diff --git a/info/latex4musicians/Figures/drowsy.abc b/info/latex4musicians/Figures/drowsy.abc
new file mode 100644
index 0000000000..dab1e922d5
--- /dev/null
+++ b/info/latex4musicians/Figures/drowsy.abc
@@ -0,0 +1,9 @@
+X:55
+T: Drowsy Maggie
+M: C|
+L: 1/8
+R: reel
+K: Edor
+|: E2BE dEBE | E2BE AFDF | E2BE dEBE | BABc dAFD :|[K:D]
+ d2fd c2ec |defg afge | d2fd c2ec | BABc dAFA |
+ d2fd c2ec |defg afge | afge fdec |BABc dAFD |]
diff --git a/info/latex4musicians/Figures/fellow.abc b/info/latex4musicians/Figures/fellow.abc
new file mode 100644
index 0000000000..b8cf386686
--- /dev/null
+++ b/info/latex4musicians/Figures/fellow.abc
@@ -0,0 +1,12 @@
+X: 1
+% T: For He's a Jolly Good Fellow
+M: 6/8
+L: 1/8
+K: CMaj
+%
+G | "C"E2E EDE | F3 E2 E | \
+w:For he's a jol-ly good fel-low, for
+"G"D2D DCD | "C"E3 C2 C | "C7"E2E EDE | \
+w:he's a jo-ly good fel-low, for he's a jol-ly good
+"F"F3 HA2 A | "C"GAG "G"F2 D| "C"C3 z3 |]
+w:fel-low, which no-bo-dy can de-ny!
diff --git a/info/latex4musicians/Figures/gchords.tex b/info/latex4musicians/Figures/gchords.tex
new file mode 100644
index 0000000000..11b483227a
--- /dev/null
+++ b/info/latex4musicians/Figures/gchords.tex
@@ -0,0 +1,21 @@
+\documentclass{article}
+\usepackage{gchords}
+\thispagestyle{empty}
+
+\begin{document}
+
+\def\numfrets{4}
+
+\chords{ % print a row of chords
+% fingers: n, x, o, p{n}, f{n}
+% C chord: finger 3 pos. 3, finger 2 pos. 2, finger 1 pos. 1
+\chord{t}{n,f3p3,f2p2,n,f1p1,n}{C}
+\chord{t}{n,n,p2,p2,p1,n}{Am}
+\chord{t}{x,n,n,p2,p3,p1}{Dm}
+\chord{t3}{n,p2,n,p1,n,n}{G7 (ugly)}
+{\tiny % font size for string labels, t{X}
+\chord{t}{t{E}n,t{A}n,t{D}n,t{G}n,t{B}n,t{e}n}
+{std. tuning} }
+}
+
+\end{document}
diff --git a/info/latex4musicians/Figures/gcschemes.tex b/info/latex4musicians/Figures/gcschemes.tex
new file mode 100644
index 0000000000..2f0ad7f03f
--- /dev/null
+++ b/info/latex4musicians/Figures/gcschemes.tex
@@ -0,0 +1,41 @@
+\documentclass{article}
+\usepackage{guitarchordschemes}
+\thispagestyle{empty}
+
+\begin{document}
+
+% general parameters
+\setchordscheme{
+ rotate=-90,
+ x-unit=2.5mm, % chord size, x
+ y-unit=3mm, % chord size, y
+ name-format=\bfseries, % chord name font
+ finger-format=\bfseries%
+ \footnotesize % fingering font
+}
+
+\newsavebox{\Gstd}
+\savebox{\Gstd}{
+\chordscheme[ % define the chord
+ name = G (Sol), % chord name
+ position = 1, % first fret position
+ finger = {2/5:2} , % fret, string, finger
+ finger = {3/6:3} , % fret, string, finger
+ finger = {3/1:4} , % fret, string, finger
+ ring = {2,3,4} % open strings
+]}
+
+\newsavebox{\Gbarre}
+\savebox{\Gbarre}{
+\chordscheme[
+ name = G (Sol) barre,
+ position = 3,
+ barre = 1/1-6, % fret, string range
+ finger = {2/3:2},
+ finger = {3/5:3},
+ finger = {3/4:4}
+]}
+
+\usebox{\Gstd}\usebox{\Gbarre}
+
+\end{document} \ No newline at end of file
diff --git a/info/latex4musicians/Figures/gdiagram.tex b/info/latex4musicians/Figures/gdiagram.tex
new file mode 100644
index 0000000000..64388f3d42
--- /dev/null
+++ b/info/latex4musicians/Figures/gdiagram.tex
@@ -0,0 +1,15 @@
+\documentclass{article}
+\usepackage{gchords}
+\thispagestyle{empty}
+
+\begin{document}
+
+\def\numfrets{4}
+
+\chords{
+\chord{t}{n,p3,p2,n,p1,n}{C}
+\chord{t}{n,n,p2,p2,p1,n}{Am}
+\chord{t}{x,n,n,p2,p3,p1}{Dm}
+}
+
+\end{document}
diff --git a/info/latex4musicians/Figures/glyphs.tex b/info/latex4musicians/Figures/glyphs.tex
new file mode 100644
index 0000000000..efde1e7fd2
--- /dev/null
+++ b/info/latex4musicians/Figures/glyphs.tex
@@ -0,0 +1,13 @@
+\documentclass{article}
+\usepackage[minimal]{leadsheets}
+\useleadsheetslibraries{musicsymbols}
+\useleadsheetslibraries{chords}
+\thispagestyle{empty}
+
+\begin{document}
+
+\large
+\sharp\ \flat\ \trebleclef\ \altoclef\ \bassclef\ \meterC\
+\writechord{Bb7(#9)}
+
+\end{document}
diff --git a/info/latex4musicians/Figures/glyphs_ls.tex b/info/latex4musicians/Figures/glyphs_ls.tex
new file mode 100644
index 0000000000..bdd915a7dd
--- /dev/null
+++ b/info/latex4musicians/Figures/glyphs_ls.tex
@@ -0,0 +1,19 @@
+\documentclass{article}
+\usepackage[minimal]{leadsheets}
+\useleadsheetslibraries{musicsymbols}
+\thispagestyle{empty}
+
+\begin{document}
+
+Leadsheets makes the music symbol font provided by MusiX\TeX\
+available as text font and then uses it to define a number
+of symbols:
+
+\sharp\ \doublesharp\ \flat\ \doubleflat\ \natural\
+\trebleclef\ \altoclef\ \bassclef\ \meterC\ \allabreve\
+\meter{12}{8}\ \wholerest\ \halfrest\ \quarterrest\
+\eighthrest\ \sixteenthrest\ \Break\ \normalbar\
+\leftrepeat\ \rightrepeat\ \leftrightrepeat\ \doublebar\
+\stopbar
+
+\end{document}
diff --git a/info/latex4musicians/Figures/gtablature.ly b/info/latex4musicians/Figures/gtablature.ly
new file mode 100644
index 0000000000..0af7e8c84b
--- /dev/null
+++ b/info/latex4musicians/Figures/gtablature.ly
@@ -0,0 +1,17 @@
+\version "2.18.2"
+\header {
+tagline = "" % no footer
+}
+
+\paper { left-margin = 0\cm }
+
+notes = {
+ \time 3/4
+ c4 d e f g a b a b c'2 r4
+}
+
+\score {
+ <<
+ \new TabStaff { \notes }
+ >>
+}
diff --git a/info/latex4musicians/Figures/gtrcrd.tex b/info/latex4musicians/Figures/gtrcrd.tex
new file mode 100644
index 0000000000..b721a927a5
--- /dev/null
+++ b/info/latex4musicians/Figures/gtrcrd.tex
@@ -0,0 +1,25 @@
+\documentclass{article}
+\thispagestyle{empty}
+\usepackage{gtrcrd}
+
+\setlength{\crdheight}{2ex} % reduce spacing
+\def\crdfont{\footnotesize \itshape \sffamily} % st chord font
+\setlength{\parindent}{0pt} % no indentation
+
+\begin{document}
+
+\textbf{Imagine (John Lennon)}
+
+\emph{Intro, $\times$ 2}
+
+% if chords overlap, use \hspace:
+\C {\hspace{3mm}} \C[maj7] {\hspace{10mm}} \F ~
+
+\C Imagine there's \C[maj7] no {\hspace{5mm}} \F heaven
+
+\C It's easy if \C[maj7] you {\hspace{2mm}} \F try
+
+\C No hell \C[maj7] below \F us
+
+\C Above us \C[maj7] only {\hspace{2mm}} \F sky
+\end{document}
diff --git a/info/latex4musicians/Figures/guitar.tex b/info/latex4musicians/Figures/guitar.tex
new file mode 100644
index 0000000000..f5cee20465
--- /dev/null
+++ b/info/latex4musicians/Figures/guitar.tex
@@ -0,0 +1,20 @@
+\documentclass{article}
+\thispagestyle{empty}
+\usepackage{guitar}
+
+\begin{document}
+
+\begin{guitar}
+ \textbf{Imagine (John Lennon)}
+
+ \emph{Intro, $\times$ 2}
+ % use tilde to add some space
+ [C] ~ [Cmaj7] ~ [F] ~
+ % if chords overlap, add | at the end of the chord, like:
+ [C]Imagine there's [Cmaj7|]{no} [F]heaven
+ [C]It's easy if [Cmaj7|]{you} [F]try
+ [C]No hell [Cmaj7|]{below} [F]us
+ [C]Above us [Cmaj7|]{only} [F]sky
+\end{guitar}
+
+\end{document}
diff --git a/info/latex4musicians/Figures/guitartabs.tex b/info/latex4musicians/Figures/guitartabs.tex
new file mode 100644
index 0000000000..d9c49f8ef1
--- /dev/null
+++ b/info/latex4musicians/Figures/guitartabs.tex
@@ -0,0 +1,34 @@
+\documentclass{guitartabs}
+\thispagestyle{empty}
+
+\begin{document}
+
+\Large
+
+\begin{tabline}{4}{4}{4}{E,A,D,G,B,e}
+ % bar 1
+ % note 1 of 3, string 5, fret 4, note lenght 1/4
+ \notel{1}{3}{5}{3}{4}
+ % note 2 of 3, string 4, fret 0, note lenght 1/4
+ \notel{2}{3}{4}{0}{4}
+ \notel{3}{3}{4}{2}{4}
+ % bar 2
+ \nextbar
+ \notel{1}{3}{4}{3}{4}
+ \notel{2}{3}{3}{0}{4}
+ \notel{3}{3}{3}{2}{4}
+ % bar 3
+ \nextbar
+ \notel{1}{3}{2}{0}{4}
+ \notel{2}{3}{3}{2}{4}
+ \notel{3}{3}{2}{0}{4}
+ % bar 4
+ \nextbar
+ \notel{1}{3}{2}{1}{2}
+ % rests
+ \restquarter{2}{3}
+ \restquarter{3}{3}
+\end{tabline}
+
+
+\end{document} \ No newline at end of file
diff --git a/info/latex4musicians/Figures/happyb.abc b/info/latex4musicians/Figures/happyb.abc
new file mode 100644
index 0000000000..0c649708b5
--- /dev/null
+++ b/info/latex4musicians/Figures/happyb.abc
@@ -0,0 +1,10 @@
+X: 1
+% T: Happy Birthday
+M: 3/4
+L: 1/4
+K: F
+%
+C/>C/| "F"DCF | "C"E2 C/>C/ | "C7"DCG | "F"F2 C/>C/|
+w: Hap-py birth-day to you, hap-py birth-day to you, hap-py
+cAF | "Bb"ED B/>B/| "F"AF"C"G | "F"F2z |]
+w: birth-day dear Gui-do, hap-py birth-day to you!
diff --git a/info/latex4musicians/Figures/jingle.ly b/info/latex4musicians/Figures/jingle.ly
new file mode 100644
index 0000000000..cf3fc0fee0
--- /dev/null
+++ b/info/latex4musicians/Figures/jingle.ly
@@ -0,0 +1,20 @@
+% Twelfth Street Rag
+
+\version "2.18.2"
+\header { tagline = "" } % no footer
+\paper { left-margin = 0\cm }
+
+music = \relative c' {
+ \time 2/4 \key ees \major
+ bes16 a bes c bes8-. r8 | bes16 a bes c bes8-. r8 |
+ bes16 bes8 bes16 c8 d | ees4-. r4 |
+}
+
+\score {
+ <<
+ \new Staff { \clef "G_8" \music } % sheet music
+ \new TabStaff { \tabFullNotation \music } % tablature
+ >>
+ \layout { }
+ \midi { \tempo 4 = 128 }
+}
diff --git a/info/latex4musicians/Figures/julia.abc b/info/latex4musicians/Figures/julia.abc
new file mode 100644
index 0000000000..8961eeef4c
--- /dev/null
+++ b/info/latex4musicians/Figures/julia.abc
@@ -0,0 +1,8 @@
+X:63
+T: Julia Delaney's
+M: C|
+L: 1/8
+R: reel
+K: Ddor
+|: dcAG ~F2EF|~E2 DE FD D2|dcAG FGAA|Addc d2 fe :|
+ f2fe fagf |ecgc acgc |f2fe fagf|edcG Add2 :|
diff --git a/info/latex4musicians/Figures/kyrie.gabc b/info/latex4musicians/Figures/kyrie.gabc
new file mode 100644
index 0000000000..2b9051c917
--- /dev/null
+++ b/info/latex4musicians/Figures/kyrie.gabc
@@ -0,0 +1,5 @@
+name:Kyrie XVII;
+%%
+(c4)KY(f)ri(gfg)e(h.) *()
+e(ixjvIH'GhvF'E)lé(ghg')i(g)son.(f.)
+<i>bis</i>(::)
diff --git a/info/latex4musicians/Figures/kyrie.tex b/info/latex4musicians/Figures/kyrie.tex
new file mode 100644
index 0000000000..3a1c222ea7
--- /dev/null
+++ b/info/latex4musicians/Figures/kyrie.tex
@@ -0,0 +1,10 @@
+\documentclass{article}
+\thispagestyle{empty}
+
+\usepackage[autocompile]{gregoriotex}
+
+\begin{document}
+
+\gregorioscore{kyrie}
+
+\end{document}
diff --git a/info/latex4musicians/Figures/leadsheets.tex b/info/latex4musicians/Figures/leadsheets.tex
new file mode 100644
index 0000000000..f70ccbdea3
--- /dev/null
+++ b/info/latex4musicians/Figures/leadsheets.tex
@@ -0,0 +1,22 @@
+\documentclass{article}
+\usepackage[songs]{leadsheets}
+\thispagestyle{empty}
+
+\begin{document}
+
+\begin{song}{title={Imagine}, music={John Lennon}}
+\begin{verse}
+
+ Intro, $\times$ 2\\
+ \chord{C}~ \chord{Cmaj7}~ \chord{F}~
+
+ % The ^ character is a shortcut for \chord
+ \chord{C}Imagine there's ^{Cmaj7}no ^{F}heaven \\
+ ^{C}It's easy if ^{Cmaj7}you ^{F}try \\
+ ^{C}No hell ^{Cmaj7}below ^{F}us \\
+ ^{C}Above us ^{Cmaj7}only ^{F}sky \\
+
+\end{verse}
+\end{song}
+
+\end{document}
diff --git a/info/latex4musicians/Figures/lilyglyphs.tex b/info/latex4musicians/Figures/lilyglyphs.tex
new file mode 100644
index 0000000000..580f4f107b
--- /dev/null
+++ b/info/latex4musicians/Figures/lilyglyphs.tex
@@ -0,0 +1,21 @@
+\documentclass{article}
+\usepackage{fontspec}
+\usepackage{lilyglyphs}
+\thispagestyle{empty}
+
+\begin{document}
+
+Lilyglyphs makes the music symbol font provided by LilyPond available
+as text font and then uses it to define a number of symbols, some
+\clefGInline\ of which \clefCInline\ can be used \clefFInline\ inline:
+
+clefs:~ \clefG\ \clefC\ \clefF\ ~time signatures:~
+\lilyTimeC\ \lilyTimeCHalf\ \lilyTimeSignature{7}{8}\
+~accidentals:~ \sharp\ \flat\ \natural\ \doublesharp\ \flatflat\
+~rests:~ \wholeNoteRest\ \halfNoteRest\ \crotchetRest\
+~notes:~ \wholeNote\ \halfNote\ \halfNoteDown\ \quarterNote\
+\quarterNoteDotted\
+~and much, much more.
+
+
+\end{document}
diff --git a/info/latex4musicians/Figures/lilytab.ly b/info/latex4musicians/Figures/lilytab.ly
new file mode 100644
index 0000000000..5c667755e4
--- /dev/null
+++ b/info/latex4musicians/Figures/lilytab.ly
@@ -0,0 +1,15 @@
+\version "2.18.2"
+\header { tagline = "" } % no footer
+\paper { left-margin = 0\cm }
+
+music = {
+ \time 3/4
+ c4 d e f g a b a b c'2 r4 \bar "|."
+}
+
+\score {
+ <<
+ \new Staff { \clef "G_8" \music } % sheet music
+ \new TabStaff { \tabFullNotation \music } % tablature
+ >>
+}
diff --git a/info/latex4musicians/Figures/mtxlatex.sty b/info/latex4musicians/Figures/mtxlatex.sty
new file mode 100644
index 0000000000..6061de4b40
--- /dev/null
+++ b/info/latex4musicians/Figures/mtxlatex.sty
@@ -0,0 +1,91 @@
+% mtxlatex.sty: Macro package to make music scores using Latex
+% or produce LaTeX documents containing music examples
+% Dirk Laurie dlaurie@na-net.ornl.gov 2001-12-27
+% Update: see \mtxdate below
+% Some comments on usage appear at the bottom
+
+\ifx\mtxlatex\undefined\else\endinput\fi
+
+\def\MTx{\mbox{\textbf{\textsl{M-Tx}}}}
+\def\PMX{\textbf{PMX}}
+\def\musixlyr{\texttt{\textbf{musixlyr}}}
+
+\input musixtex
+\input musixltx
+
+% Preamble TeX commands for documents that contain .ex files
+% generated by M-Tx/PMX
+
+\def\mtxlatex{
+\input musixmad
+\def\mtxversion{mtxLaTeX}
+\def\mtxdate{<16 March 2005>}
+\input mtx
+\renewcommand{\BIGfont}{\Huge\bfseries}
+\renewcommand{\Bigfont}{\Large\bfseries}
+% Kill the PMX definition of \parskip.
+\parskip=0pt plus 1pt
+}
+% Extra vertical space evenly spread between systems
+\renewcommand\alaligne{\stoppiece\vfill\contpiece}
+\def\scoreheight{\textheight 260mm}
+\def\scorewidth{\textwidth 193mm}
+
+\newcommand{\startscore}{\let\SmuF\startmuflex\let\EmuF\endmuflex
+\scorewidth\scoreheight
+\oddsidemargin -15mm\evensidemargin -15mm\topmargin -20mm
+\ifx\mysizes\undefined\else\mysizes\fi
+\let\startmuflex\relax\let\endmuflex\relax\let\bye\relax%
+\let\nopagenumbers\relax\musicparskip}
+\newcommand\headingandcontents[1]{\markboth{#1}{#1}\addcontentsline{toc}
+ {section}{\protect\numberline{}{#1}}}
+
+% The environment 'Score' is suitable for scores submitted to the
+% Werner Icking music archive
+\newenvironment{Score}[2]{\headingandcontents{#1}
+\startscore\input #2
+}{\markboth{}{}}
+
+% The environment 'score' requires you to do your own input
+\newenvironment{score}{\startscore}{}
+
+\newenvironment{excerpts}{
+\newlength\keepOSM\setlength\keepOSM\oddsidemargin
+\newlength\keepTM\setlength\keepTM\topmargin
+\global\setlength\oddsidemargin{-13mm} \global\setlength\topmargin{-20mm}
+\let\startmuflex\relax\let\endmuflex\relax
+\let\nopagenumbers\relax \let\bye\relax \let\vfill\relax \let\eject\relax
+\musicparskip
+\renewcommand{\BIGfont}{\Large\bfseries}
+\renewcommand{\Bigfont}{\large\bfseries}
+}{\global\setlength\oddsidemargin\keepOSM\global\setlength\topmargin\keepTM}
+
+\newenvironment{mus}%
+{\begin{minipage}{260mm}\startscore\musicparskip}%
+{\assignlyrics1{}\assignlyrics2{}%
+\gdef\mtxTitle{}\end{minipage}}
+
+\def\example#1#2#3#4#5#6#7#8{
+\noindent\begin{minipage}[t]{#3}
+\begin{mus} \vskip #6
+\input{#1.tex}
+\end{mus}
+\end{minipage}\hskip #4
+\begin{minipage}[#7]{#5} \vskip #8
+\verbatiminput{#1.#2}
+\end{minipage}}
+
+\endinput
+
+============================================================================
+
+\example{basename}{ext}
+ {musicwidth}{separation}{codewidth}
+ {musicvskip}{alignment}{codevskip}
+
+Set music example together with M-Tx (or other) code.
+
+basename - musicfile is basename.tex
+ext - codefile is basename.ext
+separation - distance between music and code minipages
+alignment - c, t or b (for code minipage)
diff --git a/info/latex4musicians/Figures/musicography.tex b/info/latex4musicians/Figures/musicography.tex
new file mode 100644
index 0000000000..4ac88892ea
--- /dev/null
+++ b/info/latex4musicians/Figures/musicography.tex
@@ -0,0 +1,18 @@
+\documentclass{article}
+\usepackage{musicography}
+\thispagestyle{empty} % no page number
+
+\begin{document}
+
+Musicography makes the music symbol font provided by MusiX\TeX\
+available as text font and then uses it to define a number
+of symbols:
+
+\musFlat\ \musSharp\ \musNatural\ \musDoubleFlat\ \musDoubleSharp\
+\musWhole\ \musHalf\ \musQuarter\ \musEighth\ \musSixteenth\
+\musWholeDotted\ \musHalfDotted\ \musQuarterDotted\
+\musEighthDotted\ \musSixteenthDotted\
+\meterC\ \meterCutC\ \meterCThree\ \meterCThreeTwo\ \meterCZ\
+\musMeter{7}{8}
+
+\end{document} \ No newline at end of file
diff --git a/info/latex4musicians/Figures/musixguit.tex b/info/latex4musicians/Figures/musixguit.tex
new file mode 100644
index 0000000000..aa4497a478
--- /dev/null
+++ b/info/latex4musicians/Figures/musixguit.tex
@@ -0,0 +1,25 @@
+\documentclass{article}
+\usepackage{musixguit}
+\thispagestyle{empty}
+
+\begin{document}
+
+\textbf{Imagine (John Lennon)}
+
+\begin{song}
+
+\emph{Intro, $\times$ 2}
+
+\chord{C} ~ \chord{Cmaj7} {\hspace{8mm}} \chord{F}
+
+\chord{C}Imagine there's \chord{Cmaj7}no~~~ \chord{F}heaven
+
+\chord{C}It's easy if \chord{Cmaj7}you~~ \chord{F}try
+
+\chord{C}No hell \chord{Cmaj7}below \chord{F}us
+
+\chord{C}Above us \chord{Cmaj7}only~ \chord{F}sky
+
+\end{song}
+
+\end{document}
diff --git a/info/latex4musicians/Figures/musixtab.tex b/info/latex4musicians/Figures/musixtab.tex
new file mode 100644
index 0000000000..5505918de2
--- /dev/null
+++ b/info/latex4musicians/Figures/musixtab.tex
@@ -0,0 +1,256 @@
+% Extension for MusiXTeX - Guitar Tablatures
+%
+% This file contains some macros which extend MusiXTeX with some
+% common notations for guitar tablatures. It is recommended that
+% you use a 6-line system (assuming a 6-string guitar) and increase
+% the space between its staves, e.g.:
+%
+% \setlines16
+% \setsize1\largevalue
+\makeatletter
+
+% Clef symbol that displays "TAB" vertically (looks best with
+% \smallmusicsize)
+\def\tabclefsymbolsmall{\vtop to .75\Interligne{%
+ \vss%
+ \hbox to 2.5\Interligne{\hss\tinytype\bf T}%
+ \vskip -1\Interligne
+ \hbox to 2.5\Interligne{\hss\tinytype\bf A}%
+ \vskip -1\Interligne
+ \hbox to 2.5\Interligne{\hss\tinytype\bf B}}}
+
+% Display guitar string numbers on staves
+%
+% Usage: \str{<string>}{<number>}
+% <string>: string number between 1 and 6
+% <number>: any number (or other text) to put onto the string
+% (usually a fret number between 0 and 24)
+%
+% \str inserts horizontal space after the number (like other
+% MusiXTeX notes). To insert a non-spacing string note, use
+% \zstr.
+\def\strerr{\errmessage{str macro requires a string number from 1--6}}
+\def\zstr#1#2{%
+ \ifcase#1\relax\strerr
+ \or\def\@strnr{-1}%
+ \or\def\@strnr{1}%
+ \or\def\@strnr{3}%
+ \or\def\@strnr{5}%
+ \or\def\@strnr{7}%
+ \or\def\@strnr{9}%
+ \else\strerr
+ \fi
+ \cchar\@strnr{\tinytype\bf\roffset{.35}{#2}}}
+\def\str#1#2{\zstr{#1}{#2}\sk}
+
+% Insert a Palm Mute indicator (P.M.) starting at the current position.
+%
+% Usage: \palmmute{<pitch>}{<length>}
+% <pitch>: vertical level at which the palm mute is placed
+% <length>: length of the line in multiples of \noteskip
+%
+% This will insert a palm mute indicator looking similar to this:
+% P.M.-----------|
+% If <length> is sufficiently small, no line will be inserted, just
+% P.M.
+\newtoks\@pmstring
+\chardef\@pmlinechar=45
+\chardef\@pmendchar=21
+\newdimen\@pmboxminwd
+\@pmboxminwd=2.3em
+\def\palmmute{\check@staff
+ \n@v\@pmlinechar \n@ii\@pmendchar\global\@pmstring={P.M.}\fi
+ \@drawpm}
+\def\@drawpm#1#2{\check@staff
+ \y@v#2\noteskip%
+ \ifnum #2<2
+ \zcharnote{#1}{\loff{\hbox\@to\@pmboxminwd{%
+ \@pminit}}}%
+ \else
+ \zcharnote{#1}{\loff{\hbox\@to\y@v{%
+ \@pminit\xleaders\hbox{\char\n@v}\hfill\mxsps\char\n@ii}}}%
+ \fi\fi}
+\def\@pminit{%
+ \setbox\w@rkbox\hbox{\tinytype\the\@pmstring}%
+ \box\w@rkbox}
+
+% Insert a Hammer On or Pull Off symbol.
+%
+% Usage: \hammeron{<pitch>}{<offset>}
+% \pulloff{<pitch>}{<offset>}
+% <pitch>: vertical level at which the symbol is placed
+% <offset>: horizontal offset from the current position
+% in note head widths
+%
+% \hammeron will insert an "H", while \pulloff will insert
+% a "P".
+\def\hammeron#1#2{%
+ \ccharnote{#1}{\tinytype\roffset{#2}{H}}}
+\def\pulloff#1#2{%
+ \ccharnote{#1}{\tinytype\roffset{#2}{P}}}
+
+% Insert a Natural Harmonics or Artifical Harmonics
+% indicator.
+%
+% Usage: \harmonics{<pitch>}{<offset>}
+% \aharmonics{<pitch>}{<offset>}
+% <pitch>: vertical level at which the symbol is placed
+% <offset>: horizontal offset from the current position
+% in note head widths
+%
+% \harmonics will insert "Harm.", while \aharmonics will
+% insert "A.H.".
+\def\harmonics#1#2{%
+ \ccharnote{#1}{\tinytype\roffset{#2}{Harm.}}}
+\def\aharmonics#1#2{%
+ \ccharnote{#1}{\tinytype\roffset{#2}{A.H.}}}
+
+% Insert a bend indicator at the current position.
+%
+% Usage: \bendhalf{<pitch>}{<textpitch>}{<offset>}
+% \bendfull{<pitch>}{<textpitch>}{<offset>}
+% <pitch>: vertical level at which the lower end of the
+% bend curve is placed
+% <textpitch>: vertical level at which the text is placed
+% <offset>: horizontal offset from the current position
+% in note head widths
+%
+% \bendhalf uses the text "1/2", while \bendfull uses the
+% text "Full".
+%
+% There are more commands like \Bendhalf, \Bendfull, and
+% \Bend, which allow full control over the curve parameters,
+% text etc. However, they should rarely be necessary.
+\newtoks\@bendslurid
+\newtoks\@bendstring
+\newtoks\@bendho
+\newtoks\@bendvo
+\newtoks\@bendht
+\newtoks\@bendvt
+\newtoks\@bendcur
+\newtoks\@bendang
+\@bendslurid={14}
+
+\def\@rstbendho{\global\@bendho={2}}
+\def\@rstbendvo{\global\@bendvo={2}}
+\def\@rstbendht{\global\@bendht={4}}
+\def\@rstbendvt{\global\@bendvt={6}}
+\def\@rstbendcur{\global\@bendcur={-.4}}
+\def\@rstbendang{\global\@bendang={.2}}
+\def\@rstbend{\@rstbendho\@rstbendvo\@rstbendht\@rstbendvt\@rstbendcur\@rstbendang}
+
+\def\@setbendstring#1{\global\@bendstring={#1}}
+\def\@setbendho#1{\global\@bendho={#1}}
+\def\@setbendvo#1{\global\@bendvo={#1}}
+\def\@setbendht#1{\global\@bendht={#1}}
+\def\@setbendvt#1{\global\@bendvt={#1}}
+\def\@setbendcur#1{\global\@bendcur={#1}}
+\def\@setbendang#1{\global\@bendang={#1}}
+
+\def\bendhalf{\check@staff
+ \@rstbend\@setbendstring{1/2}\fi
+ \@drawbend}
+\def\Bendhalf#1#2{\check@staff
+ \@rstbend\@setbendstring{1/2}%
+ \@setbendht{#1}\@setbendvt{#2}\fi
+ \@drawbend}
+\def\bendfull{\check@staff
+ \@rstbend\@setbendstring{Full}\fi
+ \@drawbend}
+\def\Bendfull#1#2{\check@staff
+ \@rstbend\@setbendstring{Full}%
+ \@setbendht{#1}\@setbendvt{#2}\fi
+ \@drawbend}
+\def\Bend#1#2#3#4#5#6#7{\check@staff
+ \@rstbend\@setbendstring{#1}%
+ \@setbendho{#2}\@setbendvo{#3}\@setbendht{#4}%
+ \@setbendvt{#5}\@setbendcur{#6}\@setbendang{#7}\fi
+ \@drawbend}
+\def\@drawbend#1#2#3{\check@staff
+ \roffset{#3}{\iSlur{\the\@bendslurid}{#1}{\the\@bendvo}{\the\@bendho}%
+ \tSlur{\the\@bendslurid}{#1}{\the\@bendvt}{\the\@bendht}{\the\@bendcur}{\the\@bendang}%
+ \ccharnote{#2}{\tinytype\roffset{\the\@bendho}{\the\@bendstring}}}%
+ \fi}
+
+% Insert a slide indicator at the current position.
+%
+% Usage: \gslide{<pitch>}{<length>}{<slope>}
+% \gslidet{<pitch>}{<length>}{<slope>}{<textpitch>}{<textoffset>}
+% \gSlide{<pitch>}{<voffset>}{<length>}{<slope>}
+% \gSlidet{<pitch>}{<voffset>}{<length>}{<slope>}{<textpitch>}{<textoffset>}
+% <pitch>: vertical level at which the beginning of the
+% line is placed
+% <voffset>: additional vertical offset (for fine-tuning
+% the line position)
+% <length>: length of the line (values smaller than 2
+% may cause weird behavior)
+% <slope>: slope of the line (should be in [-20,20] range)
+% <textpitch>: vertical level at which the text is placed
+% <textoffset>: horizontal offset from the current position
+% in note head widths for the text
+%
+% These commands insert a straight line. The text versions
+% additionally insert the text "sl." in italics.
+\newtoks\@gslidestring
+\newtoks\@gslideho
+\newtoks\@gslidevp
+\newtoks\@gslidevo
+\newtoks\@gslidelen
+\newtoks\@gslideslp
+\newtoks\@gslidestrho
+\newtoks\@gslidestrvp
+
+\def\@rstgslideho{\global\@gslideho={1.5}}
+\def\@rstgslidevp{\global\@gslidevp={m}}
+\def\@rstgslidevo{\global\@gslidevo={0}}
+\def\@rstgslidelen{\global\@gslidelen={3}}
+\def\@rstgslideslp{\global\@gslideslp={-10}}
+\def\@rstgslidestrho{\global\@gslidestrho={1.8}}
+\def\@rstgslidestrvp{\global\@gslidestrvp={p}}
+\def\@rstgslide{\@rstgslideho\@rstgslidevp\@rstgslidevo\@rstgslidelen\@rstgslideslp\@rstgslidestrho\@rstgslidestrvp}
+
+\def\@setgslidestring#1{\global\@gslidestring={#1}}
+\def\@setgslideho#1{\global\@gslideho={#1}}
+\def\@setgslidevp#1{\global\@gslidevp={#1}}
+\def\@setgslidevo#1{\global\@gslidevo={#1}}
+\def\@setgslidelen#1{\global\@gslidelen={#1}}
+\def\@setgslideslp#1{\global\@gslideslp={#1}}
+\def\@setgslidestrho#1{\global\@gslidestrho={#1}}
+\def\@setgslidestrvp#1{\global\@gslidestrvp={#1}}
+
+\def\gslide#1#2#3{\check@staff
+ \@rstgslide\@setgslidevp{#1}%
+ \@setgslidelen{#2}\@setgslideslp{#3}\fi
+ \@drawgslide}
+\def\gslidet#1#2#3#4#5{\check@staff
+ \@rstgslide\@setgslidevp{#1}%
+ \@setgslidelen{#2}\@setgslideslp{#3}%
+ \@setgslidestrvp{#4}\@setgslidestrho{#5}\@setgslidestring{sl.}\fi
+ \@drawgslide\@drawgslidestr}
+\def\gslideT#1#2#3#4#5#6{\check@staff
+ \@rstgslide\@setgslidevp{#1}%
+ \@setgslidelen{#2}\@setgslideslp{#3}%
+ \@setgslidestrvp{#4}\@setgslidestrho{#5}\@setgslidestring{#6}\fi
+ \@drawgslide\@drawgslidestr}
+\def\gSlide#1#2#3#4{\check@staff
+ \@rstgslide\@setgslidevp{#1}\@setgslidevo{#2}%
+ \@setgslidelen{#3}\@setgslideslp{#4}\fi
+ \@drawgslide}
+\def\gSlidet#1#2#3#4#5#6{\check@staff
+ \@rstgslide\@setgslidevp{#1}\@setgslidevo{#2}%
+ \@setgslidelen{#3}\@setgslideslp{#4}%
+ \@setgslidestrvp{#5}\@setgslidestrho{#6}\@setgslidestring{sl.}\fi
+ \@drawgslide\@drawgslidestr}
+\def\gSlideT#1#2#3#4#5#6#7{\check@staff
+ \@rstgslide\@setgslidevp{#1}\@setgslidevo{#2}%
+ \@setgslidelen{#3}\@setgslideslp{#4}%
+ \@setgslidestrvp{#5}\@setgslidestrho{#6}\@setgslidestring{#7}\fi
+ \@drawgslide\@drawgslidestr}
+\def\@drawgslide{\check@staff
+ \zcharnote{\the\@gslidevp}{\roffset{\the\@gslideho}{\varline{\the\@gslidevo}{\the\@gslidelen\qn@width}{\the\@gslideslp}}}%
+ \fi}
+\def\@drawgslidestr{\check@staff
+ \zcharnote{\the\@gslidestrvp}{\tinytype\it\roffset{\the\@gslidestrho}{\the\@gslidestring}}%
+ \fi}
+
+\makeatother
diff --git a/info/latex4musicians/Figures/notes.abc b/info/latex4musicians/Figures/notes.abc
new file mode 100644
index 0000000000..6414103388
--- /dev/null
+++ b/info/latex4musicians/Figures/notes.abc
@@ -0,0 +1,5 @@
+X: 1
+L: 1/4
+K: C
+%
+CEGc |
diff --git a/info/latex4musicians/Figures/pdfcrop.sh b/info/latex4musicians/Figures/pdfcrop.sh
new file mode 100644
index 0000000000..87430839bf
--- /dev/null
+++ b/info/latex4musicians/Figures/pdfcrop.sh
@@ -0,0 +1,38 @@
+#!/bin/sh
+
+# pdfcrop.sh
+# Guido Gonzato, PhD. GPL 2 or later.
+
+MYSELF=$(basename $0)
+
+if [ $# -eq 0 ] ; then
+ printf "Usage: ${MYSELF} <file.pdf>\n"
+ printf "This script uses 'gs' to crop a one-page pdf file.\n\n"
+ exit 1
+fi
+
+# GhostScript for Windows must be installed in C:\Gs
+# GS=/c/gs/gs9.26/bin/gswin64c.exe
+# GNU/Linux and others:
+GS=/usr/bin/gs
+
+INPUT=$1
+PDF=$(basename $1 .pdf)
+OUTPUT=$PDF-crop.pdf
+GSOPTS="-q -sDEVICE=bbox -dBATCH -dNOPAUSE"
+
+# find out the bounding box
+$GS $GSOPTS $INPUT 2>&1 | grep "%%B" > $PDF.bbox
+
+# read bbox coordinates in variables
+read tmp X1 Y1 X2 Y2 < $PDF.bbox
+
+# write the output, cropped to bbox
+$GS -q -o $OUTPUT \
+ -sDEVICE=pdfwrite \
+ -c "[ /CropBox [$X1 $Y1 $X2 $Y2] /PAGES pdfmark" \
+ -f $INPUT
+
+/bin/rm -f $PDF.bbox
+
+echo "$INPUT cropped to $OUTPUT"
diff --git a/info/latex4musicians/Figures/sample-abc-all.tex b/info/latex4musicians/Figures/sample-abc-all.tex
new file mode 100644
index 0000000000..505c2cf9ff
--- /dev/null
+++ b/info/latex4musicians/Figures/sample-abc-all.tex
@@ -0,0 +1,132 @@
+% typeset with:
+% pdflatex -shell-escape sample-abc-all.tex
+
+\documentclass{article}
+\thispagestyle{empty}
+\usepackage[generate,ps2eps]{abc}
+
+% --- M-Tx support
+\newenvironment{mtx}[1][]
+{\renewcommand{\normalabcoutputfile}{out-mtx}%
+\abc[program=musixtex,options={-g},extension=mtx,#1]}
+{\endabc}
+\newcommand{\mtxinput}[2][]{%
+\abcinput[program=musixtex,options={-g},extension=mtx,#1]{#2}}
+
+% --- PMW support
+\newenvironment{pmw}[1][]
+{\renewcommand{\normalabcoutputfile}{out-pmw}%
+\abc[program=pmw,options={-includefont},extension=pmw,#1]}
+{\endabc}
+\newcommand{\pmwinput}[2][]{%
+\abcinput[program=pmw,options={-includefont},extension=pmw,#1]{#2}}
+
+% --- LilyPond support
+% !!! BUG: the LilyPond source must begin with a \null command
+\newenvironment{lily}[1][]
+{\renewcommand{\normalabcoutputfile}{out-lily}%
+\abc[program=lilypond,options={-d backend=eps},extension=ly,#1]}
+{\endabc}
+\newcommand{\lilyinput}[2][]{%
+\abcinput[program=lilypond,options={--ps},extension=ly,#1]{#2}}
+
+% --- MUP support
+\newenvironment{mup}[1][]
+{\renewcommand{\normalabcoutputfile}{out-mup}%
+\abc[program=mup,options={-F},extension=mup,#1]}
+{\endabc}
+\newcommand{\mupinput}[2][]{%
+\abcinput[program=mup,options={-F},extension=mup,#1]{#2}}
+
+% --- ABC must be redefined
+\newenvironment{ABC}[1][]
+{\renewcommand{\normalabcoutputfile}{out-ABC}%
+\abc[program=abcm2ps,options={-O=},extension=abc,#1]}
+{\endabc}
+\newcommand{\ABCinput}[2][]{%
+\abcinput[program=abcm2ps,options={-O=},extension=abc,#1]{#2}}
+
+\begin{document}
+
+This document includes music excerpts written in several formats. It
+uses \texttt{abc.sty} and defines new environments.
+
+This is a short piece, typeset by M-Tx:
+
+\begin{mtx}
+Title: \bigtype Music sample in M-Tx
+Style: Solo
+Meter: C
+Width: 160mm
+
+c4 d8 e f g a b | c4 b8 a g f e d | c8 g+ e g c- g+ e g | c4- e c r |
+\end{mtx}
+
+The same piece, typeset by LilyPond:
+
+\begin{lily}
+ % twice - it's required to avoid a bug
+\version "2.18.2"
+\version "2.18.2"
+
+\header {
+ title = "Music sample in LilyPond"
+ tagline = "" % no footer
+}
+
+\relative c' {
+ \time 4/4
+ \clef treble
+ c4 d8 e f8 g a b | c4 b8 a g8 f e d |
+ c8 g' e g c,8 g' e g | c,4 e c r \bar "|."
+}
+\end{lily}
+
+The same piece, typeset by PMW:
+
+\begin{pmw}
+Heading "|Music sample in PMW"
+Key C
+Time 4/4
+
+[stave 1 treble 1]
+c d- e-; f-g-a-b-; | c' b- a-; g-f-e-d-; |
+c-g-e-g-; c-g-e-g-; |c e c r |
+[endstave]
+\end{pmw}
+
+The same piece, typeset by MUP:
+
+\begin{mup}
+// music sample in MUP notation
+
+header
+ title "Music sample in MUP"
+
+score
+ time=4/4
+
+music
+ 1: 4c; 8d bm; e ebm; f bm; g; a; b ebm;
+ bar
+ 1: 4c+; 8b bm; a ebm; g bm; f; e; d ebm;
+ bar
+ 1: 8c bm; g; e; g ebm; c bm; g; e; g ebm;
+ bar
+ 1: 4c; e; c; r;
+ endbar
+\end{mup}
+
+The same piece, typeset by abcm2ps:
+
+\begin{ABC}
+X: 1
+T: Music sample in ABC
+M: 4/4
+L: 1/4
+K: C
+%
+C D/E/ F/G/A/B/|c B/A/ G/F/E/D/|C/G/E/G/ C/G/E/G/|CECz|]
+\end{ABC}
+
+\end{document}
diff --git a/info/latex4musicians/Figures/sample-abc.abc b/info/latex4musicians/Figures/sample-abc.abc
new file mode 100644
index 0000000000..1f178649c4
--- /dev/null
+++ b/info/latex4musicians/Figures/sample-abc.abc
@@ -0,0 +1,7 @@
+X: 1
+T: Music sample in ABC
+M: C
+L: 1/4
+K: C
+%
+C D/E/ F/G/A/B/|c B/A/ G/F/E/D/|C/G/E/G/ C/G/E/G/|CECz|]
diff --git a/info/latex4musicians/Figures/sample-abc.tex b/info/latex4musicians/Figures/sample-abc.tex
new file mode 100644
index 0000000000..fb19807911
--- /dev/null
+++ b/info/latex4musicians/Figures/sample-abc.tex
@@ -0,0 +1,27 @@
+\documentclass{article}
+\usepackage[generate,ps2eps]{abc}
+\thispagestyle{empty}
+
+\begin{document}
+
+This is an Irish reel:
+
+\begin{abc}[name=julia,program={abcm2ps -O=}]
+X:63
+T: Julia Delaney's
+M: C|
+L: 1/8
+R: reel
+K: Ddor
+|: dcAG ~F2EF|~E2 DE FD D2|dcAG FGAA|Addc d2 fe :|
+ f2fe fagf |ecgc acgc |f2fe fagf|edcG Add2 :|
+\end{abc}
+
+This is an Irish polka, slighly smaller:
+
+\abcinput[program={abcm2ps -O=},width=0.9\abcwidth]
+{breeches}
+
+End of document.
+
+\end{document}
diff --git a/info/latex4musicians/Figures/sample-all.tex b/info/latex4musicians/Figures/sample-all.tex
new file mode 100644
index 0000000000..507de59454
--- /dev/null
+++ b/info/latex4musicians/Figures/sample-all.tex
@@ -0,0 +1,36 @@
+\documentclass{article}
+\thispagestyle{empty}
+\usepackage[generate,ps2eps]{abc}
+
+% --- M-Tx support
+\newenvironment{mtx}[1][]
+{\renewcommand{\normalabcoutputfile}{out-mtx}%
+\abc[program=musixtex,options={-g},extension=mtx,#1]}
+{\endabc}
+\newcommand{\mtxinput}[2][]{%
+\abcinput[program=musixtex,options={-g},extension=mtx,#1]{#2}}
+
+% --- PMW support
+\newenvironment{pmw}[1][]
+{\renewcommand{\normalabcoutputfile}{out-pmw}%
+\abc[program=pmw,options={-includefont},extension=pmw,#1]}
+{\endabc}
+\newcommand{\pmwinput}[2][]{%
+\abcinput[program=pmw,options={-includefont},extension=pmw,#1]{#2}}
+
+\begin{document}
+
+This document includes music excerpts written in different formats. It
+uses \texttt{abc.sty} and defines new environments.
+
+This is a short piece, typeset by M-Tx:
+
+\mtxinput{sample-mtx}
+
+The same piece, typeset by PMW:
+
+\pmwinput{sample-pmw}
+
+End of document.
+
+\end{document}
diff --git a/info/latex4musicians/Figures/sample-includeall.tex b/info/latex4musicians/Figures/sample-includeall.tex
new file mode 100644
index 0000000000..1db830dd09
--- /dev/null
+++ b/info/latex4musicians/Figures/sample-includeall.tex
@@ -0,0 +1,81 @@
+% typeset with:
+% pdflatex -shell-escape sample-example.tex
+
+\documentclass{article}
+\thispagestyle{empty}
+\usepackage[generate,ps2eps]{abc}
+
+% --- M-Tx support
+% https://ctan.org/pkg/m-tx
+
+\newcommand{\mtxinput}[2][]{%
+\abcinput[program=musixtex,options={-g},extension=mtx,#1]{#2}}
+
+% --- PMW support
+% http://people.ds.cam.ac.uk/ph10/pmw.html
+
+\newcommand{\pmwinput}[2][]{%
+\abcinput[program=pmw,options={-includefont},extension=pmw,#1]{#2}}
+
+% --- LilyPond support
+% http://lilypond.org/
+
+\newcommand{\lilyinput}[2][]{%
+\abcinput[program=lilypond,options={-d backend=eps},extension=ly,#1]{#2}}
+
+% --- MUP support
+% http://arkkra.com/
+
+\newcommand{\mupinput}[2][]{%
+\abcinput[program=mup,options={-F},extension=mup,#1]{#2}}
+
+% --- ABC is supported by default
+
+\begin{document}
+
+This document includes music excerpts written in several formats. It
+uses \texttt{abc.sty} and defines new environments.
+
+\bigskip
+
+This is a short piece, typeset by M-Tx:
+
+\medskip
+
+\mtxinput{sample-mtx}
+
+\medskip
+
+The same piece, typeset by LilyPond:
+
+\medskip
+
+\lilyinput{sample-lilypond}
+
+\medskip
+
+The same piece, typeset by PMW:
+
+\medskip
+
+\pmwinput{sample-pmw}
+
+\medskip
+
+The same piece, typeset by MUP:
+
+\medskip
+
+\mupinput{sample-mup}
+
+\medskip
+
+The same piece, typeset by abcm2ps:
+
+\medskip
+
+\abcinput[program=abcm2ps,options={-c -O=},extension=abc]{sample-abc}
+
+\end{document}
+
+% End of file `sample-includeall.tex'.
diff --git a/info/latex4musicians/Figures/sample-latexmtx.ltx b/info/latex4musicians/Figures/sample-latexmtx.ltx
new file mode 100644
index 0000000000..8dcd97c493
--- /dev/null
+++ b/info/latex4musicians/Figures/sample-latexmtx.ltx
@@ -0,0 +1,23 @@
+\documentclass[12pt]{article}
+\usepackage{mtxlatex} % usually not installed
+\thispagestyle{empty}
+
+\mtxlatex
+
+% compile with:
+% musixtex sample-mtx scale sample-latexmtx.ltx
+
+\begin{document}
+
+This \LaTeX\ document includes music written in M-Tx. The
+\texttt{mus} environment includes music inline:
+\begin{mus} \input{scale.tex} \end{mus} , while the
+\texttt{excerpts} environment is used for longer excerpts:
+
+\medskip
+
+\begin{excerpts}
+ \input{sample-mtx.tex}
+\end{excerpts}
+
+\end{document}
diff --git a/info/latex4musicians/Figures/sample-lilybook.lytex b/info/latex4musicians/Figures/sample-lilybook.lytex
new file mode 100644
index 0000000000..61c64df467
--- /dev/null
+++ b/info/latex4musicians/Figures/sample-lilybook.lytex
@@ -0,0 +1,29 @@
+\documentclass{article}
+\thispagestyle{empty}
+
+\begin{document}
+
+This is a LilyPond snippet \begin{lilypond} {c' e' g'}
+\end{lilypond} embedded in the \LaTeX{} source.
+
+This is another LilyPond excerpt that uses the \texttt{lilypond}
+environment:
+
+\medskip
+
+\begin{lilypond}
+ \score {
+ \relative c' {
+ \time 4/4
+ \clef treble
+ c4 d8 e f8 g a b | c4 b8 a g8 f e d |
+ c8 g' e g c,8 g' e g | c,4 e c r \bar "|."
+ }
+ } % end of score
+\end{lilypond}
+
+\medskip
+
+End of document.
+
+\end{document}
diff --git a/info/latex4musicians/Figures/sample-lilypond.ly b/info/latex4musicians/Figures/sample-lilypond.ly
new file mode 100644
index 0000000000..82ee67907f
--- /dev/null
+++ b/info/latex4musicians/Figures/sample-lilypond.ly
@@ -0,0 +1,17 @@
+% music sample in LilyPond notation
+
+\version "2.18.2"
+
+\header {
+ title = "Music sample in LilyPond"
+ tagline = "" % no footer
+}
+
+\paper { left-margin = 0\cm }
+
+\relative c' {
+ \time 4/4
+ \clef treble
+ c4 d8 e f8 g a b | c4 b8 a g8 f e d |
+ c8 g' e g c,8 g' e g | c,4 e c r \bar "|."
+}
diff --git a/info/latex4musicians/Figures/sample-lyluatex.tex b/info/latex4musicians/Figures/sample-lyluatex.tex
new file mode 100644
index 0000000000..410380d6e4
--- /dev/null
+++ b/info/latex4musicians/Figures/sample-lyluatex.tex
@@ -0,0 +1,30 @@
+\documentclass{article}
+\usepackage{lyluatex}
+\thispagestyle{empty}
+
+\begin{document}
+
+This is a LilyPond snippet \lilypond{c' e' g'} embedded in the text
+using the \verb|\lilypond| command.
+
+This is another LilyPond excerpt that uses the \texttt{lilypond}
+environment:
+
+\medskip
+
+\begin{lilypond}
+ \score {
+ \relative c' {
+ \time 4/4
+ \clef treble
+ c4 d8 e f8 g a b | c4 b8 a g8 f e d |
+ c8 g' e g c,8 g' e g | c,4 e c r \bar "|."
+ }
+ } % end of score
+\end{lilypond}
+
+\medskip
+
+End of document.
+
+\end{document}
diff --git a/info/latex4musicians/Figures/sample-mlatex.tex b/info/latex4musicians/Figures/sample-mlatex.tex
new file mode 100644
index 0000000000..2837c85069
--- /dev/null
+++ b/info/latex4musicians/Figures/sample-mlatex.tex
@@ -0,0 +1,38 @@
+\documentclass{article}
+\usepackage{musixtex}
+\thispagestyle{empty}
+
+\begin{document}
+
+A short music excerpt in MusiX\TeX:
+
+\medskip
+
+\begin{music}
+ \smallmusicsize
+ \instrumentnumber{1}
+ \setstaffs1{1}
+ \generalmeter{\meterC}
+ \nobarnumbers
+ \startextract
+ % bar 1
+ \Notes \qu c \en % C
+ \notes \ibu1d2\qb1d\tbu1\qb1e \en % beamed DE
+ \notes \ibu1g2\qb1f\qb1g%
+ \qb1{'a}\tbu1\qb1b \en % beamed FGAB
+ \bar % bar 2
+ \Notes \ql{'c} \en % c
+ \notes \ibu1{'b}{-3}% % beam slope
+ \qb1b\tbu1\qb1a \en % beamed BA
+ \notes \ibu1{g}{-3}%
+ \qb1g\qb1f\qb1e\tbu1\qb1d \en % beamed GFED
+ \bar % bar 3
+ \notes \ibu1f0\qb1c\qb1g\qb1e\tbu1\qb1g% % beamed CGEG
+ \ibu1f0\qb1c\qb1g\qb1e\tbu1\qb1g \en % beamed CGEG
+ \bar % bar 4
+ \Notes \qu c\qu e\qu c\qp \en % CEC
+ \endextract
+
+\end{music}
+
+\end{document}
diff --git a/info/latex4musicians/Figures/sample-mtex.tex b/info/latex4musicians/Figures/sample-mtex.tex
new file mode 100644
index 0000000000..3cffaf028f
--- /dev/null
+++ b/info/latex4musicians/Figures/sample-mtex.tex
@@ -0,0 +1,19 @@
+% bare MusiXTeX example
+
+\input musixtex
+\nopagenumbers
+
+\setstaffs1{1} % a single stave
+\setclef1{\treble} % with a treble clef
+\generalmeter{\meterC} % common time
+\nobarnumbers % what it says
+\startextract % a short music piece
+ % \qu = quarter note, stem up;
+ % \ql = quarter note, stem down;
+ % \Notes, \en = start and end of note line
+ \Notes \qu c \qu d \qu e \qu f \en
+ \bar
+ \Notes \qu g \qu{'a} \ql b \ql c \en
+\endextract
+
+\end
diff --git a/info/latex4musicians/Figures/sample-mtx.mtx b/info/latex4musicians/Figures/sample-mtx.mtx
new file mode 100644
index 0000000000..ea8ac90b9b
--- /dev/null
+++ b/info/latex4musicians/Figures/sample-mtx.mtx
@@ -0,0 +1,8 @@
+% music sample in M-Tx notation
+
+Title: \bigtype Music sample in M-Tx
+Style: Solo
+Meter: C
+Width: 160mm
+
+c4 d8 e f g a b | c4 b8 a g f e d | c8 g+ e g c- g+ e g | c4- e c r |
diff --git a/info/latex4musicians/Figures/sample-mtx.pmx b/info/latex4musicians/Figures/sample-mtx.pmx
new file mode 100644
index 0000000000..068d63542f
--- /dev/null
+++ b/info/latex4musicians/Figures/sample-mtx.pmx
@@ -0,0 +1,27 @@
+---
+\def\mtxversion{0.63a}
+\def\mtxdate{<8 April 2018>}
+\input mtx
+\mtxTitleLine{\bigtype Music sample in M-Tx}
+---
+1 -1 1 4 4 0 6 0.00000 0 1 1 20 0
+
+0
+./
+Tt
+\mtxTitle
+w160m
+% Paragraph 3 line 8 bar 1
+c44 d8 e8 f8 g8 a8 b8 | /
+
+%Bar 2
+c4 b8 a8 g8 f8 e8 d8 | /
+
+%Bar 3
+c8 g8+ e8 g8 c8- g8+ e8 g8 | /
+
+%Bar 4
+c4- e4 c4 r4 | Rb
+ /
+
+% Coded by M-Tx
diff --git a/info/latex4musicians/Figures/sample-mtx.tex b/info/latex4musicians/Figures/sample-mtx.tex
new file mode 100644
index 0000000000..abfccd7041
--- /dev/null
+++ b/info/latex4musicians/Figures/sample-mtx.tex
@@ -0,0 +1,50 @@
+%%%%%%%%%%%%%%%%%
+%
+% sample-mtx.tex
+%
+%%%%%%%%%%%%%%%%
+\def\mtxversion{0.63a}
+\def\mtxdate{<8 April 2018>}
+\input mtx
+\mtxTitleLine{\bigtype Music sample in M-Tx}
+\input musixtex
+\input pmx
+\setmaxslurs{24}\setmaxinstruments{24}%
+\normalmusicsize%
+\nopagenumbers
+\tracingstats=2\relax
+\hsize=454pt
+\vsize740pt
+\def\nbinstruments{1}
+\setstaffs11
+\setclef10
+\setname1{ }
+\generalsignature{ 0}%
+\generalmeter\meterC%
+\parindent 0pt
+\elemskip1pt\afterruleskip1.000pt\beforeruleskip0pt\relax
+\stafftopmarg0pt\staffbotmarg5\Interligne\interstaff{10}\relax
+\nostartrule
+\readmod{sample-mtx}
+\startmuflex\startpiece\addspace\afterruleskip%
+\znotes\zcharnote{16}{\titles{2.0}{}{0}%
+{\mtxTitle}{2.0}{}{0}}\en%
+% Bar count 1
+\pnotes{2.83}\qu c\en%
+\pnotes{2.00}\ibu1d2\qb1d\tbu1\qb1e\ibu1g2\qb1f\qb1g\qb1{'a}\tbu1\qb1b%
+\en%
+% Bar count 2
+\xbar
+\pnotes{2.83}\ql{'c}\en%
+\pnotes{2.00}\ibu1{'b}{-2}\qb1b\tbu1\qb1a\ibu1{`f}{-2}\qb1g\qb1f\qb1e%
+\tbu1\qb1d\en%
+% Bar count 3
+\xbar
+\pnotes{2.00}\ibu1f0\qb1c\qb1g\qb1e\tbu1\qb1g\ibu1f0\qb1c\qb1g\qb1e%
+\tbu1\qb1g\en%
+% Bar count 4
+\xbar
+\pnotes{2.83}\qu c\qu e\qu c\qp\en%
+\endpiece
+\vfill\eject\endmuflex
+\bye
diff --git a/info/latex4musicians/Figures/sample-mup.mup b/info/latex4musicians/Figures/sample-mup.mup
new file mode 100644
index 0000000000..76249b9de1
--- /dev/null
+++ b/info/latex4musicians/Figures/sample-mup.mup
@@ -0,0 +1,17 @@
+// music sample in MUP notation
+
+header
+ title "Music sample in MUP"
+
+score
+ time=4/4
+
+music
+ 1: 4c; 8d bm; e ebm; f bm; g; a; b ebm;
+ bar
+ 1: 4c+; 8b bm; a ebm; g bm; f; e; d ebm;
+ bar
+ 1: 8c bm; g; e; g ebm; c bm; g; e; g ebm;
+ bar
+ 1: 4c; e; c; r;
+ endbar
diff --git a/info/latex4musicians/Figures/sample-musixtex-tab.tex b/info/latex4musicians/Figures/sample-musixtex-tab.tex
new file mode 100644
index 0000000000..29471a6b7f
--- /dev/null
+++ b/info/latex4musicians/Figures/sample-musixtex-tab.tex
@@ -0,0 +1,24 @@
+% bare MusiXTeX example
+
+\input musixtex
+\nopagenumbers
+
+This is a MusiXTeX tablature example:
+
+\setlines16 % six lines
+\setstaffs1{1}
+\setclefsymbol1{\tabclef} % and a TAB clef
+\nobarnumbers
+\let\extractline\leftline % left aligned
+
+\startextract
+ \Notes \tab{5}{3} \tab{4}{0} \tab{4}{2} \en
+ \bar
+ \Notes \tab{4}{3} \tab{3}{0} \tab{3}{2} \en
+ \bar
+ \Notes \tab{2}{0} \tab{3}{2} \tab{2}{0} \en
+ \bar
+ \Notes \tab{2}{1} \qp \qp \en
+\endextract
+
+\end
diff --git a/info/latex4musicians/Figures/sample-pmw.pmw b/info/latex4musicians/Figures/sample-pmw.pmw
new file mode 100644
index 0000000000..7809fea8b2
--- /dev/null
+++ b/info/latex4musicians/Figures/sample-pmw.pmw
@@ -0,0 +1,10 @@
+@ music sample in PMW
+
+Heading "|Music sample in PMW"
+Key C
+Time 4/4
+
+[stave 1 treble 1]
+c d- e-; f-g-a-b-; | c' b- a-; g-f-e-d-; |
+c-g-e-g-; c-g-e-g-; |c e c r |
+[endstave]
diff --git a/info/latex4musicians/Figures/sample-songbook.orig.tex b/info/latex4musicians/Figures/sample-songbook.orig.tex
new file mode 100644
index 0000000000..39d6b4c057
--- /dev/null
+++ b/info/latex4musicians/Figures/sample-songbook.orig.tex
@@ -0,0 +1,141 @@
+\documentclass[11pt]{article}
+\usepackage{graphicx}
+\usepackage{gchords}
+\usepackage{guitar}
+
+\begin{document}
+
+\title{A Minimal Songbook}
+\author{Guido Gonzato}
+
+\maketitle
+
+\tableofcontents
+
+\bigskip
+\hrule
+
+% -----
+
+\section{For He's a Jolly Good Fellow}
+
+According to the 1998 Guinness World Records, this is the second most
+recognized song in the English language.
+
+\smallchords
+
+\def\numfrets{4}
+\chords{
+\chord{t}{n,p3,p2,n,p1,n}{C}
+\chord{t}{p3,p2,n,n,n,p3}{G}
+\chord{t1}{n,p2,p2,p1,n,n}{F}
+}
+
+\medskip
+
+\includegraphics[width=\textwidth]{fellow}
+
+% -----
+
+\section{Happy Birthday To You}
+
+According to the 1998 Guinness World Records, it is the most
+recognized song in the English language, followed by ``For He's a
+Jolly Good Fellow''.
+
+\def\numfrets{4}
+\chords{
+\chord{t1}{n,p2,p2,p1,n,n}{F}
+\chord{t}{n,p3,p2,n,p1,n}{C}
+\chord{t}{n,p3,p2,p3,p1,n}{C7}
+\chord{t1}{n,n,p2,p2,p2,n}{Bb}
+}
+
+\medskip
+
+\includegraphics[width=\textwidth]{happyb}
+
+% -----
+
+\section{Twinkle, Twinkle Little Star}
+
+This is a popular English lullaby.
+
+\def\numfrets{4}
+\chords{
+\chord{t}{n,p3,p2,n,p1,n}{C}
+\chord{t1}{n,p2,p2,p1,n,n}{F}
+\chord{t}{x,n,n,p2,p3,p1}{Dm}
+\chord{t}{p3,p2,n,n,n,p3}{G}
+}
+
+\includegraphics[width=\textwidth]{twinkle}
+
+\medskip
+
+\begin{guitar}
+
+[C]Twinkle, twinkle, [F]little [C]star,
+[Dm]How I [C]wonder [G]what you [C]are!
+[C]Up a[Dm]bove the [C]world so [G]high,
+[C]Like a [Dm]diamond [C]in the [G]sky.
+Twinkle{\ldots}
+
+[C]When this blazing [F]sun is [C]gone,
+[Dm]When he [C]nothing [G]shines u[C]pon,
+[C]Then you [Dm]show your [C]little [G]light,
+[C]Twinkle, [Dm]twinkle, [C]through the night.
+Twinkle{\ldots}
+
+[C]Then the [F]traveller in the [C]dark
+[Dm]Thanks you [C]for your [G]tiny [C]spark;
+[C]He could [Dm]not see [C]where to [G]go,
+[C]If you [Dm]did not [C]twinkle [G]so.
+Twinkle{\ldots}
+
+[C]In the dark blue [F]sky you [C]keep,
+And [Dm]often [C]through my [G]curtains [C]peep,
+[C]For you [Dm]never [C]shut your [G]eye
+[C]Till the [Dm]sun is [C]in the [G]sky.
+Twinkle{\ldots}
+
+[C]As your bright and [F]tiny [C]spark
+[Dm]Lights the [C]traveller [G]in the [C]dark,
+[C]Though I [Dm]know not [C]what you [G]are,
+[C]Twinkle, [Dm]twinkle, [C]little [G]star.
+Twinkle{\ldots}
+
+\end{guitar}
+
+% -----
+
+\section{Warm Kitty}
+
+No need to introduce this lullaby!
+
+\def\numfrets{4}
+\chords{
+\chord{t1}{n,n,p2,p2,p2,n}{Bb}
+\chord{t1}{n,p2,p2,p1,n,n}{F}
+\chord{t1}{n,p2,n,p1,n,n}{F7}
+}
+
+\medskip
+
+\includegraphics[width=\textwidth]{happyb}
+
+\medskip
+
+\begin{guitar}
+
+[Bb]Soft kitty, [F]warm kitty
+
+[Bb]Little ball of [F]fur [F7]
+
+[Bb]Happy kitty, [F]sleepy kitty
+
+[Bb]Purr, [F]purr, [Bb]purr
+
+\end{guitar}
+
+\end{document} \ No newline at end of file
diff --git a/info/latex4musicians/Figures/sample-songbook.tex b/info/latex4musicians/Figures/sample-songbook.tex
new file mode 100644
index 0000000000..ec55cb3e02
--- /dev/null
+++ b/info/latex4musicians/Figures/sample-songbook.tex
@@ -0,0 +1,107 @@
+\documentclass[11pt]{article}
+\usepackage{graphicx}
+\usepackage{gchords}
+\usepackage{guitar}
+
+\begin{document}
+
+\title{A Minimal Songbook}
+\author{Guido Gonzato}
+\date{\today}
+
+\maketitle
+\tableofcontents
+
+% -----
+
+\section{For He's a Jolly Good Fellow}
+
+% Typically sung to congratulate somebody.
+
+\smallchords
+
+\def\numfrets{4}
+\begin{minipage}[c]{\linewidth} % use less space
+ \chords{
+ \chord{t}{n,p3,p2,n,p1,n}{C}
+ \chord{t}{p3,p2,n,n,n,p3}{G}
+ \chord{t}{n,p3,p2,p3,p1,n}{C7}
+ \chord{t1}{n,p2,p2,p1,n,n}{F}
+}
+\end{minipage}
+
+\medskip
+
+\includegraphics[width=\textwidth]{fellow}
+
+\bigskip
+
+\begin{guitar}
+
+For [C]he's a jolly good fellow,
+For [G]he's a jolly good [C]fellow,
+For [C7]he's a jolly good [F]fellow,
+Which [C]nobody [G]can [C]deny.
+
+\end{guitar}
+
+% -----
+
+\section{Happy Birthday To You}
+
+% Sung to remind somebody they're growing old.
+
+\def\numfrets{4}
+\begin{minipage}[c]{\linewidth}
+ \chords{
+ \chord{t1}{n,p2,p2,p1,n,n}{F}
+ \chord{t}{n,p3,p2,n,p1,n}{C}
+ \chord{t}{n,p3,p2,p3,p1,n}{C7}
+ \chord{t1}{n,n,p2,p2,p2,n}{Bb}
+}
+\end{minipage}
+
+\medskip
+
+\includegraphics[width=\textwidth]{happyb}
+
+\bigskip
+
+\begin{guitar}
+Happy [F]birthday to [C]you,
+Happy [C7]birthday to [F]you,
+Happy birthday dear [Bb]Guido,
+Happy [F]birthday [C]to [F]you!
+\end{guitar}
+
+% -----
+
+\section{Warm Kitty}
+
+% No need to introduce this lullaby!
+
+\def\numfrets{4}
+\begin{minipage}[c]{\linewidth}
+\chords{
+ \chord{t}{n,n,p2,p2,p2,n}{A}
+ \chord{t}{n,p2,p2,p1,n,n}{E}
+ \chord{t}{n,p2,p2,p1,p3,n}{E7}
+}
+\end{minipage}
+
+\medskip
+
+\includegraphics[width=\textwidth]{warm}
+
+\bigskip
+
+\begin{guitar}
+
+[A]Soft kitty, [E]warm kitty
+[A]Little ball of [E]fur [E7]~
+[A]Happy kitty, [E]sleepy kitty
+[A]Purr, [E]purr, [A]purr
+
+\end{guitar}
+
+\end{document}
diff --git a/info/latex4musicians/Figures/scale.mtx b/info/latex4musicians/Figures/scale.mtx
new file mode 100644
index 0000000000..2f3e6f326b
--- /dev/null
+++ b/info/latex4musicians/Figures/scale.mtx
@@ -0,0 +1,6 @@
+Style: Solo
+Meter: C
+Size: 13pt
+Width: 30mm
+
+c8 d e f g2 |
diff --git a/info/latex4musicians/Figures/scale.pmx b/info/latex4musicians/Figures/scale.pmx
new file mode 100644
index 0000000000..ffe916b089
--- /dev/null
+++ b/info/latex4musicians/Figures/scale.pmx
@@ -0,0 +1,16 @@
+---
+\def\mtxversion{0.63a}
+\def\mtxdate{<8 April 2018>}
+\input mtx
+---
+1 -1 1 4 4 0 6 0.00000 0 1 1 16 0
+
+0
+./
+\\mtxSetSize{1}{\mtxSmallSize}\
+w30m
+% Paragraph 2 line 6 bar 1
+c84 d8 e8 f8 g2 | Rb
+ /
+
+% Coded by M-Tx
diff --git a/info/latex4musicians/Figures/scale.tex b/info/latex4musicians/Figures/scale.tex
new file mode 100644
index 0000000000..59c6f5bfcb
--- /dev/null
+++ b/info/latex4musicians/Figures/scale.tex
@@ -0,0 +1,36 @@
+%%%%%%%%%%%%%%%%%
+%
+% scale.tex
+%
+%%%%%%%%%%%%%%%%
+\def\mtxversion{0.63a}
+\def\mtxdate{<8 April 2018>}
+\input mtx
+\input musixtex
+\input pmx
+\setmaxslurs{24}\setmaxinstruments{24}%
+\smallmusicsize%
+\nopagenumbers
+\tracingstats=2\relax
+\hsize= 85pt
+\vsize740pt
+\def\nbinstruments{1}
+\setstaffs11
+\setclef10
+\setname1{ }
+\generalsignature{ 0}%
+\generalmeter\meterC%
+\parindent 0pt
+\elemskip1pt\afterruleskip1.000pt\beforeruleskip0pt\relax
+\stafftopmarg0pt\staffbotmarg5\Interligne\interstaff{10}\relax
+\nostartrule
+\readmod{scale}
+\mtxSetSize{1}{\mtxSmallSize}%
+\startmuflex\startpiece\addspace\afterruleskip%
+\znotes\zcharnote{16}{\titles{2.0}{}{0}{}{0}{}{0}}\en%
+% Bar count 1
+\pnotes{2.00}\ibu1d2\qb1c\qb1d\qb1e\tbu1\qb1f\en%
+\pnotes{4.00}\hu g\en%
+\endpiece
+\vfill\eject\endmuflex
+\bye
diff --git a/info/latex4musicians/Figures/scale1.abc b/info/latex4musicians/Figures/scale1.abc
new file mode 100644
index 0000000000..e12389adc8
--- /dev/null
+++ b/info/latex4musicians/Figures/scale1.abc
@@ -0,0 +1,3 @@
+X: 1 % start of header
+K: C % scale: C major
+C D E F G A B c | c d e f g a b c' |
diff --git a/info/latex4musicians/Figures/shave.abc b/info/latex4musicians/Figures/shave.abc
new file mode 100644
index 0000000000..7f01d063e4
--- /dev/null
+++ b/info/latex4musicians/Figures/shave.abc
@@ -0,0 +1,10 @@
+%%scale 0.7
+
+X: 1
+L: 1/4
+K: C
+%
+V: 1
+c G/G/ _AG|z !>!B!>!c z|]
+V: 2 clef=tab octave=-1
+c G/G/ _AG|z Bc z|]
diff --git a/info/latex4musicians/Figures/shave.ly b/info/latex4musicians/Figures/shave.ly
new file mode 100644
index 0000000000..d45e17f22e
--- /dev/null
+++ b/info/latex4musicians/Figures/shave.ly
@@ -0,0 +1,17 @@
+% shave.ly
+
+\version "2.18.2"
+\header { tagline = "" } % no footer
+\paper { left-margin = 0\cm }
+
+music = \relative c' {
+ \time 4/4
+ c4^"Scherzando" g8 g aes4 g | r4 b4-> c-> r4 |
+}
+
+\score {
+ <<
+ \new Staff { \clef "G_8" \music }
+ \new TabStaff { \music }
+ >>
+}
diff --git a/info/latex4musicians/Figures/sheet.abc b/info/latex4musicians/Figures/sheet.abc
new file mode 100644
index 0000000000..4a2d3bad0d
--- /dev/null
+++ b/info/latex4musicians/Figures/sheet.abc
@@ -0,0 +1,5 @@
+X: 1
+L: 1/4
+K: C
+%
+c G/G/ _AG|z !>!B!>!c z|]
diff --git a/info/latex4musicians/Figures/songbook.tex b/info/latex4musicians/Figures/songbook.tex
new file mode 100644
index 0000000000..685de43416
--- /dev/null
+++ b/info/latex4musicians/Figures/songbook.tex
@@ -0,0 +1,23 @@
+\documentclass{article}
+\usepackage[chordbk]{songbook}
+\thispagestyle{empty}
+
+\begin{document}
+
+\textbf{Imagine (John Lennon)}
+
+\medskip
+
+\emph{Intro, $\times$ 2}
+
+\Ch{C}~ \Ch{Cmaj7}~ \Ch{F}~
+
+\Ch{C}{Imagine} there's \Ch{Cmaj7}{no} \Ch{F}heaven
+
+\Ch{C}{It's} easy if \Ch{Cmaj7}{you} \Ch{F}{try}
+
+\Ch{C}No hell \Ch{Cmaj7}{below} \Ch{F}us
+
+\Ch{C}{Above} us \Ch{Cmaj7}{only} \Ch{F}{sky}
+
+\end{document}
diff --git a/info/latex4musicians/Figures/songs.tex b/info/latex4musicians/Figures/songs.tex
new file mode 100644
index 0000000000..e2f48fdb80
--- /dev/null
+++ b/info/latex4musicians/Figures/songs.tex
@@ -0,0 +1,25 @@
+\documentclass{article}
+\thispagestyle{empty}
+\usepackage[chorded]{songs}
+
+\begin{document}
+
+\renewcommand{\lyricfont}{\small}
+\renewcommand{\printchord}{\it\small}
+\afterpreludeskip=-18pt
+\beforepostludeskip=-8pt
+
+\begin{songs}{}
+\beginsong{Imagine}[by={John Lennon}]
+\beginverse
+ \emph{Intro, $\times$ 2}
+ \[C] \[Cmaj7] \[F]
+ \[C]Imagine there's \[Cmaj7]no \[F]heaven
+ \[C]It's easy if \[Cmaj7]you \[F]try
+ \[C]No hell \[Cmaj7]below \[F]us
+ \[C]Above us \[Cmaj7]only \[F]sky
+\endverse
+\endsong
+\end{songs}
+
+\end{document}
diff --git a/info/latex4musicians/Figures/songs_all.tex b/info/latex4musicians/Figures/songs_all.tex
new file mode 100644
index 0000000000..5092a2d0ff
--- /dev/null
+++ b/info/latex4musicians/Figures/songs_all.tex
@@ -0,0 +1,25 @@
+\documentclass[a4paper,12pt]{article}
+\thispagestyle{empty}
+\usepackage[chorded]{songs}
+
+\begin{document}
+
+\begin{songs}{}
+\beginsong{Imagine}[by={John Lennon}]
+
+\gtab{C}{032010:032010} \gtab{Cmaj7}{032000:032000}
+\gtab{F}{1:022100} \gtab{G}{3:022100} \gtab{A}{5:022100}
+
+
+\beginverse
+ \emph{Intro, $\times$ 2}
+ \[C] \[Cmaj7] \[F]
+ \[C]Imagine there's \[Cmaj7]no \[F]heaven
+ \[C]It's easy if \[Cmaj7]you \[F]try
+ \[C]No hell \[Cmaj7]below \[F]us
+ \[C]Above us \[Cmaj7]only \[F]sky
+\endverse
+\endsong
+\end{songs}
+
+\end{document}
diff --git a/info/latex4musicians/Figures/songs_g.tex b/info/latex4musicians/Figures/songs_g.tex
new file mode 100644
index 0000000000..86b319e285
--- /dev/null
+++ b/info/latex4musicians/Figures/songs_g.tex
@@ -0,0 +1,11 @@
+\documentclass{article}
+\thispagestyle{empty}
+\usepackage[chorded]{songs}
+
+\begin{document}
+
+% \gtab{chord name}{fret:strings:fingering}
+\gtab{C}{032010:032010} \gtab{Cmaj7}{032000:032000}
+\gtab{F}{1:022100}
+
+\end{document}
diff --git a/info/latex4musicians/Figures/twinkle.abc b/info/latex4musicians/Figures/twinkle.abc
new file mode 100644
index 0000000000..7fab5d0e28
--- /dev/null
+++ b/info/latex4musicians/Figures/twinkle.abc
@@ -0,0 +1,38 @@
+X: 1
+% T: Twinkle, Twinkle Little Star
+M: 4/4
+L: 1/4
+K: C
+%
+"C"CCGG|"F"AA"C"G2|"Dm"FF"C"EE|"G"DD"C"C2|
+w: Twin-kle, twin-kle lit-le star, how I won-der what you are!
+"C"GG"Dm"FF|"C"EE"G"D2|"C"GG"Dm"FF|"C"EE"G"D2|
+w: Up a-bove the world so high, like a dia-mond in the sky.
+"C"CCGG|"F"AA"C"G2|"Dm"FF"C"EE|"G"DD"C"C2|]
+w: Twin-kle, twin-kle lit-le star, how I won-der what you are!
+%
+
+Twinkle, twinkle, little star,
+How I wonder what you are!
+Up above the world so high,
+Like a diamond in the sky.
+
+When this blazing sun is gone,
+When he nothing shines upon,
+Then you show your little light,
+Twinkle, twinkle, through the night.
+
+Then the traveller in the dark
+Thanks you for your tiny spark;
+He could not see where to go,
+If you did not twinkle so.
+
+In the dark blue sky you keep,
+And often through my curtains peep,
+For you never shut your eye
+Till the sun is in the sky.
+
+As your bright and tiny spark
+Lights the traveller in the dark,
+Though I know not what you are,
+Twinkle, twinkle, little star.
diff --git a/info/latex4musicians/Figures/verses-chords.tex b/info/latex4musicians/Figures/verses-chords.tex
new file mode 100644
index 0000000000..875b4058bf
--- /dev/null
+++ b/info/latex4musicians/Figures/verses-chords.tex
@@ -0,0 +1,49 @@
+\documentclass{article}
+\usepackage{guitar}
+\usepackage{gchords}
+\thispagestyle{empty}
+
+\newcommand{\C}{\hspace{-0.8em}\chord{t}{n,p3,p2,n,p1,n}{C}}
+\newcommand{\CmajVII}{\hspace{-0.8em}\chord{t}{n,p3,p2,n,n,n}{Cmaj7}}
+\newcommand{\F}{\hspace{-0.8em}\chord{t1}{n,p2,p2,p1,n,n}{F}}
+
+\def\chordsize{1.5mm}
+\def\numfrets{3}
+\def\namefont{\it}
+
+\begin{document}
+
+\noindent
+We can typeset verses and guitar chord grids in a \texttt{guitar}
+environment:
+
+\bigskip
+
+\begin{minipage}[c]{\linewidth} % to avoid indentation
+ \begin{guitar}
+
+ \textbf{Imagine (John Lennon)}
+ \emph{Intro, $\times$ 2}
+ [\C] \hspace{2em} [\CmajVII] \hspace{2em} [\F] \hspace{2em}
+ [\C]Imagine there's [\CmajVII|]{no} ~ [\F]heaven
+ [\C]It's easy if [\CmajVII|]{you} ~ [\F]try
+
+ \end{guitar}
+\end{minipage}
+
+\noindent
+{\ldots}and so on. But we could just use the \verb|\upchord| command,
+provided by \texttt{gchords}:
+
+\begin{verse}
+
+ \upchord{\C}Imagine there's \upchord{\CmajVII}no \qquad
+ \upchord{\F}heaven
+
+ \upchord{\C}It's easy if \upchord{\CmajVII}you \qquad
+ \upchord{\F}try
+
+\end{verse}
+
+
+\end{document} \ No newline at end of file
diff --git a/info/latex4musicians/Figures/warm.abc b/info/latex4musicians/Figures/warm.abc
new file mode 100644
index 0000000000..3298ae87e3
--- /dev/null
+++ b/info/latex4musicians/Figures/warm.abc
@@ -0,0 +1,7 @@
+X:1
+M:2/4
+L:1/8
+K:Amaj
+%
+"A"e2 cc | "E"d2 BB | "A"AB cd | "E"e2 "E7"z2 |
+"A"e2 cc | "E"d2 BB | "A"A2 "E"B2 | "A"A2 z2 |]