Why does $\mathbb{w}$ not compile correctly? [closed]

I'm using the following code to generate a math-typed $W$ in a LaTeX document. The preamble is given for reference,

\documentclass[a4paper,12pt,openany,twoside]{memoir}
\usepackage[utf8x]{inputenc}
\usepackage{amssymb}
\usepackage{amsmath}
\usepackage{amsfonts}
\begin{document}
$$\mathbb{W}$$
\end{document}


\mathbb{W} renders correctly when placed in its own equation environment,

However as part of a larger equation or in an inline math environment \mathbb{W} renders as the greater than or equal sign,

The code used for inline math is for example,

set $\mathbb{w}$ has


An equation that does not render is for example,

$$\mathbb{w}^*$$

-
Can you please show how you input the formula where \mathbb{W} shows wrongly? –  egreg Jan 1 '13 at 17:29
I updated the question. I just noticed that the same $\mathbb{W}$ does render correctly in a later paragraph. –  entropy Jan 1 '13 at 17:40
You can only use uppercase letters as arguments to \mathbb –  egreg Jan 1 '13 at 17:43
OMW!! Cant believe I missed that! –  entropy Jan 1 '13 at 17:44
add comment

closed as too localized by egreg, Mico, cmhughes, Claudio Fiandrino, Stefan Kottwitz♦Jan 1 '13 at 18:11

This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, visit the help center.If this question can be reworded to fit the rules in the help center, please edit the question.

1 Answer

You have to use capital letters to correctly render mathbb:

$$\mathbb{W}^*$$


does render what you want.

-
add comment