Using The Mathtımeprofessional Fonts With L Tex
Using The Mathtımeprofessional Fonts With L Tex
Using The Mathtımeprofessional Fonts With L Tex
with LATEX∗
Walter Schmidt
2001/04/20
Abstract
This document describes the macro package mtpro, which serves for using
the MathTımeProfessional fonts with LATEX. The package code was partially
adopted from the mathtime package written by Frank Mittelbach and David
Carlisle.
Contents
1 The MathTımeProfessional fonts 1
A Option summary 7
1
Separate fonts for text size, superscripts, and second order superscripts are
provided, allowing quality mathematical typesetting that has hitherto been avail-
able only with metal type or with Knuth’s CM and Euler fonts. Furthermore,
MathTımeProfessional includes individually designed delimiters and roots for sizes
up to 4 inches and extrawide mathematical accents.
For a detailed discussion of the MathTımeProfessional fonts see the document
‘Brief Guide to the New MathTımeProfessional Fonts’, file mtpguide.pdf.1
\usepackage[hoptionsi]{mtpro}
makes LATEX use Times NRMT and MathTımeProfessional in place of the default
Computer Modern fonts. The following sections describe the particular features of
the package and the additional options that control its behavior.
\renewcommand{\rmdefault}{pttx}
\usepackage{mtpro}
will use TimesTen (with real smallcaps) for text and MathTımeProfessional for math.
The mtpro package does not change the default sans serif and typewriter font
families. At least Computer Modern Sans does, however, not blend well with Times.
If you are restricted to the fonts that are available with any LATEX system, you may
use Helvetica instead:
\usepackage[scaled=0.93]{helvet}
\usepackage{mtpro}
2
2.2 Text fonts in math
The default roman text font, as indicated by the value of \rmdefault, is used for the
math alphabet \mathrm; function names, too, are typeset using that font.
The math alphabets \mathsf, \mathit and \mathtt are mapped to the default
sans serif, italic and typewriter text fonts by evaluating the macros \sfdefault,
\itdefault and \ttdefault when mtpro gets loaded. Thus, if you redefine the
default text fonts this should be done before loading mtpro—see the previous section.
The above-mentioned math alphabets are used with the default text font encod-
ing, which is determined from the meaning of the macro \encodingdefault when
mtpro gets loaded. Alternatively, one can force mtpro to use one of LY1, T1 or OT1
by specifying it as a package option, e.g.:
\usepackage[T1]{mtpro}
Doing so may be useful, if you change the encoding for the text fonts after loading
of mtpro, in order to prevent LATEX from accessing the default CM fonts with an
encoding that is possibly not available with CM.
3
2.6 Blackboard bold
Loading the mtpro package with the option amsbb makes the AMS symbol font
‘msbm’ available as a ‘blackboard bold’ math alphabet \mathbb. This may be useful,
because the amsfonts or amssymb macro packages cannot be loaded in conjunction
with mtpro—see section 2.13.
Of course, other blackboard bold fonts can be used alternatively, through loading
of the related packages; do not select the amsbb option then.
Cf + Cj + XA Cf + Cj + XA
Subscript correction can also be be turned on and off within the document using
the commands
\enablesubscriptcorrection and \disablesubscriptcorrection.
No guarantee is made as to the proper functioning of the automatic subscript
correction in conjunction with any additional macro package, because the underscore
character _ is made active.
3 Of course, \mathbold acts only on symbols, which are not affected by the different en-
4
2.9 Large delimiters and roots
The MathTımeProfessional font set includes individually designed parentheses and
other delimiters with sizes up to 4 inches high
The large parentheses are used through the command \PARENS{...}; just com-
pare the left matrix with the output obtained from the ordinary \left( and \right(
macros: x11 x12 . . .
x11 x12 . . .
x21 x22 . . . x21 x22 . . .
x31 x32 . . . x31 x32 . . .
.. .. .. ..
.. ..
. . . . . .
You can nest \PARENS though of course that shouldn’t be needed very often. Note
that \PARENS ends up typesetting its argument more than once, in order to find out
the right size of the delimiters, so nesting slows TEX down exponentially and may
also exhaust its capacity.
Basically, \PARENS{...} is just an abbreviation for \LEFTRIGHT(){...}. In gen-
eral, you can use \LEFTRIGHT directly with any two delimiters, including the period
for an empty delimiter. In addition to parentheses, you can get /, \backslash, < (or
\langle), and > (or \rangle), all up to 4 inches high.
A combination like \LEFTRIGHT(] is also possible; the ] just gets extended in
the usual way. At large sizes, however, the ( might end up slightly larger than the ],
since the ] grows at the same (6 pt) rate, no matter how large the argument, while the
parentheses grow faster for larger formulas. So in such cases it might be desirable to
add a ‘strut’ (i.e. a construction of the form \rule{0pt}{hheighti}) to the formula
to force a larger ] symbol.
In addition to the \sqrt command, which uses an ‘extensible’ symbol, mtpro
provides \SQRT, with the same syntax. It produces individually designed root signs
up to 4 inches high: In the example below, the left root was typeset using \SQRT, the
right one results from the ordinary \sqrt command.
p n
v
u n
X uX
i i 3
3
(y − x ) 3
t (y i − x i )3
i=1 i=1
The positioning of the root index can be adjusted through the commands
\LEFTROOT and \UPROOT. They are to be issued in math mode, they are valid inside
the current formula only, and they act only on roots produced from \SQRT.4 Positive
arguments to these commands will move the root index to the left and up respectively,
while a negative argument will move it right and down. The units of increment are
quite small, which is useful for such adjustments. In the example below, the index β
of the left root is moved 2 units to the right and 6 units up by saying \LEFTROOT{-2}
\UPROOT{6} \SQRT... ; the right root shows the default appearance:
√
β √
β
k k
5
ˆ
large delimiters and roots (see above); in each case you can get accents up to 4 inches
wide:
1 3 6
a+b+a+b+c+a+b+c+d +a+b+c+d +e
In a combination like Â, the \hat accent might look a little small, while \widehat
produces an accent A b that looks too large. So there is \what to produce a slightly
y
wider hat accent, A. Similarly, there are \wtilde, \wcheck, and \wbar.
In addition, there are slightly larger \wwhat, \wwcheck, \wwtilde, and \wwbar.
The \wwhat, \wwcheck, and \wwtilde accents are identical to the smallest versions
of the accents produced by \widehat etc., but in some cases it might be preferable
to force this smallest size instead of relying on the \wide. . . accents themselves. For
example, \widehat M yields M c, because the M happens to be just too wide (counting
the white space on its sides) for the smallest \widehat accent, whereas \wwhat M will
result in M
.
The \wwbar accent is what used to be called \widebar in the MathTıme fonts, but
that really wasn’t a very good name, since \overline is what actually corresponds
to the \wide. . . accents.
In situations like ˙ and γ̈ , the \dot and \ddot accents might look better if they
were moved up a bit. So there are \dotup and \ddotup, to produce [ and γ] .
6
A Option summary
This section lists all options of the mtpro package. Options that correspond to the
default behavior of the package are marked by an asterisk and need normally not to
be specified.
uprightGreek* Makes the uppercase Greek letters upright.
slantedGreek Makes the uppercase Greek letters slanted.
subscriptcorrection Redefines the underscore character so that it automatically cor-
rects the spacing of subscripts.
nosubscriptcorrection* Disables the subscript correction.
cmcal* Uses the Computer Modern calligraphic alphabet for \mathcal.
lucidacal Sets up \mathcal and \mathbcal to use the Lucida calligraphic fonts
lucidascr Like lucidacal, but puts the fonts into \mathscr and \mathbscr.
mtplusscr Sets up \mathscr and \mathbscr to use the Math Time Plus script fonts.
mtpluscal Like mtplusscr, but puts the fonts into the \mathcal and \mathbcal al-
phabets.
mtbold Uses the bold italics from the MathTıme Plus fonts for the \mathbold al-
phabet.
cmbold* Like mtbold, but uses the bold math italic font from Computer Modern.
amsbb Defines \mathbb to refer to the blackboard bold math alphabet from the
AMS fonts.
noTS1 Stops the package from using any text companion fonts for missing math
symbols.
OT1 Uses OT1 encoding for the operators font.
T1 Uses T1 encoding for the operators font.
LY1 Uses LY1 (Y&Y’s ‘locally’ defined texnansi encoding) in the operators font.
This option includes also the effect of noTS1, since the symbols in question
are provided in the LY1 encoding; you need not specify noTS1 additionally.
This package makes a lot of font re-assignments. Normally these generate warn-
ing messages on the terminal, however getting so many messages would be distract-
ing, so a further three options control the font tracing. Even more control may be
obtained by loading the tracefnt package.
errorshow* Only show font errors on the terminal. Warnings are just sent to the log
file.
warningshow Show font warnings on the terminal. This corresponds to the usual
LATEX behavior.
nofontinfo Suppress all font warnings, even from the log file.
Not all options can be used together, e.g., one can at most select one of the options
setting up \mathcal. If both options are given mtpluscal will win over luciadcal and
in case of \mathscr, lucidascr will be the winner over mtplusscr.