summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/doc')
-rw-r--r--Master/texmf-dist/doc/fonts/txuprcal/README22
-rw-r--r--Master/texmf-dist/doc/fonts/txuprcal/doc/txuprcal-doc.pdfbin0 -> 84390 bytes
-rw-r--r--Master/texmf-dist/doc/fonts/txuprcal/doc/txuprcal-doc.tex66
-rw-r--r--Master/texmf-dist/doc/fonts/txuprcal/map/TXUprCal.map2
-rw-r--r--Master/texmf-dist/doc/fonts/txuprcal/tex/txuprcal.sty13
-rw-r--r--Master/texmf-dist/doc/fonts/txuprcal/tex/utxuprcal.fd24
-rw-r--r--Master/texmf-dist/doc/fonts/txuprcal/tfm/txUprCal-Bold.tfmbin0 -> 712 bytes
-rw-r--r--Master/texmf-dist/doc/fonts/txuprcal/tfm/txUprCal-Regular.tfmbin0 -> 712 bytes
-rw-r--r--Master/texmf-dist/doc/fonts/txuprcal/type1/txuprcal-bold.pfbbin0 -> 25703 bytes
-rw-r--r--Master/texmf-dist/doc/fonts/txuprcal/type1/txuprcal-reg.pfbbin0 -> 25594 bytes
10 files changed, 127 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/fonts/txuprcal/README b/Master/texmf-dist/doc/fonts/txuprcal/README
new file mode 100644
index 00000000000..20dc8b62979
--- /dev/null
+++ b/Master/texmf-dist/doc/fonts/txuprcal/README
@@ -0,0 +1,22 @@
+This small package provides a means of loading as \mathcal an uprighted version of the calligraphic fonts from the TX font package. A scaled option to provided to allow arbitrary scaling.
+
+Current version: 1.00
+
+
+As the fonts on which these were based are licensed under GPL 3.0, so are the fonts in
+this package. More specifically, the fonts in this package are covered by the GNU
+General Public License (GPL) with a special exception. See http://www.gnu.org/licenses/licenses.html#GPL
+for the details of GPL. The special exception is as follows:
+
+ Permission is granted to include the fonts
+ in a document in the Postscript, PDF, or any other
+ formats that may be displayed or printed using these
+ fonts, regardless of the licensing condition applied
+ to the document itself.
+
+The support files are subject to the LaTeX Project Public License. See
+http://www.ctan.org/license/lppl1.3
+for the details of that license.
+
+Michael Sharpe
+msharpe at ucsd dot edu \ No newline at end of file
diff --git a/Master/texmf-dist/doc/fonts/txuprcal/doc/txuprcal-doc.pdf b/Master/texmf-dist/doc/fonts/txuprcal/doc/txuprcal-doc.pdf
new file mode 100644
index 00000000000..11321b30039
--- /dev/null
+++ b/Master/texmf-dist/doc/fonts/txuprcal/doc/txuprcal-doc.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/fonts/txuprcal/doc/txuprcal-doc.tex b/Master/texmf-dist/doc/fonts/txuprcal/doc/txuprcal-doc.tex
new file mode 100644
index 00000000000..00cd7e83df8
--- /dev/null
+++ b/Master/texmf-dist/doc/fonts/txuprcal/doc/txuprcal-doc.tex
@@ -0,0 +1,66 @@
+% !TEX TS-program = pdflatexmk
+\documentclass[11pt]{article}
+\pdfmapfile{+TXUprCal.map}
+%SetFonts
+% newtxtext+newtxmath
+\usepackage{newtxtext} %loads helv for ss, txtt for tt
+\usepackage{amsmath}
+\usepackage[bigdelims]{newtxmath}
+\usepackage[T1]{fontenc}
+\usepackage{textcomp}
+%SetFonts
+\usepackage[margin=1.4in]{geometry}
+%\geometry{landscape} % Activate for for rotated page geometry
+\usepackage[parfill]{parskip} % Activate to begin paragraphs with an empty line rather than an indent
+\usepackage{url}\usepackage{graphicx}
+\DeclareRobustCommand{\Qupr}{%
+\text{{\usefont{U}{txuprcal}{m}{n}Q\/}}}
+
+\usepackage{hyperref}
+\title{TX Upright Calligraphic}
+\author{Michael Sharpe\\
+msharpe at ucsd dot edu}
+\date{}
+
+\begin{document}
+\maketitle
+The {\tt pfb} files in this package are taken from the the upper-case glyphs in the TX symbols fonts, made upright and reworked to appear appropriately shaped.
+From these, using {\tt afm2tfm} and {\tt fontinst}, two {\tt tfm} files were produced:
+\begin{verbatim}
+txUprCal-Bold.tfm
+txUprCal-Regular.tfm
+\end{verbatim}
+
+There are two ways to use these. The traditional method is based on {\tt.sty} and {\tt.fd} files: {\tt txuprcal.sty} and {\tt utxuprcal.fd}. For example,
+\begin{verbatim}
+\usepackage[scaled=.95]{txuprcal}
+\end{verbatim}
+redefines the output from \verb|\mathcal| and \verb|\mathbcal| to come from {\tt TXUprCal-Regular} and {\tt TXUprCal-Bold} respectively, scaled to 95\% of normal size.
+
+The second method uses a different interface not depending on the {\tt.sty} and {\tt.fd} files at all. The package \textsf{mathalfa } permits you to say
+\begin{verbatim}
+\usepackage[cal=txuprcal,calscaled=.95]{mathalfa}
+\end{verbatim}
+to accomplish the same effect as the above.
+
+See the \textsf{mathalfa} documentation for font samples of these and many other math alphabets.
+
+
+Because using it in the ways described above adds an extra math family, it may be desirable to load it not as a math font but as a text font that is used as a fake math font. This can be desirable if only a few glyphs are used, all of which can be tweaked and given their own macro names.
+
+Here is an incomplete example. The {\tt fd} file for this package is {\tt utxuprcal.fd}. Therefore
+\begin{verbatim}
+\DeclareRobustCommand{\Qupr}{%
+\text{{\usefont{U}{txuprcal}{m}{n}Q\/}}}
+\end{verbatim}
+used within a math fragment makes \verb|Qupr| render as the letter Q in regular weight from TXUprCal. The \verb|\/| in its definition is not necessary, but should be followed for other letters which may have an italic correction, without which the glyph would not render correctly. Not having the attributes of a glyph from a math font, you may have to tweak accent placement as well as subscript and superscript placement. However, the definition does size correctly in formulas. Because the shapes are upright, there should be not be serious problems with subscripts and superscripts, though you may occasionally need to add an \verb|\mkern| to correct a horizontal position. It is usually best to place subscripts and superscripts on an empty character immediately following. For example:
+
+\verb|$\skew1\hat{\Qupr}{}^p_n}$|:$\quad \skew1\hat{\Qupr}{}^p_n$\\
+\verb|$\frac{\Qupr+\sqrt{2\pi}}{\Qupr+1}$|:$\quad \frac{\Qupr+\sqrt{2\pi}}{\Qupr+1}$\\
+
+If you need to scale the text font {\tt txuprcal}, give a numeric scale value to \verb|\TXUprCalScale|> For example:
+\begin{verbatim}
+\def\TXUprCalScale{1.02}
+\end{verbatim}
+
+\end{document} \ No newline at end of file
diff --git a/Master/texmf-dist/doc/fonts/txuprcal/map/TXUprCal.map b/Master/texmf-dist/doc/fonts/txuprcal/map/TXUprCal.map
new file mode 100644
index 00000000000..58337fadcc4
--- /dev/null
+++ b/Master/texmf-dist/doc/fonts/txuprcal/map/TXUprCal.map
@@ -0,0 +1,2 @@
+txUprCal-Regular txUprCal-Regular <txuprcal-reg.pfb
+txUprCal-Bold txUprCal-Bold <txuprcal-bold.pfb
diff --git a/Master/texmf-dist/doc/fonts/txuprcal/tex/txuprcal.sty b/Master/texmf-dist/doc/fonts/txuprcal/tex/txuprcal.sty
new file mode 100644
index 00000000000..616301b67f0
--- /dev/null
+++ b/Master/texmf-dist/doc/fonts/txuprcal/tex/txuprcal.sty
@@ -0,0 +1,13 @@
+\NeedsTeXFormat{LaTeX2e}
+\ProvidesPackage{txuprcal}[2017/02/22 v1 U/TXUprCal]
+\RequirePackage{xkeyval}%
+\define@key{txuprcal.sty}{scaled}[1.0]{%
+\def\TXUprCalScale{#1}}%
+\ExecuteOptionsX<txuprcal.sty>{scaled}%
+\ProcessOptionsX<txuprcal.sty>\relax%
+\let\mathcalr\undefined
+\let\mathbcal\undefined
+\DeclareMathAlphabet{\mathcal}{U}{txuprcal}{m}{n}
+\SetMathAlphabet{\mathcal}{bold}{U}{txuprcal}{b}{n}
+\DeclareMathAlphabet{\mathbcal} {U}{txuprcal}{b}{n}
+\endinput
diff --git a/Master/texmf-dist/doc/fonts/txuprcal/tex/utxuprcal.fd b/Master/texmf-dist/doc/fonts/txuprcal/tex/utxuprcal.fd
new file mode 100644
index 00000000000..a0f359706c2
--- /dev/null
+++ b/Master/texmf-dist/doc/fonts/txuprcal/tex/utxuprcal.fd
@@ -0,0 +1,24 @@
+%Filename: utxuprcal.fd
+
+%THIS FILE SHOULD BE PUT IN A TEX INPUTS DIRECTORY
+
+\ProvidesFile{utxuprcal.fd}
+ [2017/02/22 Fontinst v1.933 font definitions for U/TXUprCal.]
+
+\@ifundefined{TXUprCalScale}%
+ {\let\TXUprCal@Scale\empty}%
+ {\edef\TXUprCal@Scale{s*[\TXUprCalScale]}}
+
+\DeclareFontFamily{U}{txuprcal}{\skewchar \font =45}
+
+\DeclareFontShape{U}{txuprcal}{m}{n}{
+ <-> \TXUprCal@Scale txUprCal-Regular
+}{}
+
+\DeclareFontShape{U}{txuprcal}{b}{n}{
+ <-> \TXUprCal@Scale txUprCal-Bold
+}{}
+
+\DeclareFontShape{U}{txuprcal}{bx}{n}{<->ssub * txuprcal/b/n}{}
+
+\endinput
diff --git a/Master/texmf-dist/doc/fonts/txuprcal/tfm/txUprCal-Bold.tfm b/Master/texmf-dist/doc/fonts/txuprcal/tfm/txUprCal-Bold.tfm
new file mode 100644
index 00000000000..c740cb8df8d
--- /dev/null
+++ b/Master/texmf-dist/doc/fonts/txuprcal/tfm/txUprCal-Bold.tfm
Binary files differ
diff --git a/Master/texmf-dist/doc/fonts/txuprcal/tfm/txUprCal-Regular.tfm b/Master/texmf-dist/doc/fonts/txuprcal/tfm/txUprCal-Regular.tfm
new file mode 100644
index 00000000000..59ac1fffb16
--- /dev/null
+++ b/Master/texmf-dist/doc/fonts/txuprcal/tfm/txUprCal-Regular.tfm
Binary files differ
diff --git a/Master/texmf-dist/doc/fonts/txuprcal/type1/txuprcal-bold.pfb b/Master/texmf-dist/doc/fonts/txuprcal/type1/txuprcal-bold.pfb
new file mode 100644
index 00000000000..94cbe13b3a0
--- /dev/null
+++ b/Master/texmf-dist/doc/fonts/txuprcal/type1/txuprcal-bold.pfb
Binary files differ
diff --git a/Master/texmf-dist/doc/fonts/txuprcal/type1/txuprcal-reg.pfb b/Master/texmf-dist/doc/fonts/txuprcal/type1/txuprcal-reg.pfb
new file mode 100644
index 00000000000..5680db1dcc4
--- /dev/null
+++ b/Master/texmf-dist/doc/fonts/txuprcal/type1/txuprcal-reg.pfb
Binary files differ