I use the txfonts
package in my document for fonts. However, I am at a loss as to how to produce the identity operator, which looks like a blackboard bold 1. Now,
\documentclass{article}
\usepackage{bbold}
\begin{document}
\[
\mathbb{1}
\]
\end{document}
produces basically what I am looking for. However, this also replaces all of the other \mathbb
characters with those from the bbold package. Is there a better way to obtain the identity operator symbol?
Best Answer
Both
txfonts
andbbold
declare the math alphabet\mathbb
, therefore the first definition is overwritten by the package which is loaded last. If you generally want to use thetxfonts
blackboard bold symbols, you can declare a new math alphabet\mathbbold
instead of loadingbbold
: