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?