summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/generic/musixtex/musixdoc.sty
blob: 22586249cd30c8acd8b06b122e8a9206f125d7f2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
%
%   This file is part of MusiXTeX
%
%   MusiXTeX is free software; you can redistribute it and/or modify
%   it under the terms of the GNU General Public License as published by
%   the Free Software Foundation; either version 2, or (at your option)
%   any later version.
%
%   MusiXTeX is distributed in the hope that it will be useful,
%   but WITHOUT ANY WARRANTY; without even the implied warranty of
%   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
%   GNU General Public License for more details.
%
%   You should have received a copy of the GNU General Public License
%   along with MusiXTeX; see the file COPYING.  If not, write to
%   the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
%   Boston, MA 02111-1307, USA.
%
% american people perhaps may want to change the paper size
%
% LaTeX2e compliant (6 Oct 2009)

%\textheight= 50\baselineskip
\textheight= 297mm \advance\textheight-2in %
\textwidth= 210mm \advance\textwidth-1.8in %
%
% Allow dvips -tletter and it still fits. 
%\voffset-5mm\hoffset-.1in
\voffset1mm\hoffset-.1in

\input musixtex
\input musixbm
\input musixcho
\input musixdat
\input musixext
\input musixgre
\input musixgui
\input musixlit
\input musixltx
\input musixper
%\input musixmad% removed because inessential (6 June 2008)

% we don't need margin
\oddsidemargin\z@ \evensidemargin\z@
\marginparwidth\z@ \marginparsep\z@ \marginparpush\z@

\topmargin-15pt \headheight12pt
\headsep25pt \footskip25pt
\columnsep10pt \columnseprule\z@ \parskip\smallskipamount

\nobarnumbers

% for usage of notes inside text
\let\nblines\z@

\long\def\theindex{\chapter{Index}\parindent\z@
  \parskip\z@ plus.3\p@\relax \let\item\@idxitem \columnseprule\z@
  \columnsep35\p@ \begin{multicols}{2}}

\def\endtheindex{\end{multicols}}

% saves paper
\def\@listI{\leftmargin\leftmargini \parsep 4.5\p@ plus2\p@ minus\p@
\topsep 1\p@ plus2\p@ minus1\p@
\itemsep 4.5\p@ plus2\p@ minus\p@}

% more place for digits in \tableofcontents
\def\l@subsection{\@dottedtocline{2}{3.8em}{3.4em}}%original 2 3.8 3.2

\def\tty{\csname normalshape\endcsname\csname mediumseries\endcsname\ttfamily}
\def\mutex{M\raise\tw@\p@\hbox{\kern\m@ne\p@ u\kern\m@ne\p@}\TeX}
\def\Bslash{\ttfamily \char'134}
\def\|{\texttt{\char'174}}
\def\LBR{\texttt{\char'173}}
\def\RBR{\texttt{\char'175}}
\def\keyindex#1{\leavevmode
 \hbox{\Bslash #1}\index{#1@{\protect\Bslash #1}}}
\def\zkeyindex#1{\index{#1@{\protect\Bslash #1}}}
\def\ixem#1{#1\index{#1}}
\def\itxem#1{\textsl{#1}\index{#1}}
\def\ttxem#1{\texttt{#1}\index{#1@\texttt{#1}}}
\def\ixtt#1{\index{#1@\texttt{#1}}}
\def\ital#1{\textsl{#1\/}}

\newfont{\mflogo}{logo10 scaled 1200}
\def\MF{{\mflogo METAFONT}}
\def\unix{\textsc{unix}}

\iflongDCfontnames
  \font\tentt=\fontid tt1000
\else\iflongECfontnames  
  \font\tentt=\fontid tt1000
\else  
  \font\tentt=\fontid tt10
\fi\fi
% It's under construction
\tolerance10000\hbadness10000

\def\printindex{\@input{\jobname.ind}}

\def\underscoreSymbol{\leavevmode \kern.06em \vbox{\hrule width.3em}}%

\def\_{\protect\underscoreSymbol}

\def\remark{\par\noindent\slshape REMARK:}
\def\endremark{\leavevmode\/}

\def\important{\par\noindent\slshape IMPORTANT:}
\def\endimportant{\leavevmode\/}

\def\caution{\par\noindent\slshape CAUTION:}
\def\endcaution{\leavevmode\/}

\def\st@ffs{1}
\endinput