diff options
author | Karl Berry <karl@freefriends.org> | 2011-03-10 00:09:15 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2011-03-10 00:09:15 +0000 |
commit | b1fa5086d748d408c1b5d2e372b3b4de3bf57b1f (patch) | |
tree | c1c54c19f86c2b7b28228c9ab390051b877c2a20 | |
parent | e240dc11a49f89d14320be45ca0f3ff0f9fcd5f9 (diff) |
new vf package urwchancal (9mar11)
git-svn-id: svn://tug.org/texlive/trunk@21668 c570f23f-e606-0410-a88d-b1316a301751
-rw-r--r-- | Master/texmf-dist/doc/fonts/urwchancal/README | 16 | ||||
-rw-r--r-- | Master/texmf-dist/doc/fonts/urwchancal/urwchancal-doc.pdf | bin | 0 -> 30599 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/fonts/urwchancal/urwchancal-doc.tex | 47 | ||||
-rw-r--r-- | Master/texmf-dist/fonts/tfm/urw/urwchancal/urwchancal.tfm | bin | 0 -> 728 bytes | |||
-rw-r--r-- | Master/texmf-dist/fonts/vf/urw/urwchancal/urwchancal.vf | bin | 0 -> 368 bytes | |||
-rw-r--r-- | Master/texmf-dist/tex/latex/urwchancal/urwchancal.sty | 17 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/urwchancal/uurwchancal.fd | 20 | ||||
-rw-r--r-- | Master/tlpkg/tlpsrc/collection-fontsextra.tlpsrc | 1 | ||||
-rw-r--r-- | Master/tlpkg/tlpsrc/urwchancal.tlpsrc | 0 |
9 files changed, 101 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/fonts/urwchancal/README b/Master/texmf-dist/doc/fonts/urwchancal/README new file mode 100644 index 00000000000..d79aa66afc5 --- /dev/null +++ b/Master/texmf-dist/doc/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/Master/texmf-dist/doc/fonts/urwchancal/urwchancal-doc.pdf b/Master/texmf-dist/doc/fonts/urwchancal/urwchancal-doc.pdf Binary files differnew file mode 100644 index 00000000000..7c3de82b16e --- /dev/null +++ b/Master/texmf-dist/doc/fonts/urwchancal/urwchancal-doc.pdf diff --git a/Master/texmf-dist/doc/fonts/urwchancal/urwchancal-doc.tex b/Master/texmf-dist/doc/fonts/urwchancal/urwchancal-doc.tex new file mode 100644 index 00000000000..d2a44f28f51 --- /dev/null +++ b/Master/texmf-dist/doc/fonts/urwchancal/urwchancal-doc.tex @@ -0,0 +1,47 @@ +\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.2] 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.2] 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 following fragment shows. The display below is the result of +\begin{verbatim} +\[A^2_k\quad\mathpzc{M}_1\hat{\mathpzc{C}}\mathpzc{\hat{C}}\mathpzc{M}_k^2\] +\end{verbatim} + + +(Computer Modern (cmmi10) A followed by URW Chancery:)\\ +\[A^2_k\quad\mathpzc{M}_1\hat{\mathpzc{C}}\mathpzc{\hat{C}} \mathpzc{M}_k^2\] +(The accents are not always where you might expect, letters may inexplicably vanish, and spacing of subscripts and superscripts can be unpredictable.) + +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/Master/texmf-dist/fonts/tfm/urw/urwchancal/urwchancal.tfm b/Master/texmf-dist/fonts/tfm/urw/urwchancal/urwchancal.tfm Binary files differnew file mode 100644 index 00000000000..2ded979f2cb --- /dev/null +++ b/Master/texmf-dist/fonts/tfm/urw/urwchancal/urwchancal.tfm diff --git a/Master/texmf-dist/fonts/vf/urw/urwchancal/urwchancal.vf b/Master/texmf-dist/fonts/vf/urw/urwchancal/urwchancal.vf Binary files differnew file mode 100644 index 00000000000..6ea5d103f93 --- /dev/null +++ b/Master/texmf-dist/fonts/vf/urw/urwchancal/urwchancal.vf diff --git a/Master/texmf-dist/tex/latex/urwchancal/urwchancal.sty b/Master/texmf-dist/tex/latex/urwchancal/urwchancal.sty new file mode 100644 index 00000000000..ba04f02f876 --- /dev/null +++ b/Master/texmf-dist/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/Master/texmf-dist/tex/latex/urwchancal/uurwchancal.fd b/Master/texmf-dist/tex/latex/urwchancal/uurwchancal.fd new file mode 100644 index 00000000000..91994219d00 --- /dev/null +++ b/Master/texmf-dist/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 + diff --git a/Master/tlpkg/tlpsrc/collection-fontsextra.tlpsrc b/Master/tlpkg/tlpsrc/collection-fontsextra.tlpsrc index e6fafe9cd37..8a1f1ac9612 100644 --- a/Master/tlpkg/tlpsrc/collection-fontsextra.tlpsrc +++ b/Master/tlpkg/tlpsrc/collection-fontsextra.tlpsrc @@ -151,6 +151,7 @@ depend trajan depend txfontsb depend umtypewriter depend universa +depend urwchancal depend venturisadf depend wsuipa depend xits diff --git a/Master/tlpkg/tlpsrc/urwchancal.tlpsrc b/Master/tlpkg/tlpsrc/urwchancal.tlpsrc new file mode 100644 index 00000000000..e69de29bb2d --- /dev/null +++ b/Master/tlpkg/tlpsrc/urwchancal.tlpsrc |