texlive[43314] Master: txuprcal (22feb17)

commits+karl at tug.org commits+karl at tug.org
Thu Feb 23 22:59:17 CET 2017


Revision: 43314
          http://tug.org/svn/texlive?view=revision&revision=43314
Author:   karl
Date:     2017-02-23 22:59:17 +0100 (Thu, 23 Feb 2017)
Log Message:
-----------
txuprcal (22feb17)

Modified Paths:
--------------
    trunk/Master/tlpkg/bin/tlpkg-ctan-check
    trunk/Master/tlpkg/tlpsrc/collection-fontsextra.tlpsrc

Added Paths:
-----------
    trunk/Master/texmf-dist/doc/fonts/txuprcal/
    trunk/Master/texmf-dist/doc/fonts/txuprcal/README
    trunk/Master/texmf-dist/doc/fonts/txuprcal/doc/
    trunk/Master/texmf-dist/doc/fonts/txuprcal/doc/txuprcal-doc.pdf
    trunk/Master/texmf-dist/doc/fonts/txuprcal/doc/txuprcal-doc.tex
    trunk/Master/texmf-dist/doc/fonts/txuprcal/map/
    trunk/Master/texmf-dist/doc/fonts/txuprcal/map/TXUprCal.map
    trunk/Master/texmf-dist/doc/fonts/txuprcal/tex/
    trunk/Master/texmf-dist/doc/fonts/txuprcal/tex/txuprcal.sty
    trunk/Master/texmf-dist/doc/fonts/txuprcal/tex/utxuprcal.fd
    trunk/Master/texmf-dist/doc/fonts/txuprcal/tfm/
    trunk/Master/texmf-dist/doc/fonts/txuprcal/tfm/txUprCal-Bold.tfm
    trunk/Master/texmf-dist/doc/fonts/txuprcal/tfm/txUprCal-Regular.tfm
    trunk/Master/texmf-dist/doc/fonts/txuprcal/type1/
    trunk/Master/texmf-dist/doc/fonts/txuprcal/type1/txuprcal-bold.pfb
    trunk/Master/texmf-dist/doc/fonts/txuprcal/type1/txuprcal-reg.pfb
    trunk/Master/tlpkg/tlpsrc/txuprcal.tlpsrc

Added: trunk/Master/texmf-dist/doc/fonts/txuprcal/README
===================================================================
--- trunk/Master/texmf-dist/doc/fonts/txuprcal/README	                        (rev 0)
+++ trunk/Master/texmf-dist/doc/fonts/txuprcal/README	2017-02-23 21:59:17 UTC (rev 43314)
@@ -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

Added: trunk/Master/texmf-dist/doc/fonts/txuprcal/doc/txuprcal-doc.pdf
===================================================================
(Binary files differ)

Index: trunk/Master/texmf-dist/doc/fonts/txuprcal/doc/txuprcal-doc.pdf
===================================================================
--- trunk/Master/texmf-dist/doc/fonts/txuprcal/doc/txuprcal-doc.pdf	2017-02-23 21:58:11 UTC (rev 43313)
+++ trunk/Master/texmf-dist/doc/fonts/txuprcal/doc/txuprcal-doc.pdf	2017-02-23 21:59:17 UTC (rev 43314)

Property changes on: trunk/Master/texmf-dist/doc/fonts/txuprcal/doc/txuprcal-doc.pdf
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Added: trunk/Master/texmf-dist/doc/fonts/txuprcal/doc/txuprcal-doc.tex
===================================================================
--- trunk/Master/texmf-dist/doc/fonts/txuprcal/doc/txuprcal-doc.tex	                        (rev 0)
+++ trunk/Master/texmf-dist/doc/fonts/txuprcal/doc/txuprcal-doc.tex	2017-02-23 21:59:17 UTC (rev 43314)
@@ -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

Added: trunk/Master/texmf-dist/doc/fonts/txuprcal/map/TXUprCal.map
===================================================================
--- trunk/Master/texmf-dist/doc/fonts/txuprcal/map/TXUprCal.map	                        (rev 0)
+++ trunk/Master/texmf-dist/doc/fonts/txuprcal/map/TXUprCal.map	2017-02-23 21:59:17 UTC (rev 43314)
@@ -0,0 +1,2 @@
+txUprCal-Regular txUprCal-Regular <txuprcal-reg.pfb
+txUprCal-Bold txUprCal-Bold <txuprcal-bold.pfb

Added: trunk/Master/texmf-dist/doc/fonts/txuprcal/tex/txuprcal.sty
===================================================================
--- trunk/Master/texmf-dist/doc/fonts/txuprcal/tex/txuprcal.sty	                        (rev 0)
+++ trunk/Master/texmf-dist/doc/fonts/txuprcal/tex/txuprcal.sty	2017-02-23 21:59:17 UTC (rev 43314)
@@ -0,0 +1,13 @@
+\NeedsTeXFormat{LaTeX2e}
+\ProvidesPackage{txuprcal}[2017/02/22 v1 U/TXUprCal]
+\RequirePackage{xkeyval}%
+\define at 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

Added: trunk/Master/texmf-dist/doc/fonts/txuprcal/tex/utxuprcal.fd
===================================================================
--- trunk/Master/texmf-dist/doc/fonts/txuprcal/tex/utxuprcal.fd	                        (rev 0)
+++ trunk/Master/texmf-dist/doc/fonts/txuprcal/tex/utxuprcal.fd	2017-02-23 21:59:17 UTC (rev 43314)
@@ -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 at Scale\empty}%
+    {\edef\TXUprCal at Scale{s*[\TXUprCalScale]}}
+
+\DeclareFontFamily{U}{txuprcal}{\skewchar \font =45}
+
+\DeclareFontShape{U}{txuprcal}{m}{n}{
+   <-> \TXUprCal at Scale txUprCal-Regular
+}{}
+
+\DeclareFontShape{U}{txuprcal}{b}{n}{
+   <-> \TXUprCal at Scale txUprCal-Bold
+}{}
+
+\DeclareFontShape{U}{txuprcal}{bx}{n}{<->ssub * txuprcal/b/n}{}
+
+\endinput

Added: trunk/Master/texmf-dist/doc/fonts/txuprcal/tfm/txUprCal-Bold.tfm
===================================================================
(Binary files differ)

Index: trunk/Master/texmf-dist/doc/fonts/txuprcal/tfm/txUprCal-Bold.tfm
===================================================================
--- trunk/Master/texmf-dist/doc/fonts/txuprcal/tfm/txUprCal-Bold.tfm	2017-02-23 21:58:11 UTC (rev 43313)
+++ trunk/Master/texmf-dist/doc/fonts/txuprcal/tfm/txUprCal-Bold.tfm	2017-02-23 21:59:17 UTC (rev 43314)

Property changes on: trunk/Master/texmf-dist/doc/fonts/txuprcal/tfm/txUprCal-Bold.tfm
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Added: trunk/Master/texmf-dist/doc/fonts/txuprcal/tfm/txUprCal-Regular.tfm
===================================================================
(Binary files differ)

Index: trunk/Master/texmf-dist/doc/fonts/txuprcal/tfm/txUprCal-Regular.tfm
===================================================================
--- trunk/Master/texmf-dist/doc/fonts/txuprcal/tfm/txUprCal-Regular.tfm	2017-02-23 21:58:11 UTC (rev 43313)
+++ trunk/Master/texmf-dist/doc/fonts/txuprcal/tfm/txUprCal-Regular.tfm	2017-02-23 21:59:17 UTC (rev 43314)

Property changes on: trunk/Master/texmf-dist/doc/fonts/txuprcal/tfm/txUprCal-Regular.tfm
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Added: trunk/Master/texmf-dist/doc/fonts/txuprcal/type1/txuprcal-bold.pfb
===================================================================
(Binary files differ)

Index: trunk/Master/texmf-dist/doc/fonts/txuprcal/type1/txuprcal-bold.pfb
===================================================================
--- trunk/Master/texmf-dist/doc/fonts/txuprcal/type1/txuprcal-bold.pfb	2017-02-23 21:58:11 UTC (rev 43313)
+++ trunk/Master/texmf-dist/doc/fonts/txuprcal/type1/txuprcal-bold.pfb	2017-02-23 21:59:17 UTC (rev 43314)

Property changes on: trunk/Master/texmf-dist/doc/fonts/txuprcal/type1/txuprcal-bold.pfb
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Added: trunk/Master/texmf-dist/doc/fonts/txuprcal/type1/txuprcal-reg.pfb
===================================================================
(Binary files differ)

Index: trunk/Master/texmf-dist/doc/fonts/txuprcal/type1/txuprcal-reg.pfb
===================================================================
--- trunk/Master/texmf-dist/doc/fonts/txuprcal/type1/txuprcal-reg.pfb	2017-02-23 21:58:11 UTC (rev 43313)
+++ trunk/Master/texmf-dist/doc/fonts/txuprcal/type1/txuprcal-reg.pfb	2017-02-23 21:59:17 UTC (rev 43314)

Property changes on: trunk/Master/texmf-dist/doc/fonts/txuprcal/type1/txuprcal-reg.pfb
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Modified: trunk/Master/tlpkg/bin/tlpkg-ctan-check
===================================================================
--- trunk/Master/tlpkg/bin/tlpkg-ctan-check	2017-02-23 21:58:11 UTC (rev 43313)
+++ trunk/Master/tlpkg/bin/tlpkg-ctan-check	2017-02-23 21:59:17 UTC (rev 43314)
@@ -619,7 +619,7 @@
     tucv tudscr tufte-latex tugboat tugboat-plain
     tui turabian turabian-formatting turkmen turnstile turnthepage
     twoinone twoup
-    txfonts txfontsb txgreeks
+    txfonts txfontsb txgreeks txuprcal
     type1cm typed-checklist typeface typehtml typeoutfileinfo typicons typogrid
   uaclasses uafthesis uantwerpendocs uassign
     ucharcat ucharclasses ucbthesis ucdavisthesis ucs

Modified: trunk/Master/tlpkg/tlpsrc/collection-fontsextra.tlpsrc
===================================================================
--- trunk/Master/tlpkg/tlpsrc/collection-fontsextra.tlpsrc	2017-02-23 21:58:11 UTC (rev 43313)
+++ trunk/Master/tlpkg/tlpsrc/collection-fontsextra.tlpsrc	2017-02-23 21:59:17 UTC (rev 43314)
@@ -243,6 +243,7 @@
 depend tpslifonts
 depend trajan
 depend txfontsb
+depend txuprcal
 depend typicons
 depend umtypewriter
 depend universa

Added: trunk/Master/tlpkg/tlpsrc/txuprcal.tlpsrc
===================================================================
--- trunk/Master/tlpkg/tlpsrc/txuprcal.tlpsrc	                        (rev 0)
+++ trunk/Master/tlpkg/tlpsrc/txuprcal.tlpsrc	2017-02-23 21:59:17 UTC (rev 43314)
@@ -0,0 +1 @@
+execute addMap TXUprCal.map



More information about the tex-live-commits mailing list