Packages: actuarialsymbol, actuarialangle

Daniel xracoonx at gmx.de
Thu Jul 7 07:53:49 UTC 2022


On 07/07/2022 02:19, William Szuch wrote:
> Hi
> 
> I am new to LaTex/MiKTeX and Lyx.
> 
> I have loaded MiKTeX and LyX 2.3.61
> 
> I have also installed the packages:
> 
>       actuarialsymbols
> 
>      actuarialangle
> 
> in MiKTeX to create actuarial symbols.
> 
> How do I use these packages in LyX?
> 
> eg: \actsymbol{A}{x}
> 
> *Regards*
> 
> *_Bill _*

Hi Bill,

If you want to use a package that is not internally supported by LyX, 
you have to add it manually in the preamble and put the desired command 
into a TeX Code inset (aka ERT).

Add the package to the preamble:
1. Select "Settings" in the "Document" menu which opens the "Document 
Settings" dialog.
2. In the dialog, select "LaTeX Preamble" on the left side and put

\usepackage{actuarialsymbols}
\usepackage{actuarialangle}

3. Press "OK" in the dialog.

Put the command into a TeX Code inset:
1. Put the cursor where you want to add the command in your document.
2. Insert "TeX Code" from the "Insert" menu (there is also a shortcut 
indicated next to the menu which allows you to do this quicker).
3. In TeX Code inset (red box) add your command, e.g. \actsymbol{A}{x}.

Daniel




More information about the lyx-users mailing list