Home > Archive > Tex > August 2005 > about a warning "command \b (bar-under) invalid in math mode"
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
about a warning "command \b (bar-under) invalid in math mode"
|
|
| cattug@gmail.com 2005-08-29, 7:04 pm |
| hi, i'm preparing a document using latex and using "bar-under"(\b)
command in some equations, and warnings like "command \b invalid in
math mode" appear when i compiled the tex file. how can i eliminate
this warnings?
thanks, tugrul.
| |
| G. A. Edgar 2005-08-29, 7:04 pm |
| In article <1125336659.916080.135120@g49g2000cwa.googlegroups.com>,
<"cattug@gmail.com"> wrote:
> hi, i'm preparing a document using latex and using "bar-under"(\b)
> command in some equations, and warnings like "command \b invalid in
> math mode" appear when i compiled the tex file. how can i eliminate
> this warnings?
>
> thanks, tugrul.
>
in math mode, you can use \underline{}
--
G. A. Edgar http://www.math.ohio-state.edu/~edgar/
| |
| Enrico Gregorio 2005-08-29, 7:04 pm |
| <"cattug@gmail.com"> wrote:
> hi, i'm preparing a document using latex and using "bar-under"(\b)
> command in some equations, and warnings like "command \b invalid in
> math mode" appear when i compiled the tex file. how can i eliminate
> this warnings?
By using the correct construction: $\underline{a}$. If you use \b
you get not only a warning, but also the letter in a wrong typeface.
Ciao
Enrico
| |
| cattug@gmail.com 2005-08-30, 7:58 am |
| i prefered not to use bar under letters. i wanted to use bar under
letters to specify vectors and decide to use \mathbf command to do it.
thanks for replies.
tugrul.
| |
| Lars Madsen 2005-08-30, 7:58 am |
| cattug@gmail.com wrote:
> i prefered not to use bar under letters. i wanted to use bar under
> letters to specify vectors and decide to use \mathbf command to do it.
>
> thanks for replies.
>
> tugrul.
>
\bm (from the bm package) might be a better choice
then $\bm{x}$ will just be a bold version of $x$, whereas $\mathbf{x}$ is an
upright bold x.
--
/daleif (remove RTFSIGNATURE from email address)
LaTeX FAQ: http://www.tex.ac.uk/faq
Superb Class: http://www.ctan.org/tex-archive/hel...ies/memoir.html
LaTeX book: http://www.imf.au.dk/system/latex/bog/ (in Danish)
Remember to post minimal working examples.
|
|
|
|
|