0

I am trying to put the bar on the variable but I either get it on the argument with \bar command or over the whole with \overline. The expression is. Look especially at the derivative and s:

\begin{align*}
\frac{d\bar{x_{1}(\tau)}}{d\tau}=\quad&\bar{x_{1}}\left[\bar{r_{1}}\left(1-\bar{x_{1}}-\bar{\eta_{12}}\bar{x_{2}}-\bar{\eta_{13}}\bar{x_{3}}-\bar{\eta_{14}}\bar{x_{4}}\right)-\bar{f_{11}}\bar{y_{1}}-\bar{f_{12}}\bar{y_{2}} \right] +\bar{s_{i}(\tau)},\quad \bar{x_{1}(0)}>0\\
\end{align*}
9
  • 1
    it is hard to debug if you only post a fragment, not a test docuemnt, and it is not clear what output you want. Are you looking for \bar{x}_{1}(\tau) instead of \bar{x_{1}(\tau)} ?? Commented Dec 20, 2019 at 19:43
  • How about something like this instead (using \bar{x}_1 rather than \bar{x_1})?
    – Werner
    Commented Dec 20, 2019 at 19:46
  • @ Werner Thats what I wanted actually.
    – F.O
    Commented Dec 20, 2019 at 19:55
  • @DavidCarlisle using \bar{x}_{1}(\tau) is good but the bar is little bit to the right and I want it exactly over.
    – F.O
    Commented Dec 20, 2019 at 19:57
  • @F.O: I used the same suggestion as David mentioned. The \bar is pushes slightly to the right since math variables are set with a slant.
    – Werner
    Commented Dec 20, 2019 at 20:07

1 Answer 1

1

\bar places an accent over the argument supplied (\overline is similar but uses a drawn rule of arbitrary length rather than a fixed width accent.

here you want x̄ so \bar{x} with just x in the argument, not \bar{x_{1}{\tau)}

You must log in to answer this question.

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