I am trying the following code

```
\begin{equation}
\bm{F}=\bm{F}_{vol}\={\bm{F}}
\end{equation}
```

But it's some errors. I think the error might be because I cannot use macron in math environment. how can I resolve this?

Skip to content
# [Tex/LaTex] How to add \= (“macron”, “overbar”) in an equation?

accentsequationsmath-mode

I am trying the following code

```
\begin{equation}
\bm{F}=\bm{F}_{vol}\={\bm{F}}
\end{equation}
```

But it's some errors. I think the error might be because I cannot use macron in math environment. how can I resolve this?

## Best Answer

In general text accent commands uses symbol names:

`\=`

for macron`\"`

for umlaut etc, and math accents (which are logically quite distinct) use words so`\bar`

for an over bar accent, and`\ddot`

for a double dot accent, etc. In the case of the bar sometimes`\overline`

works better (that is not built using the math accent primitives, but is simply a rule drawn over the expression, but unlike`\bar`

which is a fixed character from the font,`\overline`

extends as needed to cover the expression.