diff options
Diffstat (limited to 'Master/texmf-dist/source/latex/actuarialsymbol')
-rw-r--r-- | Master/texmf-dist/source/latex/actuarialsymbol/actuarialsymbol.dtx | 31 |
1 files changed, 19 insertions, 12 deletions
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 |