3

I am trying to write bar symbol with some alphabets inside \begin{equation} \end{equation} like this,

\begin{equation}

H \bar{k} 

\end{equation}

I have more than one alphabet to give bar. I've showed only one though.

It shows a lot of error as it is in out of math mode. How do I give bar in this equation mode?

4
  • By alphabet do you mean a single letter? And Welcome to TeX.SE.
    – percusse
    Nov 19, 2012 at 14:09
  • 3
    Welcome to TeX.SX! Don't leave blank lines in a equation environment!
    – egreg
    Nov 19, 2012 at 14:10
  • 1
    I think you are looking for \={k} Nov 19, 2012 at 14:22
  • 1
    thanx! removed blank lines & that worked like a charm!!! anyway thanx again guys, though i am new to latex but i look forward to contribute to the community..
    – Protik
    Nov 19, 2012 at 14:24

1 Answer 1

5

The command \= is the text mode equivalent of \bar.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .