diff options
author | Norbert Preining <norbert@preining.info> | 2019-09-02 13:46:59 +0900 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2019-09-02 13:46:59 +0900 |
commit | e0c6872cf40896c7be36b11dcc744620f10adf1d (patch) | |
tree | 60335e10d2f4354b0674ec22d7b53f0f8abee672 /fonts/mtp2lite/templates |
Initial commit
Diffstat (limited to 'fonts/mtp2lite/templates')
-rw-r--r-- | fonts/mtp2lite/templates/LaTeX Article MTPro2.tex | 62 | ||||
-rw-r--r-- | fonts/mtp2lite/templates/LaTeX Article MTPro2Lite.tex | 65 | ||||
-rw-r--r-- | fonts/mtp2lite/templates/MTPro2 LaTeX test.tex | 146 | ||||
-rw-r--r-- | fonts/mtp2lite/templates/Plain MTPro2.tex | 56 |
4 files changed, 329 insertions, 0 deletions
diff --git a/fonts/mtp2lite/templates/LaTeX Article MTPro2.tex b/fonts/mtp2lite/templates/LaTeX Article MTPro2.tex new file mode 100644 index 0000000000..4683529ca1 --- /dev/null +++ b/fonts/mtp2lite/templates/LaTeX Article MTPro2.tex @@ -0,0 +1,62 @@ +% LaTeX Article with MTPro2 fonts Template +% For use with MathTime Professional II +\documentclass{article} + +% MathTimeProfessional II (MTPro2) fonts +% See <pctex>\texmf\doc\fonts\mtpro2\guide2.pdf for complete instructions. +% See <pctex>\texmf\doc\fonts\mtpro2\mtpro2.pdf for LaTeX usage instructions. + +% For sales and other information visit www.pctex.com + +% In the following, numbers in brackets refer to sections in the +% mtpro2.pdf document. + +% For migration from MTPro to MTPro2: move all options from packages +% mtpro, mtpams, and mtpb to mtpro2. See [3] for details. + +% Define text fonts +%\usepackage[T1]{fontenc} % use this if European fonts (ec) package is installed +%\usepackage{textcomp} % adds some additional symbols +\usepackage[scaled=0.92]{helvet} % set Helvetica as the sans-serif font +\renewcommand{\rmdefault}{ptm} % set Times as the default text font + +% If AMS-LaTeX is used, it can be loaded before or after mtpro2 +\usepackage{amsmath} + +% The following loads mtpro and defines some common MTPro options [2, 4] +\usepackage[subscriptcorrection,slantedGreek,nofontinfo]{mtpro2} + +% Options for blackboard bold fonts [2.9]: +% mtphrb - holey roman bold mtpbb - blackboard bold +% mtphrd - holey roman bold dark mtpbbd - blackboard bold dark +% mtphbi - holey bold italic mtpbbi - blackboard bold italic + +% Options for alternate character sets [2.6, 2.7]: +% mtpcal - assigns Math Script to the math alphabets \mathcal and \mathbcal, +% overwriting the default math calligraphic typeface +% mtpccal - assigns Math Curly to the math alphabets \mathcal and \mathbcal, +% overwriting the default math calligraphic typeface +% mtpscr - assigns Math Script to the new math alphabets \mathscr and \mathbscr, +% leaving \mathcal unchanged +% mtpfrak - assigns Math Fraktur to a new math alphabet \mathfrak + +% Options for AMS symbols +% amssymbols - makes the mtpro2 AMS symbols available + +% Optionally load the following package to use heavy symbols in place of bold symbols +%\usepackage{bm} + +% Set the beginning of a LaTeX document +\begin{document} + +\title{} % Enter your title between curly braces +\author{} % Enter your name between curly braces +\date{} % Enter your date or \today between curly braces +\maketitle + +\section{} % Enter section title between curly braces + +\subsection{} % Enter subsection title between curly braces + +% Set the ending of a LaTeX document +\end{document} diff --git a/fonts/mtp2lite/templates/LaTeX Article MTPro2Lite.tex b/fonts/mtp2lite/templates/LaTeX Article MTPro2Lite.tex new file mode 100644 index 0000000000..51b4d11b01 --- /dev/null +++ b/fonts/mtp2lite/templates/LaTeX Article MTPro2Lite.tex @@ -0,0 +1,65 @@ +% LaTeX Article with MTPro2 Lite fonts Template +% For use with MathTime Professional II (Lite version) +\documentclass{article} + +% MathTimeProfessional II (MTPro2) fonts +% See <pctex>\texmf\doc\fonts\mtpro2\guide2.pdf for complete instructions. +% See <pctex>\texmf\doc\fonts\mtpro2\mtpro2.pdf for LaTeX usage instructions. + +% For sales and other information visit www.pctex.com + +% In the following, numbers in brackets refer to sections in the +% mtpro2.pdf document. + +% For migration from MTPro to MTPro2: move all options from packages +% mtpro, mtpams, and mtpb to mtpro2. See [3] for details. + +% Define text fonts +%\usepackage[T1]{fontenc} % use this if European fonts (ec) package is installed +%\usepackage{textcomp} % adds some additional symbols +\usepackage[scaled=0.92]{helvet} % set Helvetica as the sans-serif font +\renewcommand{\rmdefault}{ptm} % set Times as the default text font + +% If AMS-LaTeX is used, it can be loaded before or after mtpro2 +\usepackage{amsmath} + +% The following loads mtpro2 lite and defines some common options +\usepackage[lite,subscriptcorrection,slantedGreek,nofontinfo]{mtpro2} + +% Optionally load the following package to use heavy symbols in place of bold symbols +%\usepackage{bm} + +% The following options are available with the MathTimePro 2 *Complete* +% version only: + +% Options for blackboard bold fonts [2.9]: +% mtphrb - holey roman bold mtpbb - blackboard bold +% mtphrd - holey roman bold dark mtpbbd - blackboard bold dark +% mtphbi - holey bold italic mtpbbi - blackboard bold italic + +% Options for alternate character sets [2.6, 2.7]: +% mtpcal - assigns Math Script to the math alphabets \mathcal and \mathbcal, +% overwriting the default math calligraphic typeface +% mtpccal - assigns Math Curly to the math alphabets \mathcal and \mathbcal, +% overwriting the default math calligraphic typeface +% mtpscr - assigns Math Script to the new math alphabets \mathscr and \mathbscr, +% leaving \mathcal unchanged +% mtpfrak - assigns Math Fraktur to a new math alphabet \mathfrak + +% Options for AMS symbols +% amssymbols - makes the mtpro2 AMS symbols available + +% Set the beginning of a LaTeX document +\begin{document} + +\title{} % Enter your title between curly braces +\author{} % Enter your name between curly braces +\date{} % Enter your date or \today between curly braces +\maketitle + +\section{} % Enter section title between curly braces + +\subsection{} % Enter subsection title between curly braces + +% Set the ending of a LaTeX document +\end{document} diff --git a/fonts/mtp2lite/templates/MTPro2 LaTeX test.tex b/fonts/mtp2lite/templates/MTPro2 LaTeX test.tex new file mode 100644 index 0000000000..9096d3edab --- /dev/null +++ b/fonts/mtp2lite/templates/MTPro2 LaTeX test.tex @@ -0,0 +1,146 @@ +\documentclass{article} +\usepackage[lite,subscriptcorrection,slantedGreek,nofontinfo]{mtpro2} +\headheight0pt\headsep0pt +\textheight210mm\textwidth165mm\oddsidemargin0pt +\newcommand{\TEST}[1]{\[#1\] \[2^{#1}\] \[2^{2^{#1}}\]} +\begin{document} + +Our math formulas, like $x^n+y^n=z^n$, and +\[ +\sum_{i=1}^n \sin x+i^{\sin x}+ i^{i^{\sin x}} +\] +are going to be using the MathTime Professional~2 fonts, but the text +font is just Computer Modern (the letters for `sin' are +going to come from cmr10, cmr7 and cmr5). + +Here are some math formulas that should all work out OK. + + +\TEST{A,\ldots,Z\qquad a,\dots,z\qquad \Gamma,\ldots,\Omega\qquad +\upGamma,\ldots,\upOmega \qquad\alpha,\ldots,\omega} + +\TEST{\aleph_\alpha\times\aleph_\beta=\beta \iff \alpha\le\beta} + +\TEST{\forall \varepsilon>\alpha, +\Gamma_\alpha\hookrightarrow\Gamma_\varepsilon} + +\TEST{|x-a|<\delta\Longrightarrow|f(x)-l|<\varepsilon} + +\TEST{\underbrace{V\times\cdots\times V}_k\times\underbrace{V\times\cdots\times +V}_l \to \underbrace{V\times\cdots\times V}_{k+l}} + +\TEST{\{x|x\ne x\}=\emptyset\qquad(A\cap B)^\circ\subset A^\circ\cap +B^\circ} + +\TEST{\omega=\nu+v(x,y)\,dx +w(x,y)\,dy +d\varkappa} + +\TEST{d\omega=d\nu+\left({\partial w\over \partial x}-{\partial v\over +\partial y}\right)\,dx\wedge dy} + +\TEST{\hat x+\widehat X+\widehat{xy}+\widehat{xyz}+\vec A} + +\TEST{R_{ijkl}=-R_{jikl}=-R_{ijlk}=R_{klij}} + +\TEST{(f\comp g)'(x)=f'(g(x))\cdot g'(x)} + +\TEST{f(x)=\cases{|x|&$x>a$\cr -|x|&$x\le a$\cr}} + +\TEST{\int_{-\infty}^\infty e^{-x\cdot x}\,dx =\sqrt\pi} + +\TEST{X=\sum_i\xi^i{\partial\over\partial +x^i}+\sum_jx^j{\partial\over\partial \dot x^j}} + +Bold letters in math can be taken from the Times bold +symbols: +\[ +A_{\mbf{X}}(f)=\mbf{X(f)}=2^\mbf{2^{X(g)}} +\] + + +We can also get `calligraphic' letters: +\[ +\mathcal{A},\mathcal{B},\dots,\mathcal{Z} +\] + +\bigskip + +Compare + +\[ +X_f +X_j+X_p+X_t+X_y+X_A+X_B+X_D+X_H+X_I+X_K+X_L+X_M+X_P+X_X +\] +with the following (with no adjustments): +\[ +X_{\kern0ptf} ++X_{\kern0ptj}+X_{\kern0ptp}+X_{\kern0ptt}+X_{\kern0pty}+X_{\kern0ptA}+ +X_{\kern0ptB}+X_{\kern0ptD}+X_{\kern0ptH}+X_{\kern0ptI}+X_{\kern0ptK}+X_{\kern0ptL} ++X_{\kern0ptM}+X_{\kern0ptP}+X_{\kern0ptX} +\] + +We have the special accent +\[\oacc x\] +and can replace +\[ +\dot\Gamma+\ddot\Gamma +\] +with +\[ +\dotup\Gamma+\ddotup\Gamma +\] + +There are +\[ +\hat A+\what A +\wwhat A+\widehat A+ ++\hat M +\what M +\wwhat M +\widehat M + +\widehat{xy}+ \widehat{xyz}+\widehat{xyzw}+ +\widehat{x+y+z+\cdots+w} +\] +and +\[ +\tilde A+\wtilde A +\wwtilde A+\widetilde A+ ++\tilde M +\wtilde M +\wwtilde M +\widetilde M + +\widetilde{xy}+ \widetilde{xyz}+\widetilde{xyzw}+ +\widetilde{x+y+z+\cdots+w} +\] +and +\[ +\check A+\wcheck A +\wwcheck A+\widecheck A+ ++\check M +\wcheck M +\wwcheck M +\widecheck M + +\widecheck{xy}+ \widecheck{xyz}+\widecheck{xyzw}+ +\widecheck{x+y+z+\cdots+w} +\] +and +\[ +\bar M +\wbar M + \wwbar M +\overline{x+y+z} +\] + +We have +\[ +\alpha _c^{-1}\cdot \alpha _c{}'= +\left(\matrix{ +0 & 0 & \ldots & -\varkappa_1\cr +1 & 0 & & -\varkappa_2\cr +0 & 1 & & \vdots \cr +\vdots & \vdots& & -\varkappa_{n-1}\cr +0 & 0 & \ldots 1 & 0\cr} +\right) +\] +versus +\[ +\alpha _c^{-1}\cdot \alpha _c{}'= +\PARENS{\matrix{ +0 & 0 & \ldots & -\varkappa_1\cr +1 & 0 & & -\varkappa_2\cr +0 & 1 & & \vdots \cr +\vdots & \vdots& & -\varkappa_{n-1}\cr +0 & 0 & \ldots 1 & 0\cr}} +\] + + +Similarly, instead of having to rely on an extensible square root symbol, +we can also get individually designed ones: +\[ +\sqrt{\sum_{i=1}^n (y^i -x^i )^2 } \quad \mbox{vs.}\quad \SQRT{\sum_{i=1}^n (y^i -x^i )^2 } +\] + +\end{document} diff --git a/fonts/mtp2lite/templates/Plain MTPro2.tex b/fonts/mtp2lite/templates/Plain MTPro2.tex new file mode 100644 index 0000000000..67855e3c9f --- /dev/null +++ b/fonts/mtp2lite/templates/Plain MTPro2.tex @@ -0,0 +1,56 @@ +% MathTimeProfessional fonts with Plain TeX +% For use with MTPro2 +% See <pctex>\texmf\doc\fonts\mtpro2\guide2.pdf for complete instructions. +% For sales and other information visit www.pctex.com + +% Either \input a macro package which loads Times fonts, +% or explicitly define Times text fonts as follows: +\font\tentimes=ptmr8r at 10pt +\font\seventimes=ptmr8r at 7pt +\font\fivetimes=ptmr8r at 5.5pt + +\textfont0=\tentimes +\scriptfont0=\seventimes +\scriptscriptfont0=\fivetimes +\def\rm{\fam0\tentimes} +\rm + +% Input the MathTimeProfessional macro package +\input mtp2 + +% The following are options with the *full* version (these will not +% work with the 'lite' version) + +% [Remove the % from the beginning of the following lines to activate +% the option. Roman numerals in brackets refer to guide2.pdf.] + +% Load math families +% \loadbm % Bold Math e.g. $\boldmath A$ $\bm+$ [IX] +% \loadhm % Heavy Math e.g. $\hm+$ $\hmrbrace$ [IX.4] +% \loadsya % SYmbol set A [X] +% \loadbsya % Bold SYmbol set A [X.8] +% \loadhsya % Heavy SYmbol set A [X.8] + +% Black board fonts [XI] +% \loadbb % Blackboard Bold e.g. $\bb A$ +% \loadbbd % Blackboard Bold Dark e.g. $\bbd A$ +% \loadhrb % Holey Roman Bold e.g. $\hrb A$ +% \loadhrbd % Holey Roman Bold Dark e.g. $\hrbd A$ +% \loadmbbi % Math Blackboard Bold Italic e.g. $\mbbi A$ [XIV] +% \loadmhbi % Math Holey Bold Italic e.g. $\mhbi A$ [XIV] + +% Script [XII] +% \loadmscript % Math Script e.g. $\mscript A$, $\mscript\altC$ +% \loadbmscript % Bold Math Script e.g. $\bmscript A$, $\bmscript\altC$ +% \loadmcurly % Math Curly e.g. $\mcurly A$ + +% Fraktur [XIII] +% \loadmfrak % Math Fraktur e.g. $\mfrak a$ +% \loadbmfrak % Bold Math Fraktur e.g. $\bmfrak a$ + +% Too many math font families? [XV] +% \substitute % e.g. \substitute\loadmcurly\for\loadmscript + +% Enter text and math ... + +\bye |