summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/latex-graphics-companion/inputs
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/doc/latex/latex-graphics-companion/inputs')
-rw-r--r--Master/texmf-dist/doc/latex/latex-graphics-companion/inputs/graphics.cfg8
-rw-r--r--Master/texmf-dist/doc/latex/latex-graphics-companion/inputs/header.tex212
-rw-r--r--Master/texmf-dist/doc/latex/latex-graphics-companion/inputs/mfpic.sty4
-rw-r--r--Master/texmf-dist/doc/latex/latex-graphics-companion/inputs/ppex.cls59
4 files changed, 283 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/latex-graphics-companion/inputs/graphics.cfg b/Master/texmf-dist/doc/latex/latex-graphics-companion/inputs/graphics.cfg
new file mode 100644
index 00000000000..42f67d15f05
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/latex-graphics-companion/inputs/graphics.cfg
@@ -0,0 +1,8 @@
+\ExecuteOptions{dvips}
+\AtBeginDocument{\graphicspath{%
+ {../figures/mf/}%
+ {../figures/pstools/}%
+ {../figures/pstricks/}%
+ {../figures/plates/}%
+}}
+\endinput
diff --git a/Master/texmf-dist/doc/latex/latex-graphics-companion/inputs/header.tex b/Master/texmf-dist/doc/latex/latex-graphics-companion/inputs/header.tex
new file mode 100644
index 00000000000..56db31fbfda
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/latex-graphics-companion/inputs/header.tex
@@ -0,0 +1,212 @@
+% Many of the following parameters can be changed to
+% customise the music output. Experiment!
+
+% This file is customized to work with the example setup of the LGC book
+% watch out for FMi comments
+
+% Input files
+% ~~~~~~~~~~~
+\if Y\abcmusix% MusiXTeX version
+\input musixtex
+\else% MusicTeX version
+\input musicnft
+\input musictex
+\input musicvbm
+\input musictrp
+\fi
+
+% Page set-up
+% ~~~~~~~~~~~
+
+% page length
+\vsize=10.5in
+% page width
+% FMi set explicitly for book macros to a, for normal situations strange
+% value
+\hsize=7.5cm
+%\hsize=7.7in
+% top margin
+%FMi
+%\voffset=-0.75in
+% left margin
+%FMi
+%\hoffset=-0.75in
+
+\raggedbottom
+\nopagenumbers
+
+% Fonts set-up
+% ~~~~~~~~~~~~
+
+% the font names correspond to fields in abc notation
+% thus Tfont controls the T: field output
+
+\font\Xfont=cmr10
+\font\Tfont=cmr10
+\font\Tafont=cmr7 %for up to six alternative titles
+\font\Tbfont=cmr7 %for six or more alternative titles
+\font\Tifont=cmr10 %for titles within tunes
+\font\Wfont=cmr10
+\font\Sfont=cmti10
+\font\Cfont=cmsl8
+\font\Afont=cmsl8
+\font\Nfont=cmr7
+\font\Pfont=cmr7
+\font\gfont=cmr7 %for guitar chords
+
+% Music set-up
+% ~~~~~~~~~~~~
+
+% music size
+\if Y\abcmusix% MusiXTeX version
+\smallmusicsize
+% no bar numbering
+\nobarnumbers
+\else% MusicTeX version
+\musicsize=17\relax
+% no bar numbering
+\def\freqbarno{99}
+\fi
+% space between bar and next note
+\def\stdafterruleskip{2\Internote}
+% no indenting
+\parindent 0pt
+
+% these lines prevent/allow pagebreaking in the middle of tunes
+\let\tune=\vbox
+%\let\tune=\empty
+
+
+% Tune header set-up
+% ~~~~~~~~~~~~~~~~~~
+
+% You will probably need some knowledge of TeX to customise this
+% - however header1.tex contains another example.
+
+\def\header{%
+\hbox to\hsize{\hfil\Tfont \Xstring.\ \Tstring\ %
+\if Y\Strue{\Sfont(\Sstring)}\ \fi%
+\hfil%
+\if Y\Ctrue{\Cfont\Cstring}\ \fi%
+\if Y\Atrue{\Afont(\Astring)}\fi%
+}\nobreak%
+\if Y\Ntrue{\centerline{\Nfont \Nstring}\nobreak}\fi%
+\if Y\Tatrue{\centerline{\Tafont AKA \Tastring}\nobreak}\fi%
+\if Y\Tbtrue{\Tbfont AKA \Tbstring}\fi%
+%\if Y\Wtrue{\centerline{\Wfont \Wstring}}\fi%
+\if Y\Ptrue{\line{\Pfont Play \Pstring\hfil}\nobreak}\fi%
+}
+
+%FMi we don't want headers in the book
+\let\header\relax
+
+% Text within tunes
+% ~~~~~~~~~~~~~~~~~
+\def\Tline#1{\medskip\line{\Tifont #1\hfil}}
+\def\Wline#1{\smallskip\line{\Wfont #1\hfil}}
+\def\Pline#1{\notes\uptext{\Pfont #1}\enotes\relax}
+
+
+% Miscellaneous
+% ~~~~~~~~~~~~~
+
+%don't change this
+\def\nbinstruments{1}
+
+%rolls
+\def\uroll#1{\zcharnote{#1}{\raise -3.0\internote\hbox to 2.5\internote%
+ {\hss$\smile$\hss}}}
+\def\lroll#1{\zcharnote{#1}{\raise 1.0\internote\hbox to 2.5\internote%
+ {\hss$\frown$\hss}}}
+
+% the following four lines are an old version of rolls
+% uncomment them if you prefer, but they are not compatible with MusiXTeX
+%\def\uroll#1{\zcharnote{#1}{\raise -1.0\internote\hbox to 2.5\internote%
+% {\hss\hdslur{2.8\internote}\hss}}}
+%\def\lroll#1{\zcharnote{#1}{\raise 1.0\internote\hbox to 2.5\internote%
+% {\hss\huslur{2.8\internote}\hss}}}
+
+%ties
+\def\ltie#1{\zcharnote #1{\huslur{0.6\noteskip}}}
+\def\utie#1{\zcharnote #1{\hdslur{0.6\noteskip}}}
+\def\ltiein#1{\zcharnote #1{\huslur{0.8\noteskip}}%
+ \kern 1.2\noteskip\enotes\notes}
+\def\utiein#1{\zcharnote #1{\hdslur{0.8\noteskip}}%
+ \kern 1.2\noteskip\enotes\notes}
+
+%first/second repeat
+\def\rpt#1{\zcharnote n{\kern -\afterruleskip\sevenrm #1}}
+
+% gracing macros
+\def\grace{\tinynotesize\vnotes 0.7\elemskip\off\Internote}
+\def\egrace{\off\Internote\enotes\normalnotesize}
+\if Y\abcmusix% MusiXTeX version
+\def\grace{\notes\multnoteskip\tinyvalue\tinynotesize}
+\let\egrace=\enotes
+\else
+
+% up/downbow
+\def\ubow#1{\zcharnote#1{$\sqcap$}}
+\def\vbow#1{\zcharnote#1{$\vee$}}
+\fi
+
+% sharps/flats in guitar chords
+\let\Zsh=\#
+%\def\Zsh{$\sharp$}
+\def\Zfl{$\flat$}
+
+\if Y\abcmusix% MusiXTeX version
+% To use Andreas Egler's version of MusiXTeX comment out these lines
+% ==================================================================
+\input musixeng
+\def\ubow#1{\zcharnote#1{\upbow}}
+\def\vbow#1{\zcharnote#1{\downbow}}
+\let\beginHp=\empty
+\let\endHp=\empty
+% ==================================================================
+
+% To use Andreas Egler's version of MusiXTeX uncomment these lines
+% ================================================================
+%\let\startmuflex=\empty
+%\let\endmuflex=\empty
+%\let\stoppiece=\endpiece
+%\let\zstoppiece=\zendpiece
+%\let\alaligne=\nextline
+%\let\zalaligne=\znextline
+%\input musixtri
+%\input musixsig
+%\def\beginHp{\setcustomsign1\customsharp 8\customsharp 5\customnatural 9}
+%\let\endHp=\resetcustomsign
+%\let\vbow=\dbow
+%\let\qsk=\empty
+%\let\ql=\qd
+%\let\hl=\hd
+%\let\cl=\cd
+%\let\ccl=\ccd
+%\let\cccl=\cccd
+%\let\Ibl=\Ibd
+%\let\Ibbl=\Ibbd
+%\let\Ibbbl=\Ibbbd
+%\let\tbl=\tbd
+%\let\tbbl=\tbbd
+%\let\tbbbl=\tbbbd
+%\let\nbl=\nbd
+%\let\nbbl=\nbbd
+%\let\nbbbl=\nbbbd
+%\let\lpz=\dpz
+% ================================================================
+\else
+
+% these commands are for MusicTeX
+
+\let\beginHp=\empty
+\let\endHp=\empty
+
+\fi
+
+\edef\catcodeat{\the\catcode`\@}\catcode`\@=11
+%
+\def\d@oubleRAB{\thickvrule\nobreak\hskip%
+0.6\Internote\global\advance\x@skip0.6\Internote%
+\nobreak\thinvrule}%
+\def\setdoubleRAB{\def\barvrule{\d@oubleRAB}}%
diff --git a/Master/texmf-dist/doc/latex/latex-graphics-companion/inputs/mfpic.sty b/Master/texmf-dist/doc/latex/latex-graphics-companion/inputs/mfpic.sty
new file mode 100644
index 00000000000..6a53142db4e
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/latex-graphics-companion/inputs/mfpic.sty
@@ -0,0 +1,4 @@
+\input mfpic
+\AtBeginDocument{\opengraphsfile{mfpicex}}
+\AtEndDocument{\closegraphsfile}
+\endinput
diff --git a/Master/texmf-dist/doc/latex/latex-graphics-companion/inputs/ppex.cls b/Master/texmf-dist/doc/latex/latex-graphics-companion/inputs/ppex.cls
new file mode 100644
index 00000000000..8d52b75fd74
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/latex-graphics-companion/inputs/ppex.cls
@@ -0,0 +1,59 @@
+%
+% This class file is used to typeset the examples of the LaTeX Graphics
+% Companion. It works without changes if you happen to use dvips as a
+% printer driver. Otherwise you might need to update it as outlined
+% below.
+%
+% Basic class is article
+
+\LoadClass{article}
+
+% We use Times and Helvetica for \rmfamily and \sffamily
+%
+\renewcommand\rmdefault{ptm}
+\renewcommand\sfdefault{phv}
+\renewcommand\bfdefault{b}
+
+% That is default anyway
+%
+\setlength\paperheight {11in}
+\setlength\paperwidth {8.5in}
+
+% [FMi: why do you need this Sebastian? ]
+%
+\special{papersize=8.5in,11in}
+
+\RequirePackage[T1]{fontenc}
+
+% We wanted to use PS when producing LaTeX pictures but it should be
+% possible to comment this line out without any changes to the result
+%
+\RequirePackage{pspicture}
+
+
+
+\newcommand\gobblepreamble[2][]{}
+\newcommand\ResetPreambleCommands{\let\usepackage\gobblepreamble}
+\let\ReadyForTheFray\relax
+
+
+
+%FMi the below is plain wrong :-)
+%\makeatletter
+\newdimen\fullwidth
+\setlength\textwidth{29pc}
+\addtolength\textwidth{-2pt} % to guard against rounding errors when
+ % calculating the EPS bounding box.
+\setlength\fullwidth{35.5pc}
+
+
+% [FMi why this? ]
+
+\let\bf\bfseries
+\let\tt\ttfamily
+\let\it\itshape
+\let\sf\sffamily
+\let\rm\mdseries
+
+\endinput
+