Tell me more ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

I have an issue with an equation in my latex intermittently shifting to the left. It is really sensitive to the layout of the page in general -- which means that I can't get a truly minimal working example, so I'll just show snapshots. The code is included below. Here, you see the bad alignment.

Bad alignment of Eq. (A10)

Eq. (A10) is flush left, but the equation number is also moved to the left. It's just a plain old equation environment. I can change its content to anything, and the alignment is still bad, so it's not that.

If I change the rest of the page in any way (e.g., remove a couple lines from well before or well after), the alignment issue resolves. Here, I've just added a \newline to a paragraph far before the equation (not changing this paragraph in any way):

Good alignment of Eq. (A10)

Obviously, I don't want that newline. Any ideas on where this might be coming from? Or hacks to try to get it working without an extra paragraph break?

I'm using revtex4-1 in reprint mode, with amsmath and about a hundred other things that I can't change without changing the layout of the article so much that this intermittent problem goes away. That is, I can't narrow it down by removing packages. Sorry this is so vague and unhelpful, but it's intermittent, so I can't figure out how to simplify it. One of you geniuses must have some idea!

Code



The SWSHs form a basis for spin-weighted functions on the\footnote{The
  choices of signs in these definitions are---to a great
  extent---arbitrary conventions.  However, care must be taken to
  ensure that the resulting $\mathfrak{D}$ matrices form a
  representation of the rotation group rather than an
  anti-representation, and to ensure that the handedness of space is
  preserved.  Our purpose in choosing these particular signs is to
  reproduce the standard SWSHs as special cases.  In particular, note
  that the presence of $Q_{3}$ in the definition of $Q_{a}$ is what
  picks out the $z$ axis as the point of reference on the sphere, so
  that angles are measured with respect to it, rather than the $x$ or
  $y$ axes.}  sphere~\cite{NewmanPenrose:1965, JanisNewman:1965,
  NewmanPenrose:1966}.  Goldberg \textit{et
  al.}~\cite{GoldbergEtAl:1967} showed that the SWSHs can be expressed
as special cases of Wigner's $\mathfrak{D}$ matrices, so that by
constructing $\mathfrak{D}^{(\ell)}_{m', m}$, we will obtain
${}_{s}Y_{\ell,m}$.  Defining the parts of the quaternion $\mathbf{Q}$
as
\begin{equation}
  x~,
\end{equation}
we can express quaternion multiplication as
\begin{gather}
  y\\z~.
\end{gather}
Then, following the standard derivation~\cite{*[{Chapter~15 of }] [{}]
  Wigner:1959}, we obtain

share|improve this question
1  
Don't know for sure, but you could try \hspace*{0pt} instead of \newline as a workaround. – Peter Grill May 16 '12 at 0:30
1  
How about \leavevmode, or \mbox{}? If you haven't guessed, I am not one of those geniuses... – Peter Grill May 16 '12 at 0:45
1  
One thing that will probably work is if you put all three questions in an align environment, and use intertext{} to obtain the "we can express..." (or \shortintertext if you are including mathtools). – Peter Grill May 16 '12 at 0:49
1  
Do you have a \\ at the end of the last equation? That would result in a larger space at the end. You should be able to compose a MWE with the align to resolve the space issue. – Peter Grill May 16 '12 at 1:11
1  
Please post the code you use to create the paragraph before and after, as well as the equation itself. Some more suggestions: use \newline followed by \vspace*{-\baselineskip} (while in vertical mode). – Werner May 16 '12 at 4:48
show 11 more comments

closed as too localized by Joseph Wright Aug 6 '12 at 20:55

This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, see the FAQ.

Browse other questions tagged or ask your own question.