summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/generic/musixtex/musixdoc.sty
blob: 269cd551814ee66818dd8872f405833fae3ec5e6 (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
%
%   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

\textheight= 50\baselineskip
\textwidth= 210mm \advance\textwidth-2in %

\input musixtex
\input musixbm
\input musixcho
\input musixdat
\input musixext
\input musixgre
\input musixgui
\input musixlit
\input musixltx
\input musixper
\input musixmad

% 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\tt}
\def\mutex{M\raise\tw@\p@\hbox{\kern\m@ne\p@ u\kern\m@ne\p@}\TeX}
\def\Bslash{\tt\char'134}
\def\|{{\tt\char'174}}
\def\LBR{{\tt\char'173}}
\def\RBR{{\tt\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{\ital{#1}\index{#1}}
\def\ttxem#1{{\tt #1}\index{#1@{\tt #1}}}
\def\ital#1{{\sl #1\/}}

\newfont{\mflogo}{logo10 scaled 1200}
\def\MF{{\mflogo METAFONT}}
\def\unix{{\sc 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\sl REMARK:}
\def\endremark{\leavevmode\/}

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

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


\endinput