%
% 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.
%
%
\usepackage[cp1252]{inputenc} % needed for � in extensions.tex
% default is Computer Modern OT1 encoding
\usepackage[T1]{fontenc} % for CM, \input musixec after musixtex
\usepackage[osf]{mathpazo} % Palatino text, with old-style figures; use $n$ for lining figures
%\usepackage{mathptmx} % Times text
%\usepackage{helvet}\renewcommand{\familydefault}{\sfdefault} % Helvetica text
% use OT1 encoding for tt to avoid need for cm-super fonts
\renewcommand{\ttfamily}{\fontencoding{OT1}\fontfamily{cmtt}\selectfont}
%\input musixec % EC (Computer Modern) text in music
\input musixplt % Palatino text in music
%\input musixtmr % Times text in music
%\input musixhv % Helvetica text in music
\usepackage{paralist}
\setlength{\pltopsep}{1pt plus 2pt minus 1pt}
\setlength{\plitemsep}{4.5pt plus 2pt minus 1pt}
\renewenvironment{enumerate}{\begin{compactenum}}{\end{compactenum}}
\renewenvironment{itemize}{\begin{compactitem}}{\end{compactitem}}
\renewenvironment{description}{\begin{compactdesc}}{\end{compactdesc}}
\def\notesintext#1{% no staff lines, no clefs
{\let\extractline\relax
\setlines10\smallmusicsize \nobarnumbers \nostartrule
\staffbotmarg0pt \setclefsymbol1\empty \global\clef@skip0pt
\startextract\addspace{-\afterruleskip}#1\zendextract}}
\def\musicintext#1#2{% normal
{\let\extractline\relax
\smallmusicsize \nobarnumbers
\staffbotmarg0pt \setclef1{#1}
\startextract\addspace{-\afterruleskip}#2\endextract}}
% macro adapted to insert music without clef:
\def\musicintextnoclef#1{% no clef small
{\let\extractline\relax
\smallmusicsize \nobarnumbers
\staffbotmarg0pt \setclefsymbol1\empty
\startextract\addspace{-\afterruleskip}#1\endextract}}
\def\musicintextnoclefn#1{% no clef normal
{\let\extractline\relax
\nobarnumbers
\staffbotmarg0pt \setclefsymbol1\empty
\startextract\addspace{-\afterruleskip}#1\endextract}}
\def\musictex{Music\TeX{}}
\def\onen{{\ttfamily\char123}$n${\ttfamily\char125}}
\def\pitchp{{\ttfamily\char123}$p${\ttfamily\char125}}
\def\itbrace#1{{\ttfamily\char123}$#1${\ttfamily\char125}}
\def\nochange{{\ital{NOT to be changed}}}