Symbol of annuity or angle in LaTeX

How to set a symbol for an angle or annuity operation in LaTeX? In particular, this is the actuarial angle s = (1-v s ) / i.

+3
source share
5 answers

For a complete list of LaTeX characters, see Complete list of LaTeX characters . It is worth printing and keeping under the pillow. There is code on page 95 that can do what you want.

+3
source

I looked at the Life Insurance Package , the various Actuarial Outpost forum threads , and the Comprehensive Character List for LaTeX and combines the best in the following macros:

\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}$

, lifecon. lifecon, ,

 $a_{\lcroof{s}}$
+5

/ , , .

, , .

The GitHub actuarialsymbol.

CTAN .

+1

, , .

tex stack

, 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.

:

+1

\ Annu
A good list of latex characters can be found here http://www.ctan.org/tex-archive/info/symbols/comprehensive/symbols-a4.pdf

0
source

Source: https://habr.com/ru/post/1697093/


All Articles