diff options
author | Karl Berry <karl@freefriends.org> | 2019-01-06 22:07:54 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2019-01-06 22:07:54 +0000 |
commit | 3c8cfa33809e130ee90dfed3cc4044294026e2a5 (patch) | |
tree | 3da84846317e1b68e1a5e0adfab5db295a4bb279 /Master/texmf-dist/doc/latex/latex4musicians/Figures | |
parent | 1e38cd4b45c93bd4d0e36e7cfb12fb1a8feb02c4 (diff) |
latex4musicians (5jan19)
git-svn-id: svn://tug.org/texlive/trunk@49621 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex/latex4musicians/Figures')
57 files changed, 1703 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/latex4musicians/Figures/Makefile.sb b/Master/texmf-dist/doc/latex/latex4musicians/Figures/Makefile.sb new file mode 100644 index 00000000000..7b29db6cdf1 --- /dev/null +++ b/Master/texmf-dist/doc/latex/latex4musicians/Figures/Makefile.sb @@ -0,0 +1,29 @@ +# Makefile for songbook.tex + +FIGURES = fellow.pdf happyb.pdf twinkle.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 + +twinkle.pdf: twinkle.abc + abcm2ps -O= twinkle.abc; \ + ps2pdf twinkle.ps; \ + pdfcrop twinkle.pdf; \ + /bin/mv -f twinkle-crop.pdf twinkle.pdf + +clean: + /bin/rm -f .*~ *~ *aux *bak *lo? *to? *out *tmp *bbl *ps diff --git a/Master/texmf-dist/doc/latex/latex4musicians/Figures/abctab.abc b/Master/texmf-dist/doc/latex/latex4musicians/Figures/abctab.abc new file mode 100644 index 00000000000..eff562c2ccc --- /dev/null +++ b/Master/texmf-dist/doc/latex/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/Master/texmf-dist/doc/latex/latex4musicians/Figures/abctab.ly b/Master/texmf-dist/doc/latex/latex4musicians/Figures/abctab.ly new file mode 100644 index 00000000000..55596cf9515 --- /dev/null +++ b/Master/texmf-dist/doc/latex/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/Master/texmf-dist/doc/latex/latex4musicians/Figures/bravura.tex b/Master/texmf-dist/doc/latex/latex4musicians/Figures/bravura.tex new file mode 100644 index 00000000000..6944bf3c401 --- /dev/null +++ b/Master/texmf-dist/doc/latex/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/Master/texmf-dist/doc/latex/latex4musicians/Figures/breeches.abc b/Master/texmf-dist/doc/latex/latex4musicians/Figures/breeches.abc new file mode 100644 index 00000000000..2a5313aacb0 --- /dev/null +++ b/Master/texmf-dist/doc/latex/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/Master/texmf-dist/doc/latex/latex4musicians/Figures/chordii.cho b/Master/texmf-dist/doc/latex/latex4musicians/Figures/chordii.cho new file mode 100644 index 00000000000..c674579a939 --- /dev/null +++ b/Master/texmf-dist/doc/latex/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/Master/texmf-dist/doc/latex/latex4musicians/Figures/drowsy.abc b/Master/texmf-dist/doc/latex/latex4musicians/Figures/drowsy.abc new file mode 100644 index 00000000000..dab1e922d5d --- /dev/null +++ b/Master/texmf-dist/doc/latex/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/Master/texmf-dist/doc/latex/latex4musicians/Figures/fellow.abc b/Master/texmf-dist/doc/latex/latex4musicians/Figures/fellow.abc new file mode 100644 index 00000000000..940be47b225 --- /dev/null +++ b/Master/texmf-dist/doc/latex/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 | 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/Master/texmf-dist/doc/latex/latex4musicians/Figures/gchords.tex b/Master/texmf-dist/doc/latex/latex4musicians/Figures/gchords.tex new file mode 100644 index 00000000000..11b483227a6 --- /dev/null +++ b/Master/texmf-dist/doc/latex/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/Master/texmf-dist/doc/latex/latex4musicians/Figures/gcschemes.tex b/Master/texmf-dist/doc/latex/latex4musicians/Figures/gcschemes.tex new file mode 100644 index 00000000000..5c3588a139f --- /dev/null +++ b/Master/texmf-dist/doc/latex/latex4musicians/Figures/gcschemes.tex @@ -0,0 +1,25 @@ +\documentclass{article} +\usepackage{guitarchordschemes} +\thispagestyle{empty} + +\begin{document} + +\chordscheme[ +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 +] +% +\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}, +] + +\end{document}
\ No newline at end of file diff --git a/Master/texmf-dist/doc/latex/latex4musicians/Figures/gdiagram.tex b/Master/texmf-dist/doc/latex/latex4musicians/Figures/gdiagram.tex new file mode 100644 index 00000000000..64388f3d424 --- /dev/null +++ b/Master/texmf-dist/doc/latex/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/Master/texmf-dist/doc/latex/latex4musicians/Figures/glyphs.tex b/Master/texmf-dist/doc/latex/latex4musicians/Figures/glyphs.tex new file mode 100644 index 00000000000..fed562e2681 --- /dev/null +++ b/Master/texmf-dist/doc/latex/latex4musicians/Figures/glyphs.tex @@ -0,0 +1,11 @@ +\documentclass{article} +\usepackage[minimal]{leadsheets} +\useleadsheetslibraries{musicsymbols} +\thispagestyle{empty} + +\begin{document} + +\large +\sharp\ \flat\ \trebleclef\ \altoclef\ \bassclef\ \meterC\ + +\end{document} diff --git a/Master/texmf-dist/doc/latex/latex4musicians/Figures/glyphs_ls.tex b/Master/texmf-dist/doc/latex/latex4musicians/Figures/glyphs_ls.tex new file mode 100644 index 00000000000..bdd915a7dd4 --- /dev/null +++ b/Master/texmf-dist/doc/latex/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/Master/texmf-dist/doc/latex/latex4musicians/Figures/gtablature.ly b/Master/texmf-dist/doc/latex/latex4musicians/Figures/gtablature.ly new file mode 100644 index 00000000000..0af7e8c84bd --- /dev/null +++ b/Master/texmf-dist/doc/latex/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/Master/texmf-dist/doc/latex/latex4musicians/Figures/gtrcrd.tex b/Master/texmf-dist/doc/latex/latex4musicians/Figures/gtrcrd.tex new file mode 100644 index 00000000000..08d61357c88 --- /dev/null +++ b/Master/texmf-dist/doc/latex/latex4musicians/Figures/gtrcrd.tex @@ -0,0 +1,25 @@ +\documentclass{article} +\thispagestyle{empty} +\usepackage{gtrcrd} + +\setlength{\crdheight}{2ex} % reduce spacing +\def\crdfont{\footnotesize \itshape \sffamily} % chord font +\setlength{\parindent}{0pt} + +\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/Master/texmf-dist/doc/latex/latex4musicians/Figures/guitar.tex b/Master/texmf-dist/doc/latex/latex4musicians/Figures/guitar.tex new file mode 100644 index 00000000000..f5cee204658 --- /dev/null +++ b/Master/texmf-dist/doc/latex/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/Master/texmf-dist/doc/latex/latex4musicians/Figures/guitartabs.tex b/Master/texmf-dist/doc/latex/latex4musicians/Figures/guitartabs.tex new file mode 100644 index 00000000000..7a49de50868 --- /dev/null +++ b/Master/texmf-dist/doc/latex/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}{5}{3}{2} + % rests + \restquarter{2}{3} + \restquarter{3}{3} +\end{tabline} + + +\end{document}
\ No newline at end of file diff --git a/Master/texmf-dist/doc/latex/latex4musicians/Figures/happyb.abc b/Master/texmf-dist/doc/latex/latex4musicians/Figures/happyb.abc new file mode 100644 index 00000000000..0c649708b56 --- /dev/null +++ b/Master/texmf-dist/doc/latex/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/Master/texmf-dist/doc/latex/latex4musicians/Figures/julia.abc b/Master/texmf-dist/doc/latex/latex4musicians/Figures/julia.abc new file mode 100644 index 00000000000..8961eeef4c8 --- /dev/null +++ b/Master/texmf-dist/doc/latex/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/Master/texmf-dist/doc/latex/latex4musicians/Figures/kyrie.gabc b/Master/texmf-dist/doc/latex/latex4musicians/Figures/kyrie.gabc new file mode 100644 index 00000000000..2b9051c9175 --- /dev/null +++ b/Master/texmf-dist/doc/latex/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/Master/texmf-dist/doc/latex/latex4musicians/Figures/kyrie.tex b/Master/texmf-dist/doc/latex/latex4musicians/Figures/kyrie.tex new file mode 100644 index 00000000000..3a1c222ea7a --- /dev/null +++ b/Master/texmf-dist/doc/latex/latex4musicians/Figures/kyrie.tex @@ -0,0 +1,10 @@ +\documentclass{article} +\thispagestyle{empty} + +\usepackage[autocompile]{gregoriotex} + +\begin{document} + +\gregorioscore{kyrie} + +\end{document} diff --git a/Master/texmf-dist/doc/latex/latex4musicians/Figures/leadsheets.tex b/Master/texmf-dist/doc/latex/latex4musicians/Figures/leadsheets.tex new file mode 100644 index 00000000000..c6e15843006 --- /dev/null +++ b/Master/texmf-dist/doc/latex/latex4musicians/Figures/leadsheets.tex @@ -0,0 +1,21 @@ +\documentclass{article} +\usepackage[full]{leadsheets} +\thispagestyle{empty} + +\begin{document} + +\begin{song}{title={Imagine}, music={John Lennon}} +\begin{verse} + + \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{verse} +\end{song} + +\end{document} diff --git a/Master/texmf-dist/doc/latex/latex4musicians/Figures/lilyglyphs.tex b/Master/texmf-dist/doc/latex/latex4musicians/Figures/lilyglyphs.tex new file mode 100644 index 00000000000..a6b9576a8a9 --- /dev/null +++ b/Master/texmf-dist/doc/latex/latex4musicians/Figures/lilyglyphs.tex @@ -0,0 +1,21 @@ +\documentclass{article} +\usepackage{fontspec} +\usepackage{lilyglyphs} +\thispagestyle{empty} % no page number + +\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/Master/texmf-dist/doc/latex/latex4musicians/Figures/lilytab.ly b/Master/texmf-dist/doc/latex/latex4musicians/Figures/lilytab.ly new file mode 100644 index 00000000000..9bfb546ac9e --- /dev/null +++ b/Master/texmf-dist/doc/latex/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 +} + +\score { + << + \new Staff { \clef "G_8" \music } + \new TabStaff { \music } + >> +} diff --git a/Master/texmf-dist/doc/latex/latex4musicians/Figures/mtxlatex.sty b/Master/texmf-dist/doc/latex/latex4musicians/Figures/mtxlatex.sty new file mode 100644 index 00000000000..6061de4b40b --- /dev/null +++ b/Master/texmf-dist/doc/latex/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/Master/texmf-dist/doc/latex/latex4musicians/Figures/musicography.tex b/Master/texmf-dist/doc/latex/latex4musicians/Figures/musicography.tex new file mode 100644 index 00000000000..e2924cd7bd0 --- /dev/null +++ b/Master/texmf-dist/doc/latex/latex4musicians/Figures/musicography.tex @@ -0,0 +1,18 @@ +\documentclass{article} +\usepackage{musicography} +\thispagestyle{empty} + +\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/Master/texmf-dist/doc/latex/latex4musicians/Figures/musixguit.tex b/Master/texmf-dist/doc/latex/latex4musicians/Figures/musixguit.tex new file mode 100644 index 00000000000..aa4497a4786 --- /dev/null +++ b/Master/texmf-dist/doc/latex/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/Master/texmf-dist/doc/latex/latex4musicians/Figures/musixtab.tex b/Master/texmf-dist/doc/latex/latex4musicians/Figures/musixtab.tex new file mode 100644 index 00000000000..5505918de24 --- /dev/null +++ b/Master/texmf-dist/doc/latex/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/Master/texmf-dist/doc/latex/latex4musicians/Figures/notes.abc b/Master/texmf-dist/doc/latex/latex4musicians/Figures/notes.abc new file mode 100644 index 00000000000..64141033881 --- /dev/null +++ b/Master/texmf-dist/doc/latex/latex4musicians/Figures/notes.abc @@ -0,0 +1,5 @@ +X: 1 +L: 1/4 +K: C +% +CEGc | diff --git a/Master/texmf-dist/doc/latex/latex4musicians/Figures/sample-abc-all.tex b/Master/texmf-dist/doc/latex/latex4musicians/Figures/sample-abc-all.tex new file mode 100644 index 00000000000..525fda65be9 --- /dev/null +++ b/Master/texmf-dist/doc/latex/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: 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/Master/texmf-dist/doc/latex/latex4musicians/Figures/sample-abc.abc b/Master/texmf-dist/doc/latex/latex4musicians/Figures/sample-abc.abc new file mode 100644 index 00000000000..1f178649c4c --- /dev/null +++ b/Master/texmf-dist/doc/latex/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/Master/texmf-dist/doc/latex/latex4musicians/Figures/sample-abc.tex b/Master/texmf-dist/doc/latex/latex4musicians/Figures/sample-abc.tex new file mode 100644 index 00000000000..fb198079113 --- /dev/null +++ b/Master/texmf-dist/doc/latex/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/Master/texmf-dist/doc/latex/latex4musicians/Figures/sample-all.tex b/Master/texmf-dist/doc/latex/latex4musicians/Figures/sample-all.tex new file mode 100644 index 00000000000..507de59454e --- /dev/null +++ b/Master/texmf-dist/doc/latex/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/Master/texmf-dist/doc/latex/latex4musicians/Figures/sample-includeall.tex b/Master/texmf-dist/doc/latex/latex4musicians/Figures/sample-includeall.tex new file mode 100644 index 00000000000..1db830dd097 --- /dev/null +++ b/Master/texmf-dist/doc/latex/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/Master/texmf-dist/doc/latex/latex4musicians/Figures/sample-latexmtx.ltx b/Master/texmf-dist/doc/latex/latex4musicians/Figures/sample-latexmtx.ltx new file mode 100644 index 00000000000..c001d0fc2c2 --- /dev/null +++ b/Master/texmf-dist/doc/latex/latex4musicians/Figures/sample-latexmtx.ltx @@ -0,0 +1,27 @@ +\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} + +\medskip + +End of document. + +\end{document} diff --git a/Master/texmf-dist/doc/latex/latex4musicians/Figures/sample-lilybook.lytex b/Master/texmf-dist/doc/latex/latex4musicians/Figures/sample-lilybook.lytex new file mode 100644 index 00000000000..435f6131a64 --- /dev/null +++ b/Master/texmf-dist/doc/latex/latex4musicians/Figures/sample-lilybook.lytex @@ -0,0 +1,31 @@ +\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/Master/texmf-dist/doc/latex/latex4musicians/Figures/sample-lilypond.ly b/Master/texmf-dist/doc/latex/latex4musicians/Figures/sample-lilypond.ly new file mode 100644 index 00000000000..82ee67907f0 --- /dev/null +++ b/Master/texmf-dist/doc/latex/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/Master/texmf-dist/doc/latex/latex4musicians/Figures/sample-lyluatex.tex b/Master/texmf-dist/doc/latex/latex4musicians/Figures/sample-lyluatex.tex new file mode 100644 index 00000000000..596d8ff3b27 --- /dev/null +++ b/Master/texmf-dist/doc/latex/latex4musicians/Figures/sample-lyluatex.tex @@ -0,0 +1,32 @@ +\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/Master/texmf-dist/doc/latex/latex4musicians/Figures/sample-mtx.mtx b/Master/texmf-dist/doc/latex/latex4musicians/Figures/sample-mtx.mtx new file mode 100644 index 00000000000..13e88d39e41 --- /dev/null +++ b/Master/texmf-dist/doc/latex/latex4musicians/Figures/sample-mtx.mtx @@ -0,0 +1,8 @@ +% music sample in M-Tx notation + +Title: 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/Master/texmf-dist/doc/latex/latex4musicians/Figures/sample-mtx.pmx b/Master/texmf-dist/doc/latex/latex4musicians/Figures/sample-mtx.pmx new file mode 100644 index 00000000000..c9b98737250 --- /dev/null +++ b/Master/texmf-dist/doc/latex/latex4musicians/Figures/sample-mtx.pmx @@ -0,0 +1,27 @@ +--- +\def\mtxversion{0.63a} +\def\mtxdate{<8 April 2018>} +\input mtx +\mtxTitleLine{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/Master/texmf-dist/doc/latex/latex4musicians/Figures/sample-mtx.tex b/Master/texmf-dist/doc/latex/latex4musicians/Figures/sample-mtx.tex new file mode 100644 index 00000000000..bcb74fd5a99 --- /dev/null +++ b/Master/texmf-dist/doc/latex/latex4musicians/Figures/sample-mtx.tex @@ -0,0 +1,50 @@ +%%%%%%%%%%%%%%%%% +% +% sample-mtx.tex +% +%%%%%%%%%%%%%%%% +\def\mtxversion{0.63a} +\def\mtxdate{<8 April 2018>} +\input mtx +\mtxTitleLine{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/Master/texmf-dist/doc/latex/latex4musicians/Figures/sample-mup.mup b/Master/texmf-dist/doc/latex/latex4musicians/Figures/sample-mup.mup new file mode 100644 index 00000000000..76249b9de13 --- /dev/null +++ b/Master/texmf-dist/doc/latex/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/Master/texmf-dist/doc/latex/latex4musicians/Figures/sample-musixtab.tex b/Master/texmf-dist/doc/latex/latex4musicians/Figures/sample-musixtab.tex new file mode 100644 index 00000000000..4a2ef3b9bf5 --- /dev/null +++ b/Master/texmf-dist/doc/latex/latex4musicians/Figures/sample-musixtab.tex @@ -0,0 +1,11 @@ +\input musixtex +\input musixps +\input musixtab + +\setlines16 +\setsize1\largevalue + +\setclefsymbol1{\tabclefsymbolsmall} + +% \str{4}{4} + diff --git a/Master/texmf-dist/doc/latex/latex4musicians/Figures/sample-musixtex.tex b/Master/texmf-dist/doc/latex/latex4musicians/Figures/sample-musixtex.tex new file mode 100644 index 00000000000..0d7f5851ba9 --- /dev/null +++ b/Master/texmf-dist/doc/latex/latex4musicians/Figures/sample-musixtex.tex @@ -0,0 +1,40 @@ +\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 of the excerpt. + +\end{document} diff --git a/Master/texmf-dist/doc/latex/latex4musicians/Figures/sample-pmw.pmw b/Master/texmf-dist/doc/latex/latex4musicians/Figures/sample-pmw.pmw new file mode 100644 index 00000000000..7809fea8b2f --- /dev/null +++ b/Master/texmf-dist/doc/latex/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/Master/texmf-dist/doc/latex/latex4musicians/Figures/sample-songbook.tex b/Master/texmf-dist/doc/latex/latex4musicians/Figures/sample-songbook.tex new file mode 100644 index 00000000000..10d2ae9a202 --- /dev/null +++ b/Master/texmf-dist/doc/latex/latex4musicians/Figures/sample-songbook.tex @@ -0,0 +1,113 @@ +\documentclass[11pt]{article} +\usepackage{graphicx} +\usepackage{gchords} +\usepackage{guitar} +% \thispagestyle{empty} +% \pagestyle{empty} + +\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}{B$\flat$} +} + +\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} + + +\end{document}
\ No newline at end of file diff --git a/Master/texmf-dist/doc/latex/latex4musicians/Figures/scale.mtx b/Master/texmf-dist/doc/latex/latex4musicians/Figures/scale.mtx new file mode 100644 index 00000000000..2f3e6f326ba --- /dev/null +++ b/Master/texmf-dist/doc/latex/latex4musicians/Figures/scale.mtx @@ -0,0 +1,6 @@ +Style: Solo +Meter: C +Size: 13pt +Width: 30mm + +c8 d e f g2 | diff --git a/Master/texmf-dist/doc/latex/latex4musicians/Figures/scale.pmx b/Master/texmf-dist/doc/latex/latex4musicians/Figures/scale.pmx new file mode 100644 index 00000000000..ffe916b089c --- /dev/null +++ b/Master/texmf-dist/doc/latex/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/Master/texmf-dist/doc/latex/latex4musicians/Figures/scale.tex b/Master/texmf-dist/doc/latex/latex4musicians/Figures/scale.tex new file mode 100644 index 00000000000..59c6f5bfcb6 --- /dev/null +++ b/Master/texmf-dist/doc/latex/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/Master/texmf-dist/doc/latex/latex4musicians/Figures/scale1.abc b/Master/texmf-dist/doc/latex/latex4musicians/Figures/scale1.abc new file mode 100644 index 00000000000..e12389adc86 --- /dev/null +++ b/Master/texmf-dist/doc/latex/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/Master/texmf-dist/doc/latex/latex4musicians/Figures/shave.abc b/Master/texmf-dist/doc/latex/latex4musicians/Figures/shave.abc new file mode 100644 index 00000000000..7f01d063e4a --- /dev/null +++ b/Master/texmf-dist/doc/latex/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/Master/texmf-dist/doc/latex/latex4musicians/Figures/sheet.abc b/Master/texmf-dist/doc/latex/latex4musicians/Figures/sheet.abc new file mode 100644 index 00000000000..4a2d3bad0d7 --- /dev/null +++ b/Master/texmf-dist/doc/latex/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/Master/texmf-dist/doc/latex/latex4musicians/Figures/songbook.tex b/Master/texmf-dist/doc/latex/latex4musicians/Figures/songbook.tex new file mode 100644 index 00000000000..0fda4063ff4 --- /dev/null +++ b/Master/texmf-dist/doc/latex/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/Master/texmf-dist/doc/latex/latex4musicians/Figures/songs.tex b/Master/texmf-dist/doc/latex/latex4musicians/Figures/songs.tex new file mode 100644 index 00000000000..066eb66d44b --- /dev/null +++ b/Master/texmf-dist/doc/latex/latex4musicians/Figures/songs.tex @@ -0,0 +1,24 @@ +\documentclass{article} +\thispagestyle{empty} +\usepackage[chorded]{songs} + +\begin{document} + +\renewcommand{\stitlefont}{\rm\large} +\renewcommand{\lyricfont}{\small} +\renewcommand{\printchord}{\it\small} + +\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/Master/texmf-dist/doc/latex/latex4musicians/Figures/songs_all.tex b/Master/texmf-dist/doc/latex/latex4musicians/Figures/songs_all.tex new file mode 100644 index 00000000000..5092a2d0ff2 --- /dev/null +++ b/Master/texmf-dist/doc/latex/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/Master/texmf-dist/doc/latex/latex4musicians/Figures/songs_g.tex b/Master/texmf-dist/doc/latex/latex4musicians/Figures/songs_g.tex new file mode 100644 index 00000000000..86b319e2858 --- /dev/null +++ b/Master/texmf-dist/doc/latex/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/Master/texmf-dist/doc/latex/latex4musicians/Figures/twinkle.abc b/Master/texmf-dist/doc/latex/latex4musicians/Figures/twinkle.abc new file mode 100644 index 00000000000..7fab5d0e28f --- /dev/null +++ b/Master/texmf-dist/doc/latex/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. |