summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/generic/m-tx/mtxdoc.ltx
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/doc/generic/m-tx/mtxdoc.ltx')
-rw-r--r--Master/texmf-dist/doc/generic/m-tx/mtxdoc.ltx100
1 files changed, 61 insertions, 39 deletions
diff --git a/Master/texmf-dist/doc/generic/m-tx/mtxdoc.ltx b/Master/texmf-dist/doc/generic/m-tx/mtxdoc.ltx
index cbf7f82927f..c2082c1f6ad 100644
--- a/Master/texmf-dist/doc/generic/m-tx/mtxdoc.ltx
+++ b/Master/texmf-dist/doc/generic/m-tx/mtxdoc.ltx
@@ -22,10 +22,10 @@
\texttt{https://github.com/dlaurie/M-Tx}
}
-\def\versionname{0.62}
-\def\version{0.62}
+\def\versionname{0.63c}
+\def\version{0.63c}
\def\newfrom{0.61}
-\date{20 October 2016}
+\date{15 January 2019}
\title{\Huge \textbf{\MTx: Music from Text \\ \LARGE Version\current} \\
User's Guide \vfill}
\author{\LARGE Dirk Laurie\\ \texttt{dirk.laurie@gmail.com} }
@@ -1943,15 +1943,16 @@ Some points to note:
\item The file \texttt{mtxlatex.sty} is supplied with the \MTx\
documentation source. You may need to copy it to some other place
for \TeX\ to find it.
- \item The package \texttt{times} comes with standard distributions.
-You could use any \LaTeXe\ font package here. The \texttt{times}
+ \item The package \texttt{mathptmx} comes with standard distributions
+and loads \texttt{Times} fonts, including fonts for mathematics.
+You could use any suitable \LaTeXe\ font package here. The \texttt{Times}
font is quite narrow and therefore useful when the lyrics are crowded.
If you do use a font package, load it \emph{after} \texttt{mtxlatex}.
\item \verb"\pagestyle{headings}" puts page
numbers and running headings at the top of the page.
- \item To change fonts, use pure \LaTeXe\
-\ixem{font change} commands, as above. Don't try to use \verb"\it", \verb"\bf"
-etc. Briefly, subject to what fonts you have installed,
+ \item To change fonts, you can use pure \LaTeXe\
+\ixem{font change} commands, as above.
+Briefly, subject to what fonts you have installed,
you can independently change:
\begin{description}
\item[size] \verb"\tiny",
@@ -1961,9 +1962,31 @@ you can independently change:
\item[shape] \verb"\upshape", \verb"\itshape", \verb"\slshape",
\verb"\scshape";
\item[family] \verb"\rmfamily", \verb"\sffamily", \verb"\ttfamily";
- \item[series] \verb"\mdseries", \verb"\bfseries".
+ \item[series] \verb"\mdseries", \verb"\bfseries",
\end{description}
+or corresponding \verb|\text..{...}| macros.
For a full description, see any good \LaTeXe\ manual.
+
+Header
+font commands (see Section~\ref{ChangingFonts}) are redefined in \verb|mtxlatex.sty| as follows:
+\begin{verbatim}
+ \renewcommand{\BIGtype}{\Huge\bfseries}
+ \renewcommand{\BIgtype}{\huge\bfseries}
+ \renewcommand{\Bigtype}{\LARGE\bfseries}
+ \renewcommand{\bigtype}{\Large\bfseries}
+\end{verbatim}
+If \TeX-like commands such as \verb"\it", \verb"\bf"
+etc.\ are used in a particular score, they can be redefined to work as in MusiX\TeX\ in
+that environment as follows:
+\begin{verbatim}
+ \renewcommand{\rm}{\upshape\mdseries}
+ \renewcommand{\it}{\itshape\mdseries}
+ \renewcommand{\bf}{\upshape\bfseries}
+ \renewcommand{\bi}{\itshape\bfseries}
+ \renewcommand{\sc}{\scshape\mdseries}
+\end{verbatim}
+
+
\item The blank line after \verb"\pagebreak" is essential.
\item The environment \ttxem{Score} is used to include each piece.
It takes two arguments: the first will appear in the list of
@@ -2074,39 +2097,38 @@ for so doing is that the user can modify their effect by redefining
them in the source file. These macros, together with a few others
that make life easier, are collected in the file \ttxem{mtx.tex}.
-Documentation of these commands can be found at the end of the file
-\texttt{mtx.tex}.
-
\subsection{Changing fonts}
-
-The font used for lyrics is the default text font of the moment,
-which usually is eleven-point roman.
-It can be changed globally, e.g.
-\verb"TeX: \twelverm" in the preamble will change the font to
-twelve-point. When using \LaTeX, you can use font-changing commands
-inside the environment to change the lyrics font only for that
-particular piece.
-
-The fonts used for titles and other items in headers are respectively
-called \keyindex{BIGfont} and \keyindex{Bigfont}. In \verb"mtxlatex.sty"
-they are redefined as follows:
+\label{ChangingFonts}
+
+The font used for lyrics is
+by default eleven-point roman.
+It can be changed globally; for example, \verb"TeX: \twelverm" in the preamble will change the font to
+twelve-point.
+The font families used by default for titles and other items in headers are respectively
+called \keyindex{BIgtype} and \keyindex{bigtype}.
+If you want larger or smaller fonts, you may use \verb|\BIGtype| or \verb|\Bigtype|
+to prefix
+the header text,
+as in
\begin{verbatim}
-\renewcommand{\BIGfont}{\Huge\bfseries}
-\renewcommand{\Bigfont}{\Large}
+ Title: \Bigtype Sanctus
\end{verbatim}
-If you are not using \LaTeX, they can be redefined in two ways:
-\begin{itemize}
- \item You can simply assign an existing font, e.g.\ to get
- somewhat smaller fonts,\\
-\verb" \let\Bigfont\bigfont\let\BIGfont\BIgfont"
- \item You can define the font explicitly, e.g.\ \\
-\verb" \font\BIGfont=cmss9 scaled \magstep4"
-\end{itemize}
-
-The macros \keyindex{mtxPalatino} and \keyindex{mtxHelvetica} defined in
-\texttt{mtx.tex}, based on work by Andr\'e van Ryckeghem, replace
-Computer Modern in all the font definitions by Palatino and Helvetica
-respectively.
+You may also use commands \verb|\rm|, \verb|\it|,
+\verb|\bi|, and \verb|\sc| to get Roman, italic, bold-italic, or small-capital text
+in header strings.
+The macros \keyindex{mtxPalatino} and \keyindex{mtxTimes}, defined in
+\texttt{mtx.tex}, replace
+Computer Modern in all the font definitions by Palatino or Times, respectively.
+
+A command like \verb|\mtxelevensf| may be used in
+a \verb|TeX:| header to get sans-serif lyrics.
+The macro \keyindex{mtxAllsf} sets \verb|\mtxelevensf| as the default
+for lyrics and also redefines the \verb|\bigtype|,
+\verb|\Bigtype|, \verb|\BIgtype| and \verb|\BIGtype| families
+to use sans-serif fonts.
+Only \verb|\rm| and \verb|\it| styles are available in sans-serif header strings.
+The macro \keyindex{mtxHelvetica} replaces the
+Computer Modern Sans font definitions by Helvetica.
\pagebreak