%%
%% This is file `actuarialangle.sty',
%% generated with the docstrip utility.
%%
%% The original source files were:
%%
%% actuarialangle.dtx  (with options: `package')
%% 
%% This is a generated file.
%% 
%% Copyright (C) 2017 Vincent Goulet
%% 
%% This file may be distributed and/or modified under the conditions
%% of the LaTeX Project Public License, either version 1.3c of this
%% license or (at your option) any later version. The latest version
%% of this license is in:
%% 
%%    http://www.latex-project.org/lppl.txt
%% 
%% and version 1.3c or later is part of all distributions of LaTeX
%% version 2006/05/20 or later.
%% 
%% This work has the LPPL maintenance status `maintained'.
%% 
%% The Current Maintainer of this work is Vincent Goulet
%% <vincent.goulet@act.ulaval.ca>.
%% 
%% This work consists of the files actuarialangle.dtx and
%% actuarialangle.ins and the derived files listed in the README.md file.
%% 
\NeedsTeXFormat{LaTeX2e}[2009/09/24]
\ProvidesPackage{actuarialangle}[2017/04/10 v2.0 Actuarial angle]
\newif\ifacta@thinspace \acta@thinspacetrue
\newif\ifacta@bracket   \acta@brackettrue
\DeclareOption{thinspace}{\acta@thinspacetrue}
\DeclareOption{thickspace}{\acta@thinspacefalse}
\DeclareOption{nobracket}{\acta@bracketfalse}
\ProcessOptions
\DeclareRobustCommand{\actuarialangle}{\mathpalette\acta@angle}
\def\acta@angle#1#2{%
  \mathord{%
    \mkern1mu
    \vbox{\hrule \hbox{%
        \vbox{%
          \kern3\fontdimen8\scriptfont\thr@@
          \hbox{$#1#2\m@th$}}%
        \setbox\z@\hbox{$#1()$}\vrule depth\dp\z@}}%
    \mkern1mu}}
\ifacta@thinspace
  \def\angl#1{{\actuarialangle{{#1}\mkern1mu}}}
\else
  \def\angl#1{{\actuarialangle{{#1}\mkern2mu}}}
\fi
\def\angln{{\angl n}}
\def\anglr{{\angl r}}
\def\anglk{{\angl k}}
\ifacta@bracket
  \RequirePackage{pict2e}
  \DeclareRobustCommand{\overanglebracket}{%
    \mathpalette\acta@anglebracket}
  \def\acta@anglebracket#1#2{%
    \setbox\z@\hbox{$\m@th#1#2$}
    \dimen0\wd\z@ \dimen1\ht\z@
    \setbox\tw@\hbox{%
      \setlength{\unitlength}{\dimen1}%
      \begin{picture}(0.4,0)
        \polyline(0.4001,0)(0.4,0)(0,-0.8)
      \end{picture}%
      \setlength{\unitlength}{\dimen0}%
      \begin{picture}(1,0)
        \put(0,0){\line(1,0){1}}
      \end{picture}%
      \setlength{\unitlength}{\dimen1}%
      \begin{picture}(0.4,0)
        \polyline(-0.0001,0)(0,0)(0.4,-0.8)
      \end{picture}}
    \dimen@\wd\tw@
    \vbox to\dimen1{%
      \baselineskip\z@
      \lineskip3\fontdimen8\scriptfont\thr@@
      \advance\lineskip by 0.2pt
      \lineskiplimit\lineskip
      \vss
      \box\tw@%
      \hbox to\dimen@{\hss\unhbox\z@\hss}
    }
  }
  \let\group\overanglebracket
\fi
\endinput
%%
%% End of file `actuarialangle.sty'.