texlive[43327] Master: txuprcal, now flattened (23feb17)

commits+karl at tug.org commits+karl at tug.org
Fri Feb 24 23:09:01 CET 2017


Revision: 43327
          http://tug.org/svn/texlive?view=revision&revision=43327
Author:   karl
Date:     2017-02-24 23:09:01 +0100 (Fri, 24 Feb 2017)
Log Message:
-----------
txuprcal, now flattened (23feb17)

Modified Paths:
--------------
    trunk/Master/tlpkg/libexec/ctan2tds

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

Removed Paths:
-------------
    trunk/Master/texmf-dist/doc/fonts/txuprcal/doc/
    trunk/Master/texmf-dist/doc/fonts/txuprcal/map/
    trunk/Master/texmf-dist/doc/fonts/txuprcal/tex/
    trunk/Master/texmf-dist/doc/fonts/txuprcal/tfm/
    trunk/Master/texmf-dist/doc/fonts/txuprcal/type1/

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

Index: trunk/Master/texmf-dist/doc/fonts/txuprcal/txuprcal-doc.pdf
===================================================================
--- trunk/Master/texmf-dist/doc/fonts/txuprcal/txuprcal-doc.pdf	2017-02-24 22:07:42 UTC (rev 43326)
+++ trunk/Master/texmf-dist/doc/fonts/txuprcal/txuprcal-doc.pdf	2017-02-24 22:09:01 UTC (rev 43327)

Property changes on: trunk/Master/texmf-dist/doc/fonts/txuprcal/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/txuprcal-doc.tex
===================================================================
--- trunk/Master/texmf-dist/doc/fonts/txuprcal/txuprcal-doc.tex	                        (rev 0)
+++ trunk/Master/texmf-dist/doc/fonts/txuprcal/txuprcal-doc.tex	2017-02-24 22:09:01 UTC (rev 43327)
@@ -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/fonts/map/dvips/txuprcal/TXUprCal.map
===================================================================
--- trunk/Master/texmf-dist/fonts/map/dvips/txuprcal/TXUprCal.map	                        (rev 0)
+++ trunk/Master/texmf-dist/fonts/map/dvips/txuprcal/TXUprCal.map	2017-02-24 22:09:01 UTC (rev 43327)
@@ -0,0 +1,2 @@
+txUprCal-Regular txUprCal-Regular <txuprcal-reg.pfb
+txUprCal-Bold txUprCal-Bold <txuprcal-bold.pfb

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

Index: trunk/Master/texmf-dist/fonts/tfm/public/txuprcal/txUprCal-Bold.tfm
===================================================================
--- trunk/Master/texmf-dist/fonts/tfm/public/txuprcal/txUprCal-Bold.tfm	2017-02-24 22:07:42 UTC (rev 43326)
+++ trunk/Master/texmf-dist/fonts/tfm/public/txuprcal/txUprCal-Bold.tfm	2017-02-24 22:09:01 UTC (rev 43327)

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

Index: trunk/Master/texmf-dist/fonts/tfm/public/txuprcal/txUprCal-Regular.tfm
===================================================================
--- trunk/Master/texmf-dist/fonts/tfm/public/txuprcal/txUprCal-Regular.tfm	2017-02-24 22:07:42 UTC (rev 43326)
+++ trunk/Master/texmf-dist/fonts/tfm/public/txuprcal/txUprCal-Regular.tfm	2017-02-24 22:09:01 UTC (rev 43327)

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

Index: trunk/Master/texmf-dist/fonts/type1/public/txuprcal/txuprcal-bold.pfb
===================================================================
--- trunk/Master/texmf-dist/fonts/type1/public/txuprcal/txuprcal-bold.pfb	2017-02-24 22:07:42 UTC (rev 43326)
+++ trunk/Master/texmf-dist/fonts/type1/public/txuprcal/txuprcal-bold.pfb	2017-02-24 22:09:01 UTC (rev 43327)

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

Index: trunk/Master/texmf-dist/fonts/type1/public/txuprcal/txuprcal-reg.pfb
===================================================================
--- trunk/Master/texmf-dist/fonts/type1/public/txuprcal/txuprcal-reg.pfb	2017-02-24 22:07:42 UTC (rev 43326)
+++ trunk/Master/texmf-dist/fonts/type1/public/txuprcal/txuprcal-reg.pfb	2017-02-24 22:09:01 UTC (rev 43327)

Property changes on: trunk/Master/texmf-dist/fonts/type1/public/txuprcal/txuprcal-reg.pfb
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Added: trunk/Master/texmf-dist/tex/latex/txuprcal/txuprcal.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/txuprcal/txuprcal.sty	                        (rev 0)
+++ trunk/Master/texmf-dist/tex/latex/txuprcal/txuprcal.sty	2017-02-24 22:09:01 UTC (rev 43327)
@@ -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/tex/latex/txuprcal/utxuprcal.fd
===================================================================
--- trunk/Master/texmf-dist/tex/latex/txuprcal/utxuprcal.fd	                        (rev 0)
+++ trunk/Master/texmf-dist/tex/latex/txuprcal/utxuprcal.fd	2017-02-24 22:09:01 UTC (rev 43327)
@@ -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

Modified: trunk/Master/tlpkg/libexec/ctan2tds
===================================================================
--- trunk/Master/tlpkg/libexec/ctan2tds	2017-02-24 22:07:42 UTC (rev 43326)
+++ trunk/Master/tlpkg/libexec/ctan2tds	2017-02-24 22:09:01 UTC (rev 43327)
@@ -1125,6 +1125,7 @@
  'tpx',         "die 'skipping, nosource, Windows'",
  'txfonts',     "&MAKEflatten",
  'txfontsb',    "&MAKEflatten",
+ 'txuprcal',     "&MAKEflatten",
  'ty',          "die 'skipping, name too generic'",
  'typedref',    "die 'skipping, nonfree license'",
  'typespec',    "die 'skipping, nonfree font specimens'",



More information about the tex-live-commits mailing list