# [tex4ht] Equations in aligned math (and others?) not properly placed

Beuthe, Thomas beuthet at aecl.ca
Sun Sep 5 04:26:37 CEST 2010

UNRESTRICTED | ILLIMITÉ

There is something strange about the behavior of equation
numbers in ams environments like align and alignat. In these
environments (and perhaps others like them in amsmath?) the
equation numbers that are used will occur just to the right of
the other equation numbers for some reason;

Normal equation:                        |
A=B                  (1.1.1)|
|
Align equation:                         |
a=b+c                           |(1.1.2)
c=d+e                           |(1.1.3)
|
^
edge of
browser window

but the viewing window in the browser will be set to the width
that just includes the normal equation numbering (as indicated
by the vertical bars above). This means you have to scroll the
window to the right manually if you want to see these numbers.

There are additional interesting behaviors as well. Consider
the following sample test:

\documentclass{article}
\usepackage{amsmath}
\begin{document}
The the equation number is displayed in the window correctly
here:
$$A = B$$
but when an align is used, the equation number is outside the
window:
\begin{align}
A & = B \\ A & = B \\ A & = B
\end{align}
On the other hand, if any one of the equation numbers of the
align is suppressed, everything looks the way it should:
\begin{align}
A & = B \\ A & = B \notag \\ A & = B
\end{align}
Interesting difference in spacing between text and equations as
well.
\end{document}

Hope this helps someone track things down.

Thomas

CONFIDENTIAL AND PRIVILEGED INFORMATION NOTICE

This e-mail, and any attachments, may contain information that
is confidential, subject to copyright, or exempt from disclosure.
Any unauthorized review, disclosure, retransmission,
dissemination or other use of or reliance on this information
may be unlawful and is strictly prohibited.

AVIS D'INFORMATION CONFIDENTIELLE ET PRIVILÉGIÉE

Le présent courriel, et toute pièce jointe, peut contenir de
l'information qui est confidentielle, régie par les droits
d'auteur, ou interdite de divulgation. Tout examen,
divulgation, retransmission, diffusion ou autres utilisations
non autorisées de l'information ou dépendance non autorisée
envers celle-ci peut être illégale et est strictement interdite.