2

Trying to have an equals sign flush left with the margin, while centring the rest of the equation, found the best solution here, but it seems like there would be a better way to do it, given that the symbol is in the same place every time.

The solution I have:

\begin{align*}
(s + 6.72 + 9.95 j)(s + 6.72 - 9.95 j) \refstepcounter{equation}\tag*{\llap{\makebox[\linewidth][l]{$=$}}}
\end{align*}
2
  • Welcome to TeX SX! Do you mean flush right with the (right) margin or flushleft with the (left) margin?
    – Bernard
    Commented Oct 6, 2018 at 9:11
  • it would be easier if you posted a full small document. In particular are your equation numbers on the left or right, here you seem to step the equation number but don't print it? Commented Oct 6, 2018 at 9:21

1 Answer 1

1

Here is an attempt to achieve what you're after, using flalign:

enter image description here

\documentclass{article}

\usepackage{amsmath}

\newcommand{\insertmath}{\rule{5em}{.5\baselineskip}}

\begin{document}

\begin{flalign*}
    && f(x) = \insertmath && \\
  = && (\insertmath)(\insertmath)
\end{flalign*}

\begin{flalign*}
    && & f(x) = \insertmath & \\
  = && & (\insertmath)(\insertmath)
\end{flalign*}

\end{document}

You must log in to answer this question.

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