%% %% This is file `example.tex', %% generated with the docstrip utility. %% %% The original source files were: %% %% abc.dtx (with options: `example') %% %% Copyright 2006, 2008 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'.