I googled it and I couldn't found it. And I am really sure this is a question that a lot of people ask, but I really googled it and couldn't find it.

Is it possible to use an "invisble equal sign" in the align environment? Some times I would like align to align equations different, instead of under the equation mark. In some formulas I don't have equation signs. So is it possible to use an invisible equation mark or some trick to align to something else than an equation mark?

Here a minimal example. I would like to have the last two "equations" aligned (I just wrote some random numbers, to make an example). The first two environments was to show how I normally use align/equation.


%Normal use of align
    x &= 0.999\ldots \\
10x &= 9.999\ldots \\
   10x &= 9+0.999\ldots \\
   10x &= 9 + x\\
   9x &= 9\\
    x &= 1

%Normal use of equation
0.999\ldots = 9\left(\tfrac{1}{10}\right) + 9\left({\tfrac{1}{10}}\right)^2 + 9\left({\tfrac{1}{10}}\right)^3 + \cdots = \frac{9\left({\tfrac{1}{10}}\right)}{1-{\tfrac{1}{10}}} = 1.\,

%What I would like to have aligned
bci-ax+i > n\\
\sin(\theta_B) \rightarrow 9x

Kind regards!

  • 2
    You can align prepending & to any character to serve as alignment point. How would you like the alignment to be in your code? – Gonzalo Medina Mar 11 '15 at 20:47
  • @GonzaloMedina Thank you very much! That is the answer ... thought you just have to use it on = ... – Basilius Sapientia Mar 11 '15 at 20:50
  • @BasiliusSapientia instead of thanks, you might consider accepting the answer : ). – aeroNotAuto Mar 11 '15 at 20:59
  • @aeroNotAuto would like to, but (as far as I know) it is impossible to except the answer when the correct answer is in the commend. Or am I wrong? I can just except something that is given as "answer" and not as commend. – Basilius Sapientia Mar 11 '15 at 21:07

The use of & is not restricted to the equality symbol. You can align prepending & to any character to serve as alignment point:



No alignment:
bci-ax+i > n\\
\sin(\theta_B) \rightarrow 9x

Alignment at \verb+>+ and \verb+\rightarrow+:
bci-ax+i &> n\\
\sin(\theta_B) &\rightarrow 9x


enter image description here

  • The question was whether an invisible &= can be used. This serves the OP's purpose, but doesn't answer the question. – StatsSorceress Sep 29 at 16:43

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.