texlive[44607] Master/texmf-dist: actuarialsymbol (15jun17)

commits+karl at tug.org commits+karl at tug.org
Thu Jun 15 23:47:10 CEST 2017


Revision: 44607
          http://tug.org/svn/texlive?view=revision&revision=44607
Author:   karl
Date:     2017-06-15 23:47:10 +0200 (Thu, 15 Jun 2017)
Log Message:
-----------
actuarialsymbol (15jun17)

Modified Paths:
--------------
    trunk/Master/texmf-dist/doc/latex/actuarialsymbol/README.md
    trunk/Master/texmf-dist/doc/latex/actuarialsymbol/actuarialsymbol.pdf
    trunk/Master/texmf-dist/source/latex/actuarialsymbol/actuarialsymbol.dtx
    trunk/Master/texmf-dist/tex/latex/actuarialsymbol/actuarialsymbol.sty

Modified: trunk/Master/texmf-dist/doc/latex/actuarialsymbol/README.md
===================================================================
--- trunk/Master/texmf-dist/doc/latex/actuarialsymbol/README.md	2017-06-15 21:46:13 UTC (rev 44606)
+++ trunk/Master/texmf-dist/doc/latex/actuarialsymbol/README.md	2017-06-15 21:47:10 UTC (rev 44607)
@@ -1,6 +1,6 @@
 # actuarialsymbol
 
-Package `actuarialsymbol` provides commands to compose
+Package **actuarialsymbol** provides commands to compose
 actuarial symbols of life contingencies and financial mathematics
 characterized by subscripts and superscripts on both sides of a
 principal symbol. The package also features commands to easily and
@@ -7,12 +7,12 @@
 consistently position precedence numbers above or below statuses
 in symbols for multiple lives contracts.
 
-Since the actuarial notation can get quite involved. the package
-defines a number of shortcut macros to ease entry of the most common
-elements. Appendix A of the package documentation lists the commands
-to typeset a large selection of symbols of life contingencies.
+Since actuarial notation can get quite involved, the package defines a
+number of shortcut macros to ease entry of the most common elements.
+Appendix A of the package documentation lists the commands to typeset
+a large selection of symbols of life contingencies.
 
-## Licence
+## License
 
 LaTeX Project Public License, version 1.3c or (at your option) any
 later version.
@@ -19,7 +19,7 @@
 
 ## Version
 
-1.0 (2017-04-11)
+1.0a (2017-06-14)
 
 ## Authors
 
@@ -28,8 +28,8 @@
 
 ## Dependency
 
-This package requires `actuarialangle` (version v2.0 dated 2017/04/10
-or above is needed to typeset the documentation).
+This package requires package **actuarialangle** (version v2.0 dated
+2017/04/10 or above is needed to typeset the documentation).
 
 ## Installation
 

Modified: trunk/Master/texmf-dist/doc/latex/actuarialsymbol/actuarialsymbol.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/source/latex/actuarialsymbol/actuarialsymbol.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/actuarialsymbol/actuarialsymbol.dtx	2017-06-15 21:46:13 UTC (rev 44606)
+++ trunk/Master/texmf-dist/source/latex/actuarialsymbol/actuarialsymbol.dtx	2017-06-15 21:47:10 UTC (rev 44607)
@@ -27,7 +27,7 @@
           \ProvidesFile{actuarialsymbol.dtx}
 %</dtx>
 %<package>\NeedsTeXFormat{LaTeX2e}[2009/09/24]
-%<package>\ProvidesPackage{actuarialsymbol}[2017/04/11 v1.0 Actuarial symbols]
+%<package>\ProvidesPackage{actuarialsymbol}[2017/06/14 v1.0a Actuarial symbols]
 %<*batchfile>
 \begingroup
 \input docstrip.tex
@@ -70,9 +70,11 @@
   \usepackage[scaled=0.90]{helvet}
   \usepackage[scaled=1.02]{inconsolata}
   \usepackage[sc]{mathpazo}
-  \usepackage{rsfso}
+  \usepackage{rsfso}            % \mathcal variants
   \usepackage{actuarialsymbol}[2017/04/10]
-  \usepackage{graphicx,framed}
+  \usepackage{framed}           % environment snugshade*
+  \usepackage{metalogo}         % XeTeX logo
+  \usepackage{graphicx}
   \usepackage{longtable,booktabs}
   \DisableCrossrefs
   \CodelineNumbered
@@ -149,7 +151,7 @@
 \end{document}
 %</driver>
 % \fi
-% \CheckSum{535}
+% \CheckSum{537}
 % \changes{1.0}{2017-04-11}{Initial release.}
 %
 % \GetFileInfo{actuarialsymbol.sty}
@@ -174,10 +176,10 @@
 %   consistently position precedence numbers above or below statuses
 %   in symbols for multiple lives contracts.
 %
-%   Since the actuarial notation can get quite involved. the package
+%   Since actuarial notation can get quite involved, the package
 %   defines a number of shortcut macros to ease entry of the most
 %   common elements. \autoref{sec:comprehensive} lists the commands to
-%   typeset a large selection of symbols of life contingencies.
+%   typeset a large selection of life contingencies symbols.
 % \end{abstract}
 %
 % \tableofcontents
@@ -249,7 +251,7 @@
 %
 % Package \pkg{actuarialsymbol} provides a generic command to position
 % all subscripts and superscripts easily and consistently around a
-% principal symbol, a command to create two-letter symbols and two
+% principal symbol; a command to create two-letter symbols; and two
 % commands to position precedence numbers above and below statuses.
 % Since entering actuarial symbols can get quite involved, the package
 % also defines a number of shortcuts to create the most common
@@ -258,7 +260,7 @@
 % \section{For the impatient}
 % \label{sec:actuarialsymbol:quickstart}
 %
-% The hurried reader may jump to \autoref{sec:shortcuts} for the
+% The hurried reader may jump to \autoref{sec:shortcuts} for tables of
 % shortcut macros defined by the package, and to
 % \autoref{sec:comprehensive} for a comprehensive list of symbols of
 % life contingencies along with the {\LaTeX} code to compose them with
@@ -1574,15 +1576,20 @@
 %    \end{macrocode}
 %   Typesetting of the left subscript and superscript. Use
 %   \cmd{\mathopen} to suppress space between those and the principal
-%   symbol even when the latter is not of type ord.
+%   symbol even when the latter is not of type ord. (We use
+%   |\textstyle| inside |\vphantom| to avoid bad positioning of
+%   subscripts with \XeTeX; see
+%   \href{https://tex.stackexchange.com/q/374771/24355}{^^A
+%     the discussion} on StackExchange for details.)
+%   \changes{1.0a}{2017-06-14}{Fix left subscript positioning with xetex.}
 %    \begin{macrocode}
-    \mathopen{\vphantom{#4}^{\box\tw@}\sb{\box\@ne}}%
+    \mathopen{\vphantom{\textstyle #4}^{\box\tw@}\sb{\box\@ne}}%
 %    \end{macrocode}
 %   Typesetting of the principal symbol and the right subscript and
 %   superscript. The principal symbol is either a principal symbol alone
 %   or a principle symbol and a benefit symbol between parentheses. In
 %   the latter case, we make sure to align the subscripts and
-%   superscripts only around de principle symbol.
+%   superscripts only around the principle symbol.
 %    \begin{macrocode}
     \ifdim\wd\z@=\z@
       #4^{\box4}\sb{\box\thr@@}%
@@ -1595,7 +1602,7 @@
 %   way, {\TeX}'s default placement of subscripts and superscripts is
 %   maintained.
 %    \begin{macrocode}
-    \mathopen{\vphantom{#4}\sb{\box\@ne}}%
+    \mathopen{\vphantom{\textstyle #4}\sb{\box\@ne}}%
     \ifdim\wd\z@=\z@
       #4\sb{\box\thr@@}%
     \else

Modified: trunk/Master/texmf-dist/tex/latex/actuarialsymbol/actuarialsymbol.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/actuarialsymbol/actuarialsymbol.sty	2017-06-15 21:46:13 UTC (rev 44606)
+++ trunk/Master/texmf-dist/tex/latex/actuarialsymbol/actuarialsymbol.sty	2017-06-15 21:47:10 UTC (rev 44607)
@@ -28,7 +28,7 @@
 %% This work consists of actuarialsymbol.dtx and the derived files.
 %% 
 \NeedsTeXFormat{LaTeX2e}[2009/09/24]
-\ProvidesPackage{actuarialsymbol}[2017/04/11 v1.0 Actuarial symbols]
+\ProvidesPackage{actuarialsymbol}[2017/06/14 v1.0a Actuarial symbols]
 \RequirePackage{amsmath}
 \RequirePackage{actuarialangle}
 \newif\ifacts at alignpreced   \acts at alignprecedfalse
@@ -72,7 +72,7 @@
   \ifnum\ifdim \wd\tw@>\z@ 1\else\ifdim \wd4>\z@ 1\else 0\fi\fi
     =1
     \ifdim \dp\tw@>\dp4 \dp4=\dp\tw@\else \dp\tw@=\dp4\fi
-    \mathopen{\vphantom{#4}^{\box\tw@}\sb{\box\@ne}}%
+    \mathopen{\vphantom{\textstyle #4}^{\box\tw@}\sb{\box\@ne}}%
     \ifdim\wd\z@=\z@
       #4^{\box4}\sb{\box\thr@@}%
     \else
@@ -79,7 +79,7 @@
       #3^{\box4}\sb{\vphantom{\copy\thr@@}}(#4\sb{\box\thr@@})%
     \fi
   \else
-    \mathopen{\vphantom{#4}\sb{\box\@ne}}%
+    \mathopen{\vphantom{\textstyle #4}\sb{\box\@ne}}%
     \ifdim\wd\z@=\z@
       #4\sb{\box\thr@@}%
     \else



More information about the tex-live-commits mailing list