summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/abc/example.tex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2006-07-15 20:51:02 +0000
committerKarl Berry <karl@freefriends.org>2006-07-15 20:51:02 +0000
commit11c5cef3a0ba92a334d609d3122886eb109e56ab (patch)
tree96bcc5da7979ffbe1977c3dbb5b2b30ae96c552f /Master/texmf-dist/doc/latex/abc/example.tex
parent9f9467342aa8d5908460d4ced2213a521376f7b4 (diff)
new package abc, for the music notation (22mar06)
git-svn-id: svn://tug.org/texlive/trunk@1848 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex/abc/example.tex')
-rw-r--r--Master/texmf-dist/doc/latex/abc/example.tex80
1 files changed, 80 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/abc/example.tex b/Master/texmf-dist/doc/latex/abc/example.tex
new file mode 100644
index 00000000000..e5129232951
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/abc/example.tex
@@ -0,0 +1,80 @@
+%%
+%% This is file `example.tex',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% abc.dtx (with options: `example')
+%%
+%% Copyright 2006 Enrico Gregorio
+%%
+%% This program is provided under the terms of the
+%% LaTeX Project Public License distributed from CTAN
+%% archives in directory macros/latex/base/lppl.txt.
+%%
+%% Author: Enrico Gregorio
+%% Enrico dot Gregorio at univr dot it
+%%
+%% This work has the LPPL maintenance status "author-maintained".
+%%
+\documentclass[a4paper,12pt]{article}
+\usepackage[generate,ps2eps]{abc}
+\usepackage{mathptmx}
+
+\begin{document}
+
+\title{Example of ABC Plus in \LaTeX{}}
+\author{Guido Gonzato}
+\date{}
+\maketitle
+
+This is a short piece.
+
+\medskip
+
+\begin{abc}
+X:4
+T:Cronin's Hornpipe
+R:hornpipe
+S:Keenan and Glackin
+E:7
+M:C|
+L:1/8
+K:G
+BA|GABc dBde|gage dega|bage dBGB|cABG A2BA|!
+GABc dBde|gage dega|bage dBAB|G2G2 G2:|!
+fg|afd^c d2ga|bged e2ga|(3bag (3agf gedB|(3cBA AG AcBA|!
+GABc dBde|~g3e dega|bage dBAB|G2G2 G2:|!
+\end{abc}
+
+\medskip
+
+This is another short piece, but we would like to keep the
+ABC source in our directory.
+
+\begin{abc}[name=jacky]
+X:9
+T:Jacky Tar
+R:hornpipe
+M:4/4
+L:1/8
+K:Edor
+(Bd) | "Em" e2 ed efge | "G" d2 B2 B2 (dB) | "D" ABde faef | d2 A2 A2 (Bd) |
+ "Em" e2 ef g2 fe | "G" dB GB d2 (cB) | "D" AGFE DEFA | "Em" G2 E2 E2 :|
+(GA) | "Em" BGEG BGEG | BAGF E2 (FG) | "D" BGEG BGEG | AGFE D2 (EF) |
+ "G" GFGB g2 (fe) | dBGB d2 (cB) | "D" AGFE DEFA | "Em" G2 E2 E2 :|
+\end{abc}
+
+\clearpage
+
+And, finally, we want to set also the last piece; its ABC code
+is already in our directory.
+
+\medskip
+
+\abcinput{poll}
+
+\end{document}
+\endinput
+%%
+%% End of file `example.tex'.