# [texpoint-users] Amsfonts

TexPoint authors at texpoint.necula.org
Thu Sep 2 10:08:20 PDT 2010

 Hi,

The standard latex templates for single equations do not include the
"amsfonts" package.
You have two options to change that:
1. Go to the TexPoint installation directory and open the "templates"
sub-directory. There you will find the included "tpt" Texpoint
templates. Add a line "\usepackage{amsfonts}" to the templates you use,
save the file, and reload TexPoint.
2. Or create your own templates [take one of the default ones, edit it
and save with a new name - do not forget to change the name and id (some
unique character sequence)] - see also the help and example below.

User templates can be also saved in a user defined location (see
TexPoint configuration), such that you do not need to modify the default
TexPoint installation.

Andreas.

Example for a custom template file (using the new RevTex 4.1 style):
----------------------- revtex41.tpt ------------------------------
<TPT:name>RevTex 4.1</TPT>
<TPT:ID>TPT_RT4_1</TPT>
\documentclass[amsmath,amssymb]{revtex4-1}
\usepackage[usenames]{color}
\usepackage{amsfonts}
<TPT>usepackage</TPT>
\pagestyle{empty}
\begin{document}
<TPT>back</TPT>%
\color[rgb]{<TPT>fore</TPT>}

\setcounter{equation}{<TPT>eqnno</TPT>}

<TPT>equation</TPT>

\end{document}
----------------------------------------------------------------

On 2010-09-02 05:57 , Regis Behmo wrote:
> Hi all,
>
> I am trying to use the \mathbb fonts in TexPoint, but neither \bbR nor
> \mathbb{R} work for me. When I do the following:
>  Insert Latex Equation > x \in \bbR^2 > OK
> I get:
>
> ######################################
> LaTeX Warning: Unused global option(s):
>     [amsmath,amssymb].
>
> No file TP_tmp.aux.
> ! Undefined control sequence.
> l.12 $x \in \bbR > ^2$
> ? latex: Bad file descriptor
>
> Exit code was 1
>
> The exit code of command was 1
> ######################################
>
> Any help on this?
>
> Régis