summaryrefslogtreecommitdiff
path: root/Master/texmf-dist
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2017-06-15 21:47:10 +0000
committerKarl Berry <karl@freefriends.org>2017-06-15 21:47:10 +0000
commit0f37ab813b7b69885fa8c19dde8c51fdb629eff5 (patch)
treea17d020ea6483906d3ff3a0ca797930a4bb024e2 /Master/texmf-dist
parentc9f1cd270feae1ae1d41885a68463871e6eb57a9 (diff)
actuarialsymbol (15jun17)
git-svn-id: svn://tug.org/texlive/trunk@44607 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist')
-rw-r--r--Master/texmf-dist/doc/latex/actuarialsymbol/README.md18
-rw-r--r--Master/texmf-dist/doc/latex/actuarialsymbol/actuarialsymbol.pdfbin284380 -> 284695 bytes
-rw-r--r--Master/texmf-dist/source/latex/actuarialsymbol/actuarialsymbol.dtx31
-rw-r--r--Master/texmf-dist/tex/latex/actuarialsymbol/actuarialsymbol.sty6
4 files changed, 31 insertions, 24 deletions
diff --git a/Master/texmf-dist/doc/latex/actuarialsymbol/README.md b/Master/texmf-dist/doc/latex/actuarialsymbol/README.md
index 3c12d0dce37..fbf78c4fb89 100644
--- a/Master/texmf-dist/doc/latex/actuarialsymbol/README.md
+++ b/Master/texmf-dist/doc/latex/actuarialsymbol/README.md
@@ -1,25 +1,25 @@
# 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
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.
## Version
-1.0 (2017-04-11)
+1.0a (2017-06-14)
## Authors
@@ -28,8 +28,8 @@ David Beauchemin <david.beauchemin.5@ulaval.ca>, Vincent Goulet
## 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
diff --git a/Master/texmf-dist/doc/latex/actuarialsymbol/actuarialsymbol.pdf b/Master/texmf-dist/doc/latex/actuarialsymbol/actuarialsymbol.pdf
index 4a821b94d11..52f8e3724f9 100644
--- a/Master/texmf-dist/doc/latex/actuarialsymbol/actuarialsymbol.pdf
+++ b/Master/texmf-dist/doc/latex/actuarialsymbol/actuarialsymbol.pdf
Binary files differ
diff --git a/Master/texmf-dist/source/latex/actuarialsymbol/actuarialsymbol.dtx b/Master/texmf-dist/source/latex/actuarialsymbol/actuarialsymbol.dtx
index 46b58bd2ce2..b19549c144f 100644
--- a/Master/texmf-dist/source/latex/actuarialsymbol/actuarialsymbol.dtx
+++ b/Master/texmf-dist/source/latex/actuarialsymbol/actuarialsymbol.dtx
@@ -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 @@ This work consists of actuarialsymbol.dtx and the derived files.
\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 @@ This work consists of actuarialsymbol.dtx and the derived files.
\end{document}
%</driver>
% \fi
-% \CheckSum{535}
+% \CheckSum{537}
% \changes{1.0}{2017-04-11}{Initial release.}
%
% \GetFileInfo{actuarialsymbol.sty}
@@ -174,10 +176,10 @@ This work consists of actuarialsymbol.dtx and the derived files.
% 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 @@ This work consists of actuarialsymbol.dtx and the derived files.
%
% 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 @@ This work consists of actuarialsymbol.dtx and the derived files.
% \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 @@ This work consists of actuarialsymbol.dtx and the derived files.
% \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 @@ This work consists of actuarialsymbol.dtx and the derived files.
% 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
diff --git a/Master/texmf-dist/tex/latex/actuarialsymbol/actuarialsymbol.sty b/Master/texmf-dist/tex/latex/actuarialsymbol/actuarialsymbol.sty
index 99b5136be2b..3180bc68f50 100644
--- a/Master/texmf-dist/tex/latex/actuarialsymbol/actuarialsymbol.sty
+++ b/Master/texmf-dist/tex/latex/actuarialsymbol/actuarialsymbol.sty
@@ -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@alignpreced \acts@alignprecedfalse
@@ -72,14 +72,14 @@
\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
#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