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.

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}
\begin{equation}
\mathbb{W}
\end{equation}
\end{document}

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

enter image description here

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

enter image description here

The code used for inline math is for example,

set $\mathbb{w}$ has

An equation that does not render is for example,

\begin{equation}
\mathbb{w}^* 
\end{equation}
share|improve this question
    
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
4  
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

up vote 7 down vote accepted

You have to use capital letters to correctly render mathbb:

\begin{equation}
\mathbb{W}^* 
\end{equation}

does render what you want.

share|improve this answer
add comment

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