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


H \bar{k} 


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?

| improve this question | | | | |
  • By alphabet do you mean a single letter? And Welcome to TeX.SE. – percusse Nov 19 '12 at 14:09
  • 3
    Welcome to TeX.SX! Don't leave blank lines in a equation environment! – egreg Nov 19 '12 at 14:10
  • 1
    I think you are looking for \={k} – David Carlisle Nov 19 '12 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 '12 at 14:24

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

| improve this answer | | | | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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