Skip to main content
added 455 characters in body
Source Link
MJD
  • 68k
  • 9
  • 50
  • 73

Lately I haven't been able to get the "align" environment to work properly, except on trivial examples. It was always a little finicky, but in the last few days it seems to have gotten much worse.

This isn't formatting properly on Firefox 23. (Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:23.0) Gecko/20100101 Firefox/23.0)

$$\begin{align} \color{green}{\exists \;x \in D \; : P(x) & = \exists \;x \in D \; \; ( \;x \in A \wedge P(x) \;) \tag{E = Existential}} \end{align}$$

Here's a screenshot:

screenshot

Am I making some mistake that would be easy to fix?

[ Update: Asaf points out that the alignment tab symbol & is embedded inside the \green block, so that the constructions on either side have unbalanced braces. Changing

 \color{green}{… & …} 

to

 \color{green}{…} & \color{green}{…} 

fixes the problem:

$$\begin{align} \color{green}{\exists \;x \in D \; : P(x)} & = \color{green}{\exists \;x \in D \; \; ( \;x \in A \wedge P(x) \;) \tag{E = Existential}} \end{align}$$

Lately I haven't been able to get the "align" environment to work properly, except on trivial examples. It was always a little finicky, but in the last few days it seems to have gotten much worse.

This isn't formatting properly on Firefox 23. (Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:23.0) Gecko/20100101 Firefox/23.0)

$$\begin{align} \color{green}{\exists \;x \in D \; : P(x) & = \exists \;x \in D \; \; ( \;x \in A \wedge P(x) \;) \tag{E = Existential}} \end{align}$$

Here's a screenshot:

screenshot

Am I making some mistake that would be easy to fix?

Lately I haven't been able to get the "align" environment to work properly, except on trivial examples. It was always a little finicky, but in the last few days it seems to have gotten much worse.

This isn't formatting properly on Firefox 23. (Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:23.0) Gecko/20100101 Firefox/23.0)

$$\begin{align} \color{green}{\exists \;x \in D \; : P(x) & = \exists \;x \in D \; \; ( \;x \in A \wedge P(x) \;) \tag{E = Existential}} \end{align}$$

Here's a screenshot:

screenshot

Am I making some mistake that would be easy to fix?

[ Update: Asaf points out that the alignment tab symbol & is embedded inside the \green block, so that the constructions on either side have unbalanced braces. Changing

 \color{green}{… & …} 

to

 \color{green}{…} & \color{green}{…} 

fixes the problem:

$$\begin{align} \color{green}{\exists \;x \in D \; : P(x)} & = \color{green}{\exists \;x \in D \; \; ( \;x \in A \wedge P(x) \;) \tag{E = Existential}} \end{align}$$

Source Link
MJD
  • 68k
  • 9
  • 50
  • 73

Why isn't this align environment aligning?

Lately I haven't been able to get the "align" environment to work properly, except on trivial examples. It was always a little finicky, but in the last few days it seems to have gotten much worse.

This isn't formatting properly on Firefox 23. (Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:23.0) Gecko/20100101 Firefox/23.0)

$$\begin{align} \color{green}{\exists \;x \in D \; : P(x) & = \exists \;x \in D \; \; ( \;x \in A \wedge P(x) \;) \tag{E = Existential}} \end{align}$$

Here's a screenshot:

screenshot

Am I making some mistake that would be easy to fix?