| 1 |
% \iffalse |
| 2 |
% $Id: jamtimes.dtx,v 1.35 2010-11-09 18:01:13 boris Exp $ |
| 3 |
% |
| 4 |
% Copyright (c) 2010, Boris Veytsman |
| 5 |
% |
| 6 |
% All rights reserved. |
| 7 |
% |
| 8 |
% Redistribution and use in source and binary forms, with or without |
| 9 |
% modification, are permitted provided that the following conditions |
| 10 |
% are met: |
| 11 |
% |
| 12 |
% * Redistributions of source code must retain the above copyright |
| 13 |
% notice, this list of conditions and the following disclaimer. |
| 14 |
% * Redistributions in binary form must reproduce the above |
| 15 |
% copyright notice, this list of conditions and the following |
| 16 |
% disclaimer in the documentation and/or other materials provided |
| 17 |
% with the distribution. |
| 18 |
% * Neither the name of the original author nor the names of the |
| 19 |
% contributors may be used to endorse or promote products derived |
| 20 |
% from this software without specific prior written permission. |
| 21 |
% |
| 22 |
% THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND |
| 23 |
% CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, |
| 24 |
% INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF |
| 25 |
% MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE |
| 26 |
% DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS |
| 27 |
% BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, |
| 28 |
% EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED |
| 29 |
% TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, |
| 30 |
% DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON |
| 31 |
% ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, |
| 32 |
% OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY |
| 33 |
% OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE |
| 34 |
% POSSIBILITY OF SUCH DAMAGE. |
| 35 |
% |
| 36 |
% \fi |
| 37 |
% \CheckSum{773} |
| 38 |
% |
| 39 |
% |
| 40 |
%% \CharacterTable |
| 41 |
%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z |
| 42 |
%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z |
| 43 |
%% Digits \0\1\2\3\4\5\6\7\8\9 |
| 44 |
%% Exclamation \! Double quote \" Hash (number) \# |
| 45 |
%% Dollar \$ Percent \% Ampersand \& |
| 46 |
%% Acute accent \' Left paren \( Right paren \) |
| 47 |
%% Asterisk \* Plus \+ Comma \, |
| 48 |
%% Minus \- Point \. Solidus \/ |
| 49 |
%% Colon \: Semicolon \; Less than \< |
| 50 |
%% Equals \= Greater than \> Question mark \? |
| 51 |
%% Commercial at \@ Left bracket \[ Backslash \\ |
| 52 |
%% Right bracket \] Circumflex \^ Underscore \_ |
| 53 |
%% Grave accent \` Left brace \{ Vertical bar \| |
| 54 |
%% Right brace \} Tilde \~} |
| 55 |
% |
| 56 |
%\iffalse |
| 57 |
% Taken from xkeyval.dtx |
| 58 |
%\fi |
| 59 |
%\makeatletter |
| 60 |
%\def\DescribeOption#1{\leavevmode\@bsphack |
| 61 |
% \marginpar{\raggedleft\PrintDescribeOption{#1}}% |
| 62 |
% \SpecialOptionIndex{#1}\@esphack\ignorespaces} |
| 63 |
%\def\PrintDescribeOption#1{\strut\emph{option}\\\MacroFont #1\ } |
| 64 |
%\def\SpecialOptionIndex#1{\@bsphack |
| 65 |
% \index{#1\actualchar{\protect\ttfamily#1} |
| 66 |
% (option)\encapchar usage}% |
| 67 |
% \index{options:\levelchar#1\actualchar{\protect\ttfamily#1}\encapchar |
| 68 |
% usage}\@esphack} |
| 69 |
%\def\DescribeOptions#1{\leavevmode\@bsphack |
| 70 |
% \marginpar{\raggedleft\strut\emph{options}% |
| 71 |
% \@for\@tempa:=#1\do{% |
| 72 |
% \\\strut\MacroFont\@tempa\SpecialOptionIndex\@tempa |
| 73 |
% }}\@esphack\ignorespaces} |
| 74 |
%\makeatother |
| 75 |
% |
| 76 |
% |
| 77 |
% \MakeShortVerb{|} |
| 78 |
% \GetFileInfo{jamtimes.dtx} |
| 79 |
% \title{Expanded Times Roman Fonts As Used in |
| 80 |
% \emph{Journal d'Analyse Math\'ematique}} |
| 81 |
% \author{Boris Veytsman\thanks{% |
| 82 |
% \href{mailto:[email protected]}{\texttt{[email protected]}}, |
| 83 |
% \href{mailto:[email protected]}{\texttt{[email protected]}}}} |
| 84 |
% \date{\filedate, \fileversion} |
| 85 |
% \maketitle |
| 86 |
% \begin{abstract} |
| 87 |
% This package provides \LaTeX{} support for expanded Times Roman |
| 88 |
% font, which has been used by \emph{Journal d'Analyse |
| 89 |
% Math\'ematique} for many years. Mathematics support is based on |
| 90 |
% \emph{Belleek} fonts. |
| 91 |
% \end{abstract} |
| 92 |
% \tableofcontents |
| 93 |
% |
| 94 |
% \changes{v1.0}{2009/10/12}{First fully functional version} |
| 95 |
% \changes{v1.2a}{2010/04/22}{Documentation update} |
| 96 |
% \changes{v1.3}{2010/05/07}{Corrected map entries} |
| 97 |
% \changes{v1.5}{2010/05/31}{Added symbols missing from the Belleek |
| 98 |
% fonts} |
| 99 |
% \changes{v1.6}{2010/06/22}{Documentation changes} |
| 100 |
% \changes{v1.7}{2010/07/08}{Uppercase upright Greek} |
| 101 |
% \changes{v1.7}{2010/07/28}{Documentation changes} |
| 102 |
% \changes{v1.9}{2010/09/15}{Fixed a bug in installation script} |
| 103 |
% |
| 104 |
% \section{Introduction} |
| 105 |
% \label{sec:intro} |
| 106 |
% |
| 107 |
% For about a decade \emph{Journal d'Analyse Math\'ematique} |
| 108 |
% (\url{http://www.ma.huji.ac.il/jdm/}) used a set of fonts based on |
| 109 |
% the well known Times Roman family\footnote{It is now difficult to |
| 110 |
% say who designed these fonts initially. Dov Goldstein supported |
| 111 |
% the fonts for a number of years.}. The fonts were slightly |
| 112 |
% expanded in the $x$ direction. This small change gave the journal |
| 113 |
% its unique look and feel. The fonts worked for many years. |
| 114 |
% However, over this time a number of problems turned up: |
| 115 |
% \begin{enumerate} |
| 116 |
% \item The fonts were originally created for |dvips| and included |
| 117 |
% some PostScript trickery (for example, in dotless $\jmath$). This |
| 118 |
% made their use with |pdftex| difficult. |
| 119 |
% \item The fonts included only |OT1| encoding. |
| 120 |
% \item The math was based on the combination of Times Roman |
| 121 |
% \emph{and} Computer Modern for the symbols absent in Times Roman. |
| 122 |
% These fonts do not mesh well. Later the journal tried to use just |
| 123 |
% Computer Modern math throughout, which still contrasted with the |
| 124 |
% body text. |
| 125 |
% \item It was considered beneficial to give the authors the option of |
| 126 |
% prepare their papers with the journal fonts, and the package lacked |
| 127 |
% documentation and installation instruction. |
| 128 |
% \end{enumerate} |
| 129 |
% At last \emph{Magnes Press,} the publisher of \emph{Journal |
| 130 |
% d'Analyse Math\'ematique,} commissioned the overhaul of the |
| 131 |
% journal \TeX{} styles. This package is a part of the effort. |
| 132 |
% |
| 133 |
% We recreate the fonts from scratch. The mathematics is based on |
| 134 |
% Belleek fonts~\cite{Kinch98:Belleek}, expanded to match the body. |
| 135 |
% The text fonts are provided in |OT1| and |T1| encoding. |
| 136 |
% |
| 137 |
% |
| 138 |
% The package works both with the |pdflatex| route and the |
| 139 |
% |latex|$to$|dvips| route. The files |textsample.pdf|, |
| 140 |
% |mathsample.pdf| and |textsample_ps.pdf|, |mathsample_ps.pdf| |
| 141 |
% provide the sample of output for these two routes. |
| 142 |
% |
| 143 |
%\section{User Guide} |
| 144 |
%\label{sec:userguide} |
| 145 |
% |
| 146 |
% |
| 147 |
%\subsection{Installation} |
| 148 |
%\label{sec:install} |
| 149 |
% |
| 150 |
% You need Belleek fonts~\cite{Kinch98:Belleek} and (optionally) Math |
| 151 |
% Design fonts~\cite{Pichaureau05:MathDesign}. They are now a part |
| 152 |
% of most modern distributions. If you do not have them, just |
| 153 |
% download them from CTAN. |
| 154 |
% |
| 155 |
% Download the file |
| 156 |
% \url{http://ctan.tug.org/install/fonts/psfonts/public/jamstimes.tds.zip} |
| 157 |
% and unzip it in the \path{$TEXMF} directory. For \TeX Live it is |
| 158 |
% probably \path{/usr/local/texlive/texmf-local}, or |
| 159 |
% \path{/usr/local/share/texmf-local}, or \path{~/texmf}, or |
| 160 |
% \path{C:\Program Files\texlive\texmf-local}, etc. For Mik\TeX{} it |
| 161 |
% is probably \path{C:\miktex\texmf} or \path{C:\miktex\localtexmf}. |
| 162 |
% Run |texhash| to update the database of file names. |
| 163 |
% |
| 164 |
% Now you need to add the map file |jtm.map| to the configuration files |
| 165 |
% of |dvips| and |pdftex|. This again depends on your |
| 166 |
% distribution. For \TeX Live you create a file |
| 167 |
% \path{$TEXMF/updmap.d/50jtm.cfg} with just the line |
| 168 |
% \begin{verbatim} |
| 169 |
% Map jtm.map |
| 170 |
% \end{verbatim} |
| 171 |
% and then run |texhash| and |updmap|. If you use Debian or Ubuntu, |
| 172 |
% the system-wide |updmap.d| directory is located in |/etc|, and you |
| 173 |
% need to create the file |jtm.list| in |
| 174 |
% \path{/var/lib/tex-common/fontmap-cfg/whitnca.list} with the line |
| 175 |
% \begin{verbatim} |
| 176 |
% 50jtm |
| 177 |
% \end{verbatim} |
| 178 |
% |
| 179 |
% |
| 180 |
% If you use Mik\TeX2.6, run |
| 181 |
% \begin{verbatim} |
| 182 |
% initexmf --edit-config-file updmap |
| 183 |
% \end{verbatim} |
| 184 |
% Add to the config file |
| 185 |
% \begin{verbatim} |
| 186 |
% Map jtm.map |
| 187 |
% \end{verbatim} |
| 188 |
% save, exit and run |updmap|. |
| 189 |
% |
| 190 |
% If you use Mik\TeX2.5 or earlier, edit |
| 191 |
% \path{localtexmf\web2c\updmap.cfg}, adding the line |
| 192 |
% \begin{verbatim} |
| 193 |
% Map jtm.map |
| 194 |
% \end{verbatim} |
| 195 |
% and run |updmap|. |
| 196 |
% |
| 197 |
% Refer to your distribution documentation for the details. |
| 198 |
% |
| 199 |
% |
| 200 |
% An interesting question: it is possible to use the package with the |
| 201 |
% commercial MathTime\textsuperscript{\texttrademark} fonts from |
| 202 |
% PC\TeX{} (\url{http://www.pctex.com/})? I think that the answer is |
| 203 |
% positive, but since I do not have these fonts, I have not tested |
| 204 |
% this setup. If you have them, just change the lines in the file |
| 205 |
% |jtm.map| to refer to the proper fonts. Note that these fonts have |
| 206 |
% some options (bold math, heavy math) not supported by the package. |
| 207 |
% |
| 208 |
%\subsection{Usage} |
| 209 |
%\label{sec:usage} |
| 210 |
% |
| 211 |
% If your installation have been successful, add the line |
| 212 |
% \begin{quote} |
| 213 |
% |\usepackage|\oarg{options}\marg{jamtimes} |
| 214 |
% \end{quote} |
| 215 |
% to the preamble of your document. Note that this package changes |
| 216 |
% both math and text fonts. |
| 217 |
% |
| 218 |
% The package provides a number of options. The default values of the |
| 219 |
% options correspond to the practice of \emph{Journal d'Analyse |
| 220 |
% Math\'ematique.} You can try to change them to get a different |
| 221 |
% look and feel. |
| 222 |
% |
| 223 |
% |
| 224 |
% \DescribeOption{scaled} |
| 225 |
% The package has the option |scaled=...|. The fonts are uniformly |
| 226 |
% scaled according to the numerical value of the option. By default |
| 227 |
% the fonts are scaled 5\%, as if the setting |scaled=1.05| is in |
| 228 |
% effect. If you do not want to scale |
| 229 |
% the fonts at all, just call the package with the option |scaled=1|. |
| 230 |
% |
| 231 |
% |
| 232 |
% \DescribeOptions{sffamily,ttfamily} |
| 233 |
% By default the package uses Helvetica as the sans serif font and |
| 234 |
% Courier as the monospaced font. This default can be changed with |
| 235 |
% the options |sffamily=...| (the default value is |phv|) and |
| 236 |
% |ttfamily=...| (the default value is |pcr|). |
| 237 |
% |
| 238 |
% \DescribeOption{sfscaled} |
| 239 |
% If the sans serif family is Helvetica, the package provides an |
| 240 |
% additional options |sfscaled=...|. It sets the scaling |
| 241 |
% of the sans serif fonts. By default it is 0.94: this provides a |
| 242 |
% good mesh with 5\% scaled Times fonts. |
| 243 |
% |
| 244 |
% \DescribeOption{amsfontsscaled} |
| 245 |
% The package automatically loads amsfonts, including Euler Script, |
| 246 |
% and Euler Fraktur fonts. The option |amsfontsscaled=...| provides a |
| 247 |
% way to change the scaling of these fonts. By default they are |
| 248 |
% scaled 5\%, just as the body and main math fonts. |
| 249 |
% |
| 250 |
% |
| 251 |
% The package provides the fonts listed in Table~\ref{tab:fonts}. |
| 252 |
% Note that the expansion mentioned there always means expansion along |
| 253 |
% the horizontal axis \emph{in addition} to the scaling set by the |
| 254 |
% package options. |
| 255 |
% |
| 256 |
% \DescribeMacro{\bfdefault} |
| 257 |
% Another notable detail is that usually \LaTeX{} sets |\bfdefault| to |
| 258 |
% be |bx| (bold extended), and most font packages substitute it to |b| |
| 259 |
% (bold). Our fonts have both bold and bold extended fonts, and by |
| 260 |
% default use bold extended fonts for |\bfdefault|. If you want to |
| 261 |
% use bold extended fonts instead, just say |
| 262 |
% \begin{quote} |
| 263 |
% |\renewcommand{\bdefault}{b}| |
| 264 |
% \end{quote} |
| 265 |
% |
| 266 |
% |
| 267 |
% \begin{table} |
| 268 |
% \begin{minipage}{\linewidth} |
| 269 |
% \renewcommand{\thefootnote}{\thempfootnote} |
| 270 |
% \centering |
| 271 |
% \caption{Fonts Provided by the Package. \texttt{EE} corresponds |
| 272 |
% to font encoding (see~\cite{fontname}).} |
| 273 |
% \label{tab:fonts} |
| 274 |
% \begin{tabular}{llp{2.2in}} |
| 275 |
% \toprule |
| 276 |
% NFSS Code & Fontname Name & Comments\\ |
| 277 |
% \midrule |
| 278 |
% \emph{c, n} & |jtmrEEc| & Times Roman, compressed 20\%\\ |
| 279 |
% \emph{m, n} & |jtmrEEe| & Times Roman, expanded 5\%\\ |
| 280 |
% \emph{m, it} & |jtmriEEe| & Times Roman Italic, expanded 5\%\\ |
| 281 |
% \emph{m, sl} & |jtmroEEe| & (fake) Times Roman Oblique, |
| 282 |
% expanded 5\%\\ |
| 283 |
% \emph{m, sc} & |jtmrcEEe| & (fake) Small Caps Times Roman, |
| 284 |
% expanded 5\%\\ |
| 285 |
% \emph{b, n} & |ptmbEE|\footnote{These fonts coincide with the |
| 286 |
% standard Times fonts} & Times Bold\\ |
| 287 |
% \emph{b, it} & |ptmbiEE|\footnotemark[1] & Times Bold Italic\\ |
| 288 |
% \emph{b, sl} & |ptmboEE|\footnotemark[1] & (fake) Times Bold Oblique\\ |
| 289 |
% \emph{b, sc} & |ptmbcEE|\footnotemark[1] & (fake) small caps Times Bold\\ |
| 290 |
% \emph{x, n} & |jtmrEEw| & Times Roman, expanded 25\%\\ |
| 291 |
% \emph{x, it} & |jtmriEEw| & Times Roman Italic, expanded 25\%\\ |
| 292 |
% \emph{x, sl} & |jtmroEEw| & (fake) Times Roman Oblique, |
| 293 |
% expanded 25\%\\ |
| 294 |
% \emph{x, sc} & |jtmrcEEw| & (fake) Small Caps Times Roman, |
| 295 |
% expanded 25\%\\ |
| 296 |
% \emph{bx, n} & |jtmbEEv| & Times Bold, expanded 15\%\\ |
| 297 |
% \emph{bx, it} & |jtmbiEEv| & Times Bold Italic, expanded 15\%\\ |
| 298 |
% \emph{bx, sl} & |jtmboEEv| & (fake) Times Bold Oblique, expanded |
| 299 |
% 15\%\\ |
| 300 |
% \emph{bx, sc} & |jtmbcEEv| & (fake) small caps Times Bold, |
| 301 |
% expanded 15\%\\ |
| 302 |
% \bottomrule |
| 303 |
% \end{tabular} |
| 304 |
% \end{minipage} |
| 305 |
% \end{table} |
| 306 |
% |
| 307 |
% |
| 308 |
% |
| 309 |
% |
| 310 |
% \StopEventually{ |
| 311 |
% \clearpage |
| 312 |
% \paragraph{Acknowledgements} |
| 313 |
% |
| 314 |
% This package was commissioned by \emph{Magnes Press,} |
| 315 |
% \url{http://www.magnespress.co.il}. I am greatly indebted to Eva |
| 316 |
% Goldman for the patient testing of the fonts. |
| 317 |
% |
| 318 |
% \bibliography{jamtimes} |
| 319 |
% \bibliographystyle{unsrt}} |
| 320 |
% |
| 321 |
% \clearpage |
| 322 |
%\section{Implementation} |
| 323 |
%\label{sec:impl} |
| 324 |
% |
| 325 |
%\subsection{Identification} |
| 326 |
%\label{sec:ident} |
| 327 |
% |
| 328 |
% We start with the declaration who we are. Most |.dtx| files put |
| 329 |
% driver code in a separate driver file |.drv|. We roll this code into the |
| 330 |
% main file, and use the pseudo-guard |<gobble>| for it. |
| 331 |
% \begin{macrocode} |
| 332 |
%<style>\NeedsTeXFormat{LaTeX2e} |
| 333 |
%<*gobble> |
| 334 |
\ProvidesFile{jamtimes.dtx} |
| 335 |
%</gobble> |
| 336 |
%<style>\ProvidesClass{jamtimes} |
| 337 |
%<drv>\ProvidesFile{drv.tex} |
| 338 |
%<map>\ProvidesFile{map.tex} |
| 339 |
%<jamomlhax>\ProvidesMtxPackage{jamomlhax.mtx} |
| 340 |
%<*style|drv|map> |
| 341 |
[2010/11/09 v1.12 Expanded Times Fonts (Journal d'Analyse Mathematique)] |
| 342 |
%</style|drv|map> |
| 343 |
% \end{macrocode} |
| 344 |
% And the driver code: |
| 345 |
% \begin{macrocode} |
| 346 |
%<*gobble> |
| 347 |
\documentclass{ltxdoc} |
| 348 |
\usepackage{booktabs} |
| 349 |
\usepackage[tableposition=top]{caption} |
| 350 |
\usepackage{url} |
| 351 |
\usepackage[breaklinks,colorlinks,linkcolor=black,citecolor=black, |
| 352 |
pagecolor=black,urlcolor=black,hyperindex=false]{hyperref} |
| 353 |
\PageIndex |
| 354 |
\CodelineIndex |
| 355 |
\RecordChanges |
| 356 |
\EnableCrossrefs |
| 357 |
\begin{document} |
| 358 |
\DocInput{jamtimes.dtx} |
| 359 |
\end{document} |
| 360 |
%</gobble> |
| 361 |
% \end{macrocode} |
| 362 |
% |
| 363 |
%\subsection{Fontinst Driver} |
| 364 |
%\label{sec:pnb-drv} |
| 365 |
% |
| 366 |
% This follows~\cite{fontinstallationguide}. |
| 367 |
% |
| 368 |
% First, the preamble |
| 369 |
% \begin{macrocode} |
| 370 |
%<*drv> |
| 371 |
\input fontinst.sty |
| 372 |
% \end{macrocode} |
| 373 |
% |
| 374 |
% Definition of the parameters |
| 375 |
% \begin{macrocode} |
| 376 |
\setint{slant}{167} |
| 377 |
\setint{smallcapsscale}{750} |
| 378 |
\setint{compressedscale}{800} |
| 379 |
\setint{extendedscale}{1050} |
| 380 |
\setint{extraextendedscale}{1150} |
| 381 |
\setint{widescale}{1250} |
| 382 |
% \end{macrocode} |
| 383 |
% |
| 384 |
% Starting recording transforms: |
| 385 |
% \begin{macrocode} |
| 386 |
\recordtransforms{rec.tex} |
| 387 |
% \end{macrocode} |
| 388 |
% |
| 389 |
% Scale all text fonts in the |8r| encoding. Interesting enough, Dov |
| 390 |
% preferred medium fonts to be extended comparing to the bold ones. |
| 391 |
% We preserve this choice. |
| 392 |
% \begin{macrocode} |
| 393 |
\transformfont{jtmr8rc}{\xscalefont{\int{compressedscale}}% |
| 394 |
\reencodefont{8r}{\fromafm{ptmr8a}}} |
| 395 |
\transformfont{jtmr8re}{\xscalefont{\int{extendedscale}}% |
| 396 |
\reencodefont{8r}{\fromafm{ptmr8a}}} |
| 397 |
\transformfont{jtmri8re}{\xscalefont{\int{extendedscale}}% |
| 398 |
\reencodefont{8r}{\fromafm{ptmri8a}}} |
| 399 |
\transformfont{jtmro8re}{\slantfont{\int{slant}}% |
| 400 |
\fromany{jtmr8re}} |
| 401 |
\transformfont{jtmr8rw}{\xscalefont{\int{widescale}}% |
| 402 |
\reencodefont{8r}{\fromafm{ptmr8a}}} |
| 403 |
\transformfont{jtmri8rw}{\xscalefont{\int{widescale}}% |
| 404 |
\reencodefont{8r}{\fromafm{ptmri8a}}} |
| 405 |
\transformfont{jtmro8rw}{\slantfont{\int{slant}}% |
| 406 |
\fromany{jtmr8rw}} |
| 407 |
\transformfont{jtmb8rv}{\xscalefont{\int{extraextendedscale}}% |
| 408 |
\reencodefont{8r}{\fromafm{ptmb8a}}} |
| 409 |
\transformfont{jtmbi8rv}{\xscalefont{\int{extraextendedscale}}% |
| 410 |
\reencodefont{8r}{\fromafm{ptmbi8a}}} |
| 411 |
\transformfont{jtmbo8rv}{\slantfont{\int{slant}}% |
| 412 |
\fromany{jtmb8rv}} |
| 413 |
% \end{macrocode} |
| 414 |
% |
| 415 |
% Same with math fonts. Note that Dov wanted medium weight |
| 416 |
% mathematical fonts \emph{not} extended. We reverse this decision. |
| 417 |
% Note that |rblmi| does not have non-Greek letters, so we call its |
| 418 |
% encoding |7z| instead of |7m| |
| 419 |
% \begin{macrocode} |
| 420 |
%\transformfont{jtmr7voe}{\fromafm{blex}} |
| 421 |
\transformfont{jtmr7yoe}{\xscalefont{\int{extendedscale}}\fromafm{blsy}} |
| 422 |
\transformfont{jtmri7ze}{\xscalefont{\int{extendedscale}}\fromafm{rblmi}} |
| 423 |
% \end{macrocode} |
| 424 |
% |
| 425 |
% |
| 426 |
% There is no hook in |fontinst.sty| for writing our own preamble to |
| 427 |
% |.fd| file. However, we need to add scaling commands to the |
| 428 |
% preamble. OK, we will patch fontinst: |
| 429 |
% \begin{macrocode} |
| 430 |
\fontinstcc |
| 431 |
\def\fd_family#1#2#3{ |
| 432 |
\a_toks{#3} |
| 433 |
\edef\lowercase_file{\lowercase{ |
| 434 |
\edef\noexpand\lowercase_file{#1#2.fd}}} |
| 435 |
\lowercase_file |
| 436 |
\open_out{\lowercase_file} |
| 437 |
\out_line{\percent_char~Filename:~\lowercase_file} |
| 438 |
\out_line{\percent_char~Created~by:~tex~\jobname} |
| 439 |
\out_line{\percent_char~Created~using~fontinst~v\fontinstversion} |
| 440 |
\out_line{} |
| 441 |
\out_line{\percent_char~THIS~FILE~SHOULD~BE~PUT~IN~A~TEX~INPUTS~ |
| 442 |
DIRECTORY} |
| 443 |
\out_line{} |
| 444 |
\out_line{\string\ProvidesFile{\lowercase_file}} |
| 445 |
\out_lline{[ |
| 446 |
\the\year/ |
| 447 |
\ifnum10>\month0\fi\the\month/ |
| 448 |
\ifnum10>\day0\fi\the\day\space |
| 449 |
Fontinst~v\fontinstversion\space |
| 450 |
font~definitions~for~#1/#2. |
| 451 |
]} |
| 452 |
\out_line{} |
| 453 |
% \end{macrocode} |
| 454 |
% Here is our patch: |
| 455 |
% \begin{macrocode} |
| 456 |
\out_line{\string\expandafter\string\ifx\string\csname\space |
| 457 |
Jtms@scale\string\endcsname\string\relax} |
| 458 |
\out_line{\space\string\let\string\Jtms@@scale\string\@empty} |
| 459 |
\out_line{\string\else} |
| 460 |
\out_line{\space\string\edef\string\Jtms@@scale\left_brace_char |
| 461 |
s*[\string\csname\space Jtms@scale\string\endcsname] |
| 462 |
\right_brace_char\percent_char} |
| 463 |
\out_line{\string\fi\percent_char} |
| 464 |
\out_line{} |
| 465 |
% \end{macrocode} |
| 466 |
% End of the patch. |
| 467 |
% \begin{macrocode} |
| 468 |
\out_line{\string\DeclareFontFamily{#1}{#2}{\the\a_toks}} |
| 469 |
{ |
| 470 |
\csname #1-#2\endcsname |
| 471 |
\out_line{} |
| 472 |
\let\do_shape=\substitute_shape |
| 473 |
\csname #1-#2\endcsname |
| 474 |
\let\do_shape=\remove_shape |
| 475 |
\csname #1-#2\endcsname |
| 476 |
} |
| 477 |
\x_cs\g_let{#1-#2}\x_relax |
| 478 |
\out_line{} |
| 479 |
\out_line{\string\endinput} |
| 480 |
\close_out{Font~definitions} |
| 481 |
} |
| 482 |
\normalcc |
| 483 |
% \end{macrocode} |
| 484 |
% |
| 485 |
% Now we are ready to install fonts. Note that bold fonts here are |
| 486 |
% not extended, so we use standard Times fonts for bold. |
| 487 |
% |
| 488 |
% First, |OT1|: |
| 489 |
% \begin{macrocode} |
| 490 |
\installfonts |
| 491 |
\installfamily{OT1}{jtm}{\skewchar\font=127} |
| 492 |
\installfont{jtmr7tc}{jtmr8rc,jtmri7ze,newlatin,jamot1hax}{ot1}{OT1}{jtm}{c}{n}{ |
| 493 |
<->\string\Jtms@@scale} |
| 494 |
\installfont{jtmr7te}{jtmr8re,jtmri7ze,newlatin,jamot1hax}{ot1}{OT1}{jtm}{m}{n}{ |
| 495 |
<->\string\Jtms@@scale} |
| 496 |
\installfont{jtmri7te}{jtmri8re,jtmri7ze,newlatin,jamot1hax}{ot1}{OT1}{jtm}{m}{it}{ |
| 497 |
<->\string\Jtms@@scale} |
| 498 |
\installfont{jtmro7te}{jtmro8re,jtmri7ze,newlatin,jamot1hax}{ot1}{OT1}{jtm}{m}{sl}{ |
| 499 |
<->\string\Jtms@@scale} |
| 500 |
\installfont{jtmrc7te}{jtmr8re,jtmri7ze,newlatin,jamot1hax}{ot1c}{OT1}{jtm}{m}{sc}{ |
| 501 |
<->\string\Jtms@@scale} |
| 502 |
\installfontas{ptmb7t}{OT1}{jtm}{b}{n}{ |
| 503 |
<->\string\Jtms@@scale} |
| 504 |
\installfontas{ptmbi7t}{OT1}{jtm}{b}{it}{ |
| 505 |
<->\string\Jtms@@scale} |
| 506 |
\installfontas{ptmbo7t}{OT1}{jtm}{b}{sl}{ |
| 507 |
<->\string\Jtms@@scale} |
| 508 |
\installfontas{ptmbc7t}{OT1}{jtm}{b}{sc}{ |
| 509 |
<->\string\Jtms@@scale} |
| 510 |
\installfont{jtmr7tw}{jtmr8rw,jtmri7ze,newlatin,jamot1hax}{ot1}{OT1}{jtm}{x}{n}{ |
| 511 |
<->\string\Jtms@@scale} |
| 512 |
\installfont{jtmri7tw}{jtmri8rw,jtmri7ze,newlatin,jamot1hax}{ot1}{OT1}{jtm}{x}{it}{ |
| 513 |
<->\string\Jtms@@scale} |
| 514 |
\installfont{jtmro7tw}{jtmro8rw,jtmri7ze,newlatin,jamot1hax}{ot1}{OT1}{jtm}{x}{sl}{ |
| 515 |
<->\string\Jtms@@scale} |
| 516 |
\installfont{jtmrc7tw}{jtmr8rw,jtmri7ze,newlatin,jamot1hax}{ot1c}{OT1}{jtm}{x}{sc}{ |
| 517 |
<->\string\Jtms@@scale} |
| 518 |
\installfont{jtmb7tv}{jtmb8rv,jtmri7ze,newlatin,jamot1hax}{ot1}{OT1}{jtm}{bx}{n}{ |
| 519 |
<->\string\Jtms@@scale} |
| 520 |
\installfont{jtmbi7tv}{jtmbi8rv,jtmri7ze,newlatin,jamot1hax}{ot1}{OT1}{jtm}{bx}{it}{ |
| 521 |
<->\string\Jtms@@scale} |
| 522 |
\installfont{jtmbo7tv}{jtmbo8rv,jtmri7ze,newlatin,jamot1hax}{ot1}{OT1}{jtm}{bx}{sl}{ |
| 523 |
<->\string\Jtms@@scale} |
| 524 |
\installfont{jtmbc7tv}{jtmb8rv,jtmri7ze,newlatin,jamot1hax}{ot1c}{OT1}{jtm}{bx}{sc}{ |
| 525 |
<->\string\Jtms@@scale} |
| 526 |
% \end{macrocode} |
| 527 |
% |
| 528 |
% Then |T1| |
| 529 |
% \begin{macrocode} |
| 530 |
\installfamily{T1}{jtm}{} |
| 531 |
\installfont{jtmr8tc}{jtmr8rc,jtmri7ze,newlatin}{t1}{T1}{jtm}{c}{n}{ |
| 532 |
<->\string\Jtms@@scale} |
| 533 |
\installfont{jtmr8te}{jtmr8re,jtmri7ze,newlatin,jtmri7ze}{t1}{T1}{jtm}{m}{n}{ |
| 534 |
<->\string\Jtms@@scale} |
| 535 |
\installfont{jtmri8te}{jtmri8re,jtmri7ze,newlatin,jtmri7ze}{t1}{T1}{jtm}{m}{it}{ |
| 536 |
<->\string\Jtms@@scale} |
| 537 |
\installfont{jtmro8te}{jtmro8re,jtmri7ze,newlatin}{t1}{T1}{jtm}{m}{sl}{ |
| 538 |
<->\string\Jtms@@scale} |
| 539 |
\installfont{jtmrc8te}{jtmr8re,jtmri7ze,newlatin}{t1c}{T1}{jtm}{m}{sc}{ |
| 540 |
<->\string\Jtms@@scale} |
| 541 |
\installfontas{ptmb8t}{T1}{jtm}{b}{n}{ |
| 542 |
<->\string\Jtms@@scale} |
| 543 |
\installfontas{ptmbi8t}{T1}{jtm}{b}{it}{ |
| 544 |
<->\string\Jtms@@scale} |
| 545 |
\installfontas{ptmbo8t}{T1}{jtm}{b}{sl}{ |
| 546 |
<->\string\Jtms@@scale} |
| 547 |
\installfontas{ptmbc8t}{T1}{jtm}{b}{sc}{ |
| 548 |
<->\string\Jtms@@scale} |
| 549 |
\installfont{jtmr8tw}{jtmr8rw,jtmri7ze,newlatin}{t1}{T1}{jtm}{x}{n}{ |
| 550 |
<->\string\Jtms@@scale} |
| 551 |
\installfont{jtmri8tw}{jtmri8rw,jtmri7ze,newlatin}{t1}{T1}{jtm}{x}{it}{ |
| 552 |
<->\string\Jtms@@scale} |
| 553 |
\installfont{jtmro8tw}{jtmro8rw,jtmri7ze,newlatin}{t1}{T1}{jtm}{x}{sl}{ |
| 554 |
<->\string\Jtms@@scale} |
| 555 |
\installfont{jtmrc8tw}{jtmr8rw,jtmri7ze,newlatin}{t1c}{T1}{jtm}{x}{sc}{ |
| 556 |
<->\string\Jtms@@scale} |
| 557 |
\installfont{jtmb8tv}{jtmb8rv,jtmri7ze,newlatin}{t1}{T1}{jtm}{bx}{n}{ |
| 558 |
<->\string\Jtms@@scale} |
| 559 |
\installfont{jtmbi8tv}{jtmbi8rv,jtmri7ze,newlatin}{t1}{T1}{jtm}{bx}{it}{ |
| 560 |
<->\string\Jtms@@scale} |
| 561 |
\installfont{jtmbo8tv}{jtmbo8rv,jtmri7ze,newlatin}{t1}{T1}{jtm}{bx}{sl}{ |
| 562 |
<->\string\Jtms@@scale} |
| 563 |
\installfont{jtmbc8tv}{jtmb8rv,jtmri7ze,newlatin}{t1c}{T1}{jtm}{bx}{sc}{ |
| 564 |
<->\string\Jtms@@scale} |
| 565 |
% \end{macrocode} |
| 566 |
% |
| 567 |
% Then |TS1|. We do not fake small caps here, so |textcomp| can take |
| 568 |
% (faked) |\texteuro| from normal fonts. |
| 569 |
% \begin{macrocode} |
| 570 |
\installfamily{TS1}{jtm}{} |
| 571 |
\installfont{jtmr8cc}{jtmr8rc,textcomp}{ts1}{TS1}{jtm}{c}{n}{ |
| 572 |
<->\string\Jtms@@scale} |
| 573 |
\installfont{jtmr8ce}{jtmr8re,textcomp,jtmri7ze}{ts1}{TS1}{jtm}{m}{n}{ |
| 574 |
<->\string\Jtms@@scale} |
| 575 |
\installfont{jtmri8ce}{jtmri8re,textcomp,jtmri7ze}{ts1}{TS1}{jtm}{m}{it}{ |
| 576 |
<->\string\Jtms@@scale} |
| 577 |
\installfont{jtmro8ce}{jtmro8re,textcomp}{ts1}{TS1}{jtm}{m}{sl}{ |
| 578 |
<->\string\Jtms@@scale} |
| 579 |
%\installfont{jtmrc8te}{TS1}{jtm}{m}{sc}{ |
| 580 |
% <->\string\Jtms@@scale} |
| 581 |
\installfontas{ptmb8c}{TS1}{jtm}{b}{n}{ |
| 582 |
<->\string\Jtms@@scale} |
| 583 |
\installfontas{ptmbi8c}{TS1}{jtm}{b}{it}{ |
| 584 |
<->\string\Jtms@@scale} |
| 585 |
\installfontas{ptmbo8c}{TS1}{jtm}{b}{sl}{ |
| 586 |
<->\string\Jtms@@scale} |
| 587 |
%\installfontas{ptmbc8t}{TS1}{jtm}{b}{sc}{ |
| 588 |
% <->\string\Jtms@@scale} |
| 589 |
\installfont{jtmr8cw}{jtmr8rw,textcomp}{ts1}{TS1}{jtm}{x}{n}{ |
| 590 |
<->\string\Jtms@@scale} |
| 591 |
\installfont{jtmri8cw}{jtmri8rw,textcomp}{ts1}{TS1}{jtm}{x}{it}{ |
| 592 |
<->\string\Jtms@@scale} |
| 593 |
\installfont{jtmro8cw}{jtmro8rw,textcomp}{ts1}{TS1}{jtm}{x}{sl}{ |
| 594 |
<->\string\Jtms@@scale} |
| 595 |
%\installfontas{jtmrc8tw}{TS1}{jtm}{x}{sc}{ |
| 596 |
% <->\string\Jtms@@scale} |
| 597 |
\installfont{jtmb8cv}{jtmb8rv,textcomp}{ts1}{TS1}{jtm}{bx}{n}{ |
| 598 |
<->\string\Jtms@@scale} |
| 599 |
\installfont{jtmbi8cv}{jtmbi8rv,textcomp}{ts1}{TS1}{jtm}{bx}{it}{ |
| 600 |
<->\string\Jtms@@scale} |
| 601 |
\installfont{jtmbo8cv}{jtmbo8rv,textcomp}{ts1}{TS1}{jtm}{bx}{sl}{ |
| 602 |
<->\string\Jtms@@scale} |
| 603 |
%\installfontas{jtmbc8tv}{TS1}{jtm}{bx}{sc}{ |
| 604 |
% <->\string\Jtms@@scale} |
| 605 |
% \end{macrocode} |
| 606 |
% |
| 607 |
% |
| 608 |
% Now math fonts. We add italics to the |OML| fonts. Since there are |
| 609 |
% some fonts missing in the Beleek smybols fonts, we reset them and |
| 610 |
% take fake fonts from Computer Modern |
| 611 |
% \changes{v1.1}{2009/10/14}{Added skewchar parameters} |
| 612 |
% \begin{macrocode} |
| 613 |
\installfamily{OML}{jtm}{\skewchar\font=127} |
| 614 |
\installfont{jtmri7me}{jtmri7ze,jtmri7te,cmmi10,jamomlhax}{oml}{OML}{jtm}{m}{it}{ |
| 615 |
<->\string\Jtms@@scale} |
| 616 |
\installfont{jtmbi7me}{jtmbi7tv,jtmri7ze,cmmib10,jamomlhax}{oml}{OML}{jtm}{bx}{it}{ |
| 617 |
<->\string\Jtms@@scale} |
| 618 |
\installfamily{OMS}{jtm}{\skewchar\font=48} |
| 619 |
\installfont{jtmr7ye}{jtmr7yoe,cmsy10}{oms}{OMS}{jtm}{m}{n}{ |
| 620 |
<->\string\Jtms@@scale} |
| 621 |
% \end{macrocode} |
| 622 |
% |
| 623 |
% |
| 624 |
% And the end: |
| 625 |
% \begin{macrocode} |
| 626 |
\endinstallfonts |
| 627 |
\endrecordtransforms |
| 628 |
\bye |
| 629 |
%</drv> |
| 630 |
% \end{macrocode} |
| 631 |
% |
| 632 |
%\subsection{Fontmap Generation} |
| 633 |
%\label{sec:fontmap} |
| 634 |
% |
| 635 |
% This is a standard procedure~\cite{fontinstallationguide}. We |
| 636 |
% use URW Times files, because |pdftex| cannot extend fonts unless |
| 637 |
% they are embedded. |
| 638 |
% \begin{macrocode} |
| 639 |
%<*map> |
| 640 |
\input finstmsc.sty |
| 641 |
\resetstr{PSfontsuffix}{.pfb} |
| 642 |
\specifypsfont{Times-Roman}{\download{utmr8a.pfb}} |
| 643 |
\specifypsfont{Times-Italic}{\download{utmri8a.pfb}} |
| 644 |
\specifypsfont{Times-Bold}{\download{utmb8a.pfb}} |
| 645 |
\specifypsfont{Times-BoldItalic}{\download{utmbi8a.pfb}} |
| 646 |
%\etxtoenc{omx}{texmext} |
| 647 |
%\enctoetx{texmext}{omx} |
| 648 |
\adddriver{dvips}{jtm.map} |
| 649 |
\input rec.tex |
| 650 |
\donedrivers |
| 651 |
\bye |
| 652 |
%</map> |
| 653 |
% \end{macrocode} |
| 654 |
% |
| 655 |
%\subsection{Style File} |
| 656 |
%\label{sec:style} |
| 657 |
% |
| 658 |
% First, define all options: |
| 659 |
% \begin{macrocode} |
| 660 |
%<*style> |
| 661 |
\RequirePackage{xkeyval} |
| 662 |
\DeclareOptionX{scaled}{\gdef\Jtms@scale{#1}} |
| 663 |
\DeclareOptionX{sfscaled}{\gdef\Hv@scale{#1}} |
| 664 |
\DeclareOptionX{amsfontsscaled}{\gdef\AmsFonts@scale{#1}} |
| 665 |
\DeclareOptionX{sffamily}{\gdef\sfdefault{#1}} |
| 666 |
\DeclareOptionX{ttfamily}{\gdef\ttdefault{#1}} |
| 667 |
\ExecuteOptionsX{scaled=1.05,sfscaled=0.94,amsfontsscaled=1.05,sffamily=phv,% |
| 668 |
ttfamily=pcr} |
| 669 |
\ProcessOptionsX |
| 670 |
\edef\AmsFonts@@scale{*[\csname AmsFonts@scale\endcsname]} |
| 671 |
% \end{macrocode} |
| 672 |
% |
| 673 |
% Now we make |jtm| the text default. |
| 674 |
% \begin{macrocode} |
| 675 |
\def\rmdefault{jtm} |
| 676 |
% \end{macrocode} |
| 677 |
% |
| 678 |
% |
| 679 |
% \changes{v1.1}{2009/10/14}{Used math design for large symbols} |
| 680 |
% Math is more complex. We follow mostly~\cite{Hoenig98:TeXUnbound}. |
| 681 |
% Note that |blex| font is broken, so we use math design font |
| 682 |
% |cmex| for large symbols. |
| 683 |
% \begin{macrocode} |
| 684 |
\DeclareSymbolFont{operators} {OT1}{jtm}{m}{n} |
| 685 |
\DeclareSymbolFont{letters} {OML}{jtm}{m}{it} |
| 686 |
\DeclareSymbolFont{symbols} {OMS}{jtm}{m}{n} |
| 687 |
\DeclareSymbolFont{largesymbols} {OMX}{cmex}{m}{n} |
| 688 |
\SetSymbolFont{operators}{bold} {OT1}{jtm}{bx}{n} |
| 689 |
\SetSymbolFont{letters}{bold} {OML}{jtm}{bx}{it} |
| 690 |
\SetMathAlphabet{\mathrm}{normal}{OT1}{\rmdefault}{m}{n} |
| 691 |
\SetMathAlphabet{\mathbf}{normal}{OT1}{\rmdefault}{b}{n} |
| 692 |
\SetMathAlphabet{\mathit}{normal}{OT1}{\rmdefault}{m}{it} |
| 693 |
\SetMathAlphabet{\mathsf}{normal}{OT1}{\sfdefault}{m}{n} |
| 694 |
\SetMathAlphabet{\mathtt}{normal}{OT1}{\ttdefault}{m}{n} |
| 695 |
\DeclareMathAlphabet{\mathbold} {OT1}{jtm}{bx}{it} |
| 696 |
\DeclareMathSymbol{\nabla}{\mathord}{symbols}{114} |
| 697 |
\DeclareMathSymbol{\Gamma}{\mathalpha}{operators}{0} |
| 698 |
\DeclareMathSymbol{\Delta}{\mathalpha}{operators}{1} |
| 699 |
\DeclareMathSymbol{\Theta}{\mathalpha}{operators}{2} |
| 700 |
\DeclareMathSymbol{\Lambda}{\mathalpha}{operators}{3} |
| 701 |
\DeclareMathSymbol{\Xi}{\mathalpha}{operators}{4} |
| 702 |
\DeclareMathSymbol{\Pi}{\mathalpha}{operators}{5} |
| 703 |
\DeclareMathSymbol{\Sigma}{\mathalpha}{operators}{6} |
| 704 |
\DeclareMathSymbol{\Upsilon}{\mathalpha}{operators}{7} |
| 705 |
\DeclareMathSymbol{\Phi}{\mathalpha}{operators}{8} |
| 706 |
\DeclareMathSymbol{\Psi}{\mathalpha}{operators}{9} |
| 707 |
\DeclareMathSymbol{\Omega}{\mathalpha}{operators}{10} |
| 708 |
% \end{macrocode} |
| 709 |
% |
| 710 |
% |
| 711 |
% We change the scale of amsfonts: |
| 712 |
% \begin{macrocode} |
| 713 |
\RequirePackage{eucal,amsfonts} |
| 714 |
\DeclareFontFamily{U}{msa}{} |
| 715 |
\DeclareFontShape{U}{msa}{m}{n}{% |
| 716 |
<5><6><7><8><9> gen\AmsFonts@@scale msam% |
| 717 |
<10><10.95><12><14.4><17.28><20.74><24.88> s\AmsFonts@@scale msam10% |
| 718 |
}{} |
| 719 |
\DeclareFontFamily{U}{msb}{} |
| 720 |
\DeclareFontShape{U}{msb}{m}{n}{% |
| 721 |
<5><6><7><8><9>gen\AmsFonts@@scale msbm% |
| 722 |
<10><10.95><12><14.4><17.28><20.74><24.88>s\AmsFonts@@scale msbm10% |
| 723 |
}{} |
| 724 |
\DeclareFontFamily{U}{euf}{} |
| 725 |
\DeclareFontShape{U}{euf}{m}{n}{% |
| 726 |
<5><6><7><8><9>gen\AmsFonts@@scale eufm% |
| 727 |
<10><10.95><12><14.4><17.28><20.74><24.88>s\AmsFonts@@scale eufm10% |
| 728 |
}{} |
| 729 |
\DeclareFontShape{U}{euf}{b}{n}{% |
| 730 |
<5><6><7><8><9>gen\AmsFonts@@scale eufb% |
| 731 |
<10><10.95><12><14.4><17.28><20.74><24.88>s\AmsFonts@@scale eufb10% |
| 732 |
}{} |
| 733 |
\DeclareFontFamily{U}{euex}{} |
| 734 |
\DeclareFontShape{U}{euex}{m}{n}{% |
| 735 |
<5-8>sfixed\AmsFonts@@scale euex7<8><9>gen\AmsFonts@@scale euex% |
| 736 |
<10><10.95><12><14.4><17.28><20.74><24.88>s\AmsFonts@@scale euex10% |
| 737 |
}{} |
| 738 |
\DeclareFontFamily{U}{eus}{\skewchar\font'60} |
| 739 |
\DeclareFontShape{U}{eus}{m}{n}{% |
| 740 |
<5><6><7><8><9>gen\AmsFonts@@scale eusm% |
| 741 |
<10><10.95><12><14.4><17.28><20.74><24.88>s\AmsFonts@@scale eusm10% |
| 742 |
}{} |
| 743 |
\DeclareFontShape{U}{eus}{b}{n}{% |
| 744 |
<5><6><7><8><9>gen\AmsFonts@@scale eusb% |
| 745 |
<10><10.95><12><14.4><17.28><20.74><24.88>s\AmsFonts@@scale eusb10% |
| 746 |
}{} |
| 747 |
% \end{macrocode} |
| 748 |
% |
| 749 |
% \begin{macro}{\hbar} |
| 750 |
% \changes{v1.1}{2009/10/14}{Added macro} |
| 751 |
% Redefine \verb|\hbar|, so it is like $h$ (\verb|amsmath| defines a |
| 752 |
% different shape). The trick is |
| 753 |
% from~\cite{Schmidt04:PSNFSS9.2} |
| 754 |
% \begin{macrocode} |
| 755 |
\DeclareRobustCommand\hbar{{% |
| 756 |
\[email protected]% |
| 757 |
\[email protected]% |
| 758 |
\def\@tempa##1##2{{% |
| 759 |
\lower##1\dimen@\rlap{\kern##1\dimen@ii\the##2 0\char22}}}% |
| 760 |
\mathchoice\@tempa\@ne\textfont |
| 761 |
\@tempa\@ne\textfont |
| 762 |
\@tempa\defaultscriptratio\scriptfont |
| 763 |
\@tempa\defaultscriptscriptratio\scriptscriptfont |
| 764 |
h}} |
| 765 |
% \end{macrocode} |
| 766 |
% \end{macro} |
| 767 |
% |
| 768 |
% \begin{macrocode} |
| 769 |
%</style> |
| 770 |
% \end{macrocode} |
| 771 |
% |
| 772 |
% |
| 773 |
%\subsection{Some Auxiliary Files} |
| 774 |
%\label{sec:aux} |
| 775 |
% |
| 776 |
% \changes{v1.2}{2010/04/10}{Added jamot1hax.mtx} |
| 777 |
% \changes{v1.1}{2010/11/06}{Slightly moved equal sign} |
| 778 |
% |
| 779 |
% In the OT1 encoding we want upcase Greek |
| 780 |
% \begin{macrocode} |
| 781 |
%<*jamot1hax> |
| 782 |
\relax |
| 783 |
|
| 784 |
Upcase Greek for OT1 |
| 785 |
|
| 786 |
\metrics |
| 787 |
|
| 788 |
% Moved equal sign |
| 789 |
\resetglyph{equal} |
| 790 |
\movert{130} |
| 791 |
\glyph{equal}{1000} |
| 792 |
\resetwidth{\add{\width{equal}}{120}} |
| 793 |
\endsetglyph |
| 794 |
|
| 795 |
|
| 796 |
\unsetglyph{Gamma} |
| 797 |
\setglyph{Gamma} |
| 798 |
\glyph{Gamma1}{1000} |
| 799 |
\endsetglyph |
| 800 |
\unsetglyph{Delta} |
| 801 |
\setglyph{Delta} |
| 802 |
\glyph{Delta1}{1000} |
| 803 |
\endsetglyph |
| 804 |
\unsetglyph{Theta} |
| 805 |
\setglyph{Theta} |
| 806 |
\glyph{Theta1}{1000} |
| 807 |
\endsetglyph |
| 808 |
\unsetglyph{Theta} |
| 809 |
\setglyph{Theta} |
| 810 |
\glyph{Theta1}{1000} |
| 811 |
\endsetglyph |
| 812 |
\unsetglyph{Lambda} |
| 813 |
\setglyph{Lambda} |
| 814 |
\glyph{Lambda1}{1000} |
| 815 |
\endsetglyph |
| 816 |
\unsetglyph{Xi} |
| 817 |
\setglyph{Xi} |
| 818 |
\glyph{Xi1}{1000} |
| 819 |
\endsetglyph |
| 820 |
\unsetglyph{Pi} |
| 821 |
\setglyph{Pi} |
| 822 |
\glyph{Pi1}{1000} |
| 823 |
\endsetglyph |
| 824 |
\unsetglyph{Sigma} |
| 825 |
\setglyph{Sigma} |
| 826 |
\glyph{Sigma1}{1000} |
| 827 |
\endsetglyph |
| 828 |
\unsetglyph{Upsilon} |
| 829 |
\setglyph{Upsilon} |
| 830 |
\glyph{Upsilon1}{1000} |
| 831 |
\endsetglyph |
| 832 |
\unsetglyph{Phi} |
| 833 |
\setglyph{Phi} |
| 834 |
\glyph{Phi1}{1000} |
| 835 |
\endsetglyph |
| 836 |
\unsetglyph{Psi} |
| 837 |
\setglyph{Psi} |
| 838 |
\glyph{Psi1}{1000} |
| 839 |
\endsetglyph |
| 840 |
\unsetglyph{Omega} |
| 841 |
\setglyph{Omega} |
| 842 |
\glyph{Omega1}{1000} |
| 843 |
\endsetglyph |
| 844 |
|
| 845 |
|
| 846 |
\endmetrics |
| 847 |
%</jamot1hax> |
| 848 |
% \end{macrocode} |
| 849 |
% |
| 850 |
% |
| 851 |
% \changes{v1.2}{2010/04/10}{Added jamomlhax.mtx} |
| 852 |
% \changes{v1.10}{2010/10/28}{Slightly increased the spacing around f |
| 853 |
% in OML} |
| 854 |
% \changes{v1.10}{2010/10/28}{Changed italic correction for v in |
| 855 |
% OML} |
| 856 |
% \changes{v1.11}{2010/11/07}{Changed many italic corrections on OML} |
| 857 |
% \changes{v1.12}{2010/11/09}{Moved a little j and l} |
| 858 |
% \changes{v1.12}{2010/11/09}{Moved J, a, D, r} |
| 859 |
% This main idea is taken from~\cite{Hoenig98:MathInst}. We changed |
| 860 |
% the parameters, of course. |
| 861 |
% \begin{macrocode} |
| 862 |
%<*jamomlhax> |
| 863 |
\relax |
| 864 |
|
| 865 |
These hacks help adjust the positioning of accents on italic |
| 866 |
characters and some sidebearings |
| 867 |
|
| 868 |
\metrics |
| 869 |
|
| 870 |
% Expanding a little J |
| 871 |
\resetglyph{J} |
| 872 |
\movert{70} |
| 873 |
\glyph{J}{1000} |
| 874 |
\resetwidth{\add{\width{J}}{50}} |
| 875 |
\endsetglyph |
| 876 |
|
| 877 |
|
| 878 |
% Expanding a little j |
| 879 |
\resetglyph{j} |
| 880 |
\movert{170} |
| 881 |
\glyph{j}{1000} |
| 882 |
\resetwidth{\add{\width{j}}{200}} |
| 883 |
\endsetglyph |
| 884 |
|
| 885 |
|
| 886 |
% Expanding a little f |
| 887 |
\resetglyph{f} |
| 888 |
\movert{150} |
| 889 |
\glyph{f}{1000} |
| 890 |
\resetwidth{\add{\width{f}}{200}} |
| 891 |
\endsetglyph |
| 892 |
|
| 893 |
|
| 894 |
% Expanding a little l |
| 895 |
\resetglyph{l} |
| 896 |
\movert{50} |
| 897 |
\glyph{l}{1000} |
| 898 |
\resetwidth{\add{\width{l}}{50}} |
| 899 |
\endsetglyph |
| 900 |
|
| 901 |
|
| 902 |
% Expanding a little m |
| 903 |
\resetglyph{m} |
| 904 |
\glyph{m}{1000} |
| 905 |
\resetwidth{\add{\width{m}}{50}} |
| 906 |
\endsetglyph |
| 907 |
|
| 908 |
|
| 909 |
|
| 910 |
|
| 911 |
|
| 912 |
% Adding italic correction |
| 913 |
\setcommand\additalic#1#2{\resetglyph{#1}\glyph{#1}{1000}\resetitalic{\add{\italic{#1}}{#2}}\endsetglyph} |
| 914 |
|
| 915 |
\additalic{B}{75} |
| 916 |
\additalic{C}{50} |
| 917 |
\additalic{D}{75} |
| 918 |
\additalic{E}{75} |
| 919 |
\additalic{F}{75} |
| 920 |
\additalic{G}{50} |
| 921 |
\additalic{H}{75} |
| 922 |
\additalic{I}{50} |
| 923 |
\additalic{J}{50} |
| 924 |
\additalic{K}{75} |
| 925 |
\additalic{M}{75} |
| 926 |
\additalic{N}{75} |
| 927 |
\additalic{O}{25} |
| 928 |
\additalic{P}{25} |
| 929 |
\additalic{Q}{25} |
| 930 |
\additalic{R}{25} |
| 931 |
\additalic{S}{50} |
| 932 |
\additalic{T}{75} |
| 933 |
\additalic{U}{50} |
| 934 |
\additalic{V}{50} |
| 935 |
\additalic{W}{50} |
| 936 |
\additalic{X}{50} |
| 937 |
\additalic{Y}{50} |
| 938 |
\additalic{Z}{50} |
| 939 |
|
| 940 |
\additalic{a}{25} |
| 941 |
\additalic{d}{75} |
| 942 |
\additalic{i}{75} |
| 943 |
\additalic{j}{75} |
| 944 |
\additalic{k}{25} |
| 945 |
\additalic{l}{50} |
| 946 |
\additalic{r}{50} |
| 947 |
\additalic{v}{-300} |
| 948 |
|
| 949 |
\additalic{beta}{50} |
| 950 |
\additalic{delta}{75} |
| 951 |
\additalic{zeta}{50} |
| 952 |
\additalic{theta}{50} |
| 953 |
\additalic{xi}{50} |
| 954 |
\additalic{phi}{50} |
| 955 |
|
| 956 |
|
| 957 |
% \skewkern sets a skewchar kern, assuming that tie is the skewchar. |
| 958 |
\setcommand\skewkern#1#2{\resetkern{#1}{tie}{#2}} |
| 959 |
|
| 960 |
|
| 961 |
% We need to check that tie is defined |
| 962 |
\ifisglyph{tie}\then\else\setglyph{tie}\endsetglyph\fi |
| 963 |
|
| 964 |
|
| 965 |
\skewkern{A}{75} |
| 966 |
\skewkern{B}{70} |
| 967 |
\skewkern{C}{100} |
| 968 |
\skewkern{D}{50} |
| 969 |
\skewkern{E}{75} |
| 970 |
\skewkern{F}{75} |
| 971 |
\skewkern{G}{100} |
| 972 |
\skewkern{H}{50} |
| 973 |
\skewkern{I}{100} |
| 974 |
\skewkern{J}{120} |
| 975 |
\skewkern{K}{75} |
| 976 |
\skewkern{M}{25} |
| 977 |
\skewkern{N}{50} |
| 978 |
\skewkern{O}{100} |
| 979 |
\skewkern{P}{100} |
| 980 |
\skewkern{Q}{100} |
| 981 |
\skewkern{R}{100} |
| 982 |
\skewkern{S}{100} |
| 983 |
\skewkern{T}{50} |
| 984 |
\skewkern{U}{50} |
| 985 |
\skewkern{V}{50} |
| 986 |
\skewkern{W}{50} |
| 987 |
\skewkern{X}{50} |
| 988 |
\skewkern{Y}{50} |
| 989 |
\skewkern{Z}{50} |
| 990 |
\skewkern{a}{75} |
| 991 |
\skewkern{c}{75} |
| 992 |
\skewkern{d}{100} |
| 993 |
\skewkern{e}{75} |
| 994 |
\skewkern{f}{140} |
| 995 |
\skewkern{g}{75} |
| 996 |
\skewkern{i}{75} |
| 997 |
\skewkern{j}{120} |
| 998 |
\skewkern{l}{100} |
| 999 |
\skewkern{m}{40} |
| 1000 |
\skewkern{n}{50} |
| 1001 |
\skewkern{o}{75} |
| 1002 |
\skewkern{p}{75} |
| 1003 |
\skewkern{q}{75} |
| 1004 |
\skewkern{r}{50} |
| 1005 |
\skewkern{s}{80} |
| 1006 |
\skewkern{t}{50} |
| 1007 |
\skewkern{u}{75} |
| 1008 |
\skewkern{v}{-80} |
| 1009 |
\skewkern{w}{75} |
| 1010 |
\skewkern{x}{50} |
| 1011 |
\skewkern{y}{50} |
| 1012 |
\skewkern{z}{50} |
| 1013 |
\skewkern{dotlessi}{50} |
| 1014 |
\skewkern{dotlessj}{120} |
| 1015 |
\skewkern{Gamma}{100} |
| 1016 |
\skewkern{Delta}{200} |
| 1017 |
\skewkern{Theta}{100} |
| 1018 |
\skewkern{Lambda}{200} |
| 1019 |
\skewkern{Xi}{125} |
| 1020 |
\skewkern{Pi}{100} |
| 1021 |
\skewkern{Sigma}{100} |
| 1022 |
\skewkern{Upsilon}{100} |
| 1023 |
\skewkern{Phi}{100} |
| 1024 |
\skewkern{Psi}{50} |
| 1025 |
\skewkern{Omega}{100} |
| 1026 |
%\skewkern{alpha}{50} |
| 1027 |
\skewkern{beta}{75} |
| 1028 |
\skewkern{gamma}{25} |
| 1029 |
\skewkern{delta}{100} |
| 1030 |
\skewkern{epsilon1}{75} |
| 1031 |
\skewkern{zeta}{50} |
| 1032 |
\skewkern{eta}{25} |
| 1033 |
\skewkern{theta}{50} |
| 1034 |
%\skewkern{iota}{50} |
| 1035 |
%\skewkern{kappa}{50} |
| 1036 |
%\skewkern{lambda}{50} |
| 1037 |
\skewkern{mu}{35} |
| 1038 |
%\skewkern{nu}{50} |
| 1039 |
\skewkern{xi}{75} |
| 1040 |
%\skewkern{pi}{50} |
| 1041 |
\skewkern{rho}{75} |
| 1042 |
\skewkern{sigma}{25} |
| 1043 |
\skewkern{tau}{25} |
| 1044 |
% \skewkern{upsilon}{-25} |
| 1045 |
\skewkern{phi}{125} |
| 1046 |
\skewkern{chi}{50} |
| 1047 |
\skewkern{psi}{50} |
| 1048 |
\skewkern{omega}{25} |
| 1049 |
\skewkern{epsilon}{50} |
| 1050 |
%\skewkern{theta1}{50} |
| 1051 |
%\skewkern{omega1}{50} |
| 1052 |
\skewkern{rho1}{50} |
| 1053 |
%\skewkern{sigma1}{75} |
| 1054 |
\skewkern{lscript}{75} |
| 1055 |
\skewkern{weierstrass}{60} |
| 1056 |
|
| 1057 |
|
| 1058 |
\endmetrics |
| 1059 |
%</jamomlhax> |
| 1060 |
% \end{macrocode} |
| 1061 |
% |
| 1062 |
% |
| 1063 |
% |
| 1064 |
%\Finale |
| 1065 |
%\clearpage |
| 1066 |
% |
| 1067 |
%\PrintChanges |
| 1068 |
%\clearpage |
| 1069 |
%\PrintIndex |
| 1070 |
% |
| 1071 |
\endinput |