2008-09-18 57 views

回答

5

我看Life's Contingency's Package,各種精算前哨forumthreads和​​3210的乳膠,並結合最好到下面的宏:

\DeclareRobustCommand{\lcroof}[1]{ 
    \hbox{\vtop{\vbox{% 
     \hrule\kern 1pt\hbox{% 
     $\scriptstyle #1$% 
     \kern 1pt}}\kern1pt}% 
    \vrule\kern1pt}} 
\DeclareRobustCommand{\angle}[1]{ 
    _{\lcroof{#1}}} 

然後,您可以使用此宏問題的例子打字

$a\angle{s}$ 

如果您需要一套完整的精算符號,你應該使用Life's Contingency's Packagelifecon。使用lifecon,您可以通過鍵入

$a_{\lcroof{s}}$ 
1

設置上面我曾與精算符號和下標/上標同樣的問題,所以我做了一個包,使我的生活更輕鬆,並幫助其他。

另外,我添加了一些快捷方式來節省時間。

The GitHub actuarialsymbol

和CTAN here

1

我一直在爲我的教授做一些排版工作,結果證明我需要一些幫助來產生年金符號的累計價值。

我問這個問題上TEX堆疊交換here

其產生結果Heiko Oberdiek產生了

\documentclass{article} 
\usepackage{siunitx} 

\makeatletter 
\newcommand*{\NegationLike}[1]{% 
    \mathop{% 
    \mathpalette\@NegationLike{#1}% 
    }% 
    % A little space is added automatically, 
    % if a math ord atom follows. 
} 
\newdimen\BarLineWidth 
\newcommand*{\@NegationLike}[2]{% 
    % #1: math style 
    % #2: argument 
    \vbox{% 
    % The rule thickness of \overline or \underline 
    % is available in the font dimen register 8 
    % of the math family 3 of the current size. 
    \BarLineWidth=% 
     \the\fontdimen8% 
     \ifx\displaystyle#1\textfont 
     \else\ifx\textstyle#1\textfont 
     \else\ifx\scriptstyle#1\scriptfont 
     \else\scriptscriptfont 
     \fi\fi\fi 
     3\relax 
    % The rule at the top 
    \hrule height\BarLineWidth 
    % Move the box with the vertical line 
    % as height as the top of the upper line 
    % to get a better corner. 

accumulated value of annuity