Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

Possible Duplicate:
Blackboard bold characters

I have seen the unit (or identity operator) typeset via

\newcommand{\unit}{1\!\!1}

Is this really the best way to get a double-stroke 1? The obvious guess, \mathbb{1}, does not work.

Or is the use of a double-stroke 1 (rather than "Id" or just a simple "1") for this purpose frowned upon?

share|improve this question
    
I would highly recommend \usepackage{bbm} and \newcommand\idop{\bbm 1}. –  Niel de Beaudrap Sep 3 '11 at 20:53
    
This can be confusing. –  Wok Dec 4 '12 at 12:38
add comment

marked as duplicate by Joseph Wright Sep 3 '11 at 20:44

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

1 Answer

Try \mathds from the dsfont package:

\documentclass{article}

\usepackage{dsfont}

\begin{document}

\noindent
\(\mathds{1}\)

\end{document}

The resulting output is:

share|improve this answer
add comment

Not the answer you're looking for? Browse other questions tagged or ask your own question.