diff options
author | Karl Berry <karl@freefriends.org> | 2009-05-23 00:23:51 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2009-05-23 00:23:51 +0000 |
commit | a683c3d7e9fac38ec713f23fb6b9d2c7143aea82 (patch) | |
tree | 424ab223921f85fd3f167a4ccd0e2d37d05c2927 /Master/texmf-dist/doc/latex/latex-graphics-companion/inputs | |
parent | 5beb5368a684995153c8566797ba054f21c666af (diff) |
move english latex doc out of texmf-doc
git-svn-id: svn://tug.org/texlive/trunk@13412 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex/latex-graphics-companion/inputs')
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 + |