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/urwchancal |
Initial commit
Diffstat (limited to 'fonts/urwchancal')
-rw-r--r-- | fonts/urwchancal/README | 16 | ||||
-rw-r--r-- | fonts/urwchancal/doc/fonts/urwchancal/urwchancal-doc.pdf | bin | 0 -> 27451 bytes | |||
-rw-r--r-- | fonts/urwchancal/doc/fonts/urwchancal/urwchancal-doc.tex | 40 | ||||
-rw-r--r-- | fonts/urwchancal/fonts/tfm/urw/urwchancal/urwchancal.tfm | bin | 0 -> 728 bytes | |||
-rw-r--r-- | fonts/urwchancal/fonts/vf/urw/urwchancal/urwchancal.vf | bin | 0 -> 368 bytes | |||
-rw-r--r-- | fonts/urwchancal/tex/latex/urwchancal/urwchancal.sty | 17 | ||||
-rw-r--r-- | fonts/urwchancal/tex/latex/urwchancal/uurwchancal.fd | 20 |
7 files changed, 93 insertions, 0 deletions
diff --git a/fonts/urwchancal/README b/fonts/urwchancal/README new file mode 100644 index 0000000000..d79aa66afc --- /dev/null +++ b/fonts/urwchancal/README @@ -0,0 +1,16 @@ +This material is subject to the LaTeX Project Public License. See http://www.ctan.org/tex-archive/help/Catalogue/licenses.lppl.html for the details of that license. + +This is a mathematical script/calligraphic virtual font based on the URW clone of Zapf Chancery. + +Install the TDS in the usual way. There is no map file to enable. + +The effect of + +\usepackage[scaled=.9]{urwchancal} + +is to redefine \mathcal to invoke the appropriate size of urwchancal scaled by the factor .9. The option mathscr instead redefines \mathscr to do the same thing without affecting \mathcal. + +The virtual font urwchancal was produced using fontinst from the raw text font uzcmi8r, with adjustments to the font metrics in accordance with my tastes in side-bearings, accent placement and subscript position. + +Michael Sharpe +msharpe at ucsd dot edu diff --git a/fonts/urwchancal/doc/fonts/urwchancal/urwchancal-doc.pdf b/fonts/urwchancal/doc/fonts/urwchancal/urwchancal-doc.pdf Binary files differnew file mode 100644 index 0000000000..a80f33175f --- /dev/null +++ b/fonts/urwchancal/doc/fonts/urwchancal/urwchancal-doc.pdf diff --git a/fonts/urwchancal/doc/fonts/urwchancal/urwchancal-doc.tex b/fonts/urwchancal/doc/fonts/urwchancal/urwchancal-doc.tex new file mode 100644 index 0000000000..bdd47d7441 --- /dev/null +++ b/fonts/urwchancal/doc/fonts/urwchancal/urwchancal-doc.tex @@ -0,0 +1,40 @@ +\documentclass[11pt]{article} +\usepackage[margin=1.25in]{geometry} +\usepackage[parfill]{parskip} % Activate to begin paragraphs with an empty line rather than an indent +\usepackage{graphicx} +\DeclareFontFamily{OT1}{pzc}{} +\DeclareFontShape{OT1}{pzc}{m}{it}% + {<-> s * [1.15] pzcmi7t}{} +\DeclareMathAlphabet{\mathpzc}{OT1}{pzc}{m}{it} +\usepackage[scaled=1.15]{urwchancal} +\title{A virtual font for URW Chancery Math} +\author{Michael Sharpe\\msharpe at ucsd dot edu} +%\date{} % Activate to display a given date or no date + +\begin{document} +\maketitle +The URW clone of the universally available PostScript font Zapf Chancery may be used as a math calligraphic font by means of the following lines in the preamble: +\begin{verbatim} +\DeclareFontFamily{OT1}{pzc}{} +\DeclareFontShape{OT1}{pzc}{m}{it}% + {<-> s * [1.15] pzcmi7t}{} +\DeclareMathAlphabet{\mathpzc}{OT1}{pzc}{m}{it} +\end{verbatim} + +The results are not always good if you attach math accents or sub-/super-scripts as the metrics are designed for a text font rather than a math font. + +This small package provides a virtual math font linked to \verb|uzcmi8r| with side-bearings, subscript position and accent position adjusted manually for each glyph. +Following +\begin{verbatim} +\usepackage[scaled=1.15]{urwchancal} +\end{verbatim} + which redefines \verb|\mathcal| to output URW Chancery glyphs, the input line +\begin{verbatim} +\[A=\bar{\mathcal{M}}^2_k+\hat{\mathcal{Z}}.\] +\end{verbatim} +yields +\[A=\bar{\mathcal{M}}^2_k+\hat{\mathcal{Z}}.\] +In addition to \verb|scaled|, there is on option \verb|mathscr|, which enables \verb|\mathscr| rather than \verb|\mathcal| to point to URW Chancery. + +The long tails on some of the glyphs make this font problematic as a math font, but it has some virtues, not the least being its universal availability. For a font of similar appearance without the long-tail problems, consider the script font in Mathematica5. +\end{document}
\ No newline at end of file diff --git a/fonts/urwchancal/fonts/tfm/urw/urwchancal/urwchancal.tfm b/fonts/urwchancal/fonts/tfm/urw/urwchancal/urwchancal.tfm Binary files differnew file mode 100644 index 0000000000..2ded979f2c --- /dev/null +++ b/fonts/urwchancal/fonts/tfm/urw/urwchancal/urwchancal.tfm diff --git a/fonts/urwchancal/fonts/vf/urw/urwchancal/urwchancal.vf b/fonts/urwchancal/fonts/vf/urw/urwchancal/urwchancal.vf Binary files differnew file mode 100644 index 0000000000..6ea5d103f9 --- /dev/null +++ b/fonts/urwchancal/fonts/vf/urw/urwchancal/urwchancal.vf diff --git a/fonts/urwchancal/tex/latex/urwchancal/urwchancal.sty b/fonts/urwchancal/tex/latex/urwchancal/urwchancal.sty new file mode 100644 index 0000000000..ba04f02f87 --- /dev/null +++ b/fonts/urwchancal/tex/latex/urwchancal/urwchancal.sty @@ -0,0 +1,17 @@ +\NeedsTeXFormat{LaTeX2e} +\ProvidesPackage{urwchancal}[2011/03/05 v1 U/urwchancal] +\RequirePackage{xkeyval}% +\newcommand{\urw@chan}{} +\let\urw@chan=c\relax +\define@key{urwchancal.sty}{scaled}[1.0]{% +\expandafter\def\csname urwchancal@scale\endcsname {#1}}% +%\define@boolkey{urwchancal.sty}{mathcal}[true]{\let\urw@chan=c}% +\define@boolkey{urwchancal.sty}{mathscr}[true]{\let\urw@chan=s}% +\ExecuteOptionsX<urwchancal.sty>{scaled}% +\ProcessOptionsX<urwchancal.sty>\relax% +\ifx\urw@chan c + \DeclareMathAlphabet{\mathcal}{U}{urwchancal}{m}{n}% +\else% + \DeclareMathAlphabet{\mathscr}{U}{urwchancal}{m}{n}% +\fi% +\endinput diff --git a/fonts/urwchancal/tex/latex/urwchancal/uurwchancal.fd b/fonts/urwchancal/tex/latex/urwchancal/uurwchancal.fd new file mode 100644 index 0000000000..91994219d0 --- /dev/null +++ b/fonts/urwchancal/tex/latex/urwchancal/uurwchancal.fd @@ -0,0 +1,20 @@ +%Filename: uurwchancal.fd +%Created by: tex uurwchancal-drv +%Created using fontinst v1.933 + +%THIS FILE SHOULD BE PUT IN A TEX INPUTS DIRECTORY + +\ProvidesFile{uurwchancal.fd} + [2011/03/05 Fontinst v1.933 font definitions for U/urwchancal.] + +\expandafter\ifx\csname urwchancal@scale\endcsname\relax +\let\urwchancal@@scale\@empty\else\edef\urwchancal@@scale{s*[\csname urwchancal@scale\endcsname]}\fi + +\DeclareFontFamily{U}{urwchancal}{\skewchar \font =45} + +\DeclareFontShape{U}{urwchancal}{m}{n}{ + <-> \urwchancal@@scale urwchancal +}{} + +\endinput + |