Recent Changes · Search:

# Aligned Equations

## Wikipublisher.AlignedEquations History

07 January 2016 at 03:08 PM by John Rankin - remove spam link
Deleted lines 40-43:

[[Milwaukee Web Hosting -> http://mkewebdev.com/services/linux-system-administration ]]
Changed lines 40-44 from:
In line with [[recommended Latex practice -> http://www.tug.org/pracjourn/2006-4/madsen/]], the recipe wraps the equations in the ''align'' environment, rather than using ''eqnarray''.
to:
In line with [[recommended Latex practice -> http://www.tug.org/pracjourn/2006-4/madsen/]], the recipe wraps the equations in the ''align'' environment, rather than using ''eqnarray''.

[[Milwaukee Web Hosting -> http://mkewebdev.com/services/linux-system-administration ]]
24 October 2008 at 10:01 AM by John Rankin - explain subequation numbering
Changed line 32 from:
As of Wikipublisher version 2.2.7, the markup lets authors define a subequation set. Note that in the web page view, numbering restarts at 1:
to:
As of Wikipublisher version 2.2.7, the markup lets authors define a subequation set. Note that in the web page view, it continues the numbering where the previous equation left off. However, if an author adds a new numbered equation above this one, the image numbering does not change, as the image is generated once and stored.
23 October 2008 at 08:36 PM by John Rankin - add subequations reference example
Changed line 34 from:
{$# f = g$}
to:
{$subbie, f = g$}

References to aligned subequations are supported and it correctly counts the preceding aligned equation numbers: Eq(subbie) shows this.
12 October 2008 at 12:44 PM by John Rankin - add subequations example
Changed lines 1-2 from:
The [[LatexEquations |Latex Equations]] page illustrates inline mathematics and simple equations. This page illustrates how to group and align several equations. It uses the existiing [={$...$}=] equation markup.
to:
The [[LatexEquations |Latex Equations]] page illustrates inline mathematics and simple equations. This page illustrates how to group and align several equations. It uses the existing [={$...$}=] equation markup.

As of Wikipublisher version 2.2.7, the markup lets authors define a subequation set. Note that in the web page view, numbering restarts at 1:

{$# f = g$}
{$f' = g'$}
{$\mathcal{L}f = \mathcal{L}g$}
01 February 2008 at 03:15 PM by John Rankin - highlights are fragile
Changed line 3 from:
{*This page broke under PmWiki 2.2.0 beta 65 -- now fixed.*} In 2.2, the rule for evaluating character entities moved nearer the start of the evaluation sequence. This caused equation markup to evaluate before equation array markup, instead of after, so the arrays were interpreted as individual equations.
to:
{*This page broke under PmWiki 2.2.0 beta 65; now fixed.*} In 2.2, the rule for evaluating character entities moved nearer the start of the evaluation sequence. This caused equation markup to evaluate before equation array markup, instead of after, so the arrays were interpreted as individual equations.
01 February 2008 at 03:14 PM by John Rankin - avoid link inside highlight
Changed line 3 from:
{*This page broke under PmWiki 2.2.0 beta 65 -- now fixed.*} In 2.2, the rule for evaluating character entities moved nearer the start of the evaluation sequence. This caused equation markup to evaluate before equation array markup, instead of after, so the arrays were interpreted as individual equations.
to:
{*This page broke under `PmWiki 2.2.0 beta 65 -- now fixed.*} In 2.2, the rule for evaluating character entities moved nearer the start of the evaluation sequence. This caused equation markup to evaluate before equation array markup, instead of after, so the arrays were interpreted as individual equations.
01 February 2008 at 03:02 PM by John Rankin - record pmwiki 2.2 fix
Changed line 3 from:
to:
{*This page broke under PmWiki 2.2.0 beta 65 -- now fixed.*} In 2.2, the rule for evaluating character entities moved nearer the start of the evaluation sequence. This caused equation markup to evaluate before equation array markup, instead of after, so the arrays were interpreted as individual equations.
01 February 2008 at 09:58 AM by John Rankin - breaks under pmwiki 2.2

06 November 2007 at 01:02 PM by John Rankin - link to Avoid eqnarray!
Changed line 30 from:
In line with good Latex practice, the recipe wraps the equations in the ''align'' environment, rather than using ''eqnarray''.
to:
In line with [[recommended Latex practice -> http://www.tug.org/pracjourn/2006-4/madsen/]], the recipe wraps the equations in the ''align'' environment, rather than using ''eqnarray''.
05 November 2007 at 01:01 PM by John Rankin - illustrate aligned equations
Changed lines 1-2 from:
The [[LatexEquations |Latex Equations]] page illustrates inline mathematics and simple equations. This page illustrates how to group and align several equations.
to:
The [[LatexEquations |Latex Equations]] page illustrates inline mathematics and simple equations. This page illustrates how to group and align several equations. It uses the existiing [={$...$}=] equation markup.

The simplest unnumbered form just aligns to the relation symbol:

{$* (a + b)^3 = (a + b) (a + b)^2$}
{$= (a + b) (a^2 + 2ab + b^2)$}
{$= a^3 + 3a^2b + 3ab^2 + b^3$}
05 November 2007 at 12:17 PM by John Rankin - illustrate aligned equations
The [[LatexEquations |Latex Equations]] page illustrates inline mathematics and simple equations. This page illustrates how to group and align several equations.

Here is a group of aligned equations, with numbering (automatically set flush right):

{$1+1 = 2$}
{$4 = 2 \cdot 2 \nonumber$}
{$a + b \le c$}
{$d + e > f$}
{$\sin x = x -\frac{x^{3}}{3!} + \frac{x^{5}}{5!} - \frac{x^{7}}{7!} +{} \nonumber$}
{${}+ \frac{x^{9}}{9!} - {}\cdots$}

Here is an unnumbered group of aligned equations (automatically centred):

{$* x^2 + y^2 = 1$}
{$x = \sqrt{1-y^2}$}

Here is an unnumbered group of aligned equations, with 2 alignment positions, plus an intermediate line of text:

{$* x &= y && \text{by hypothesis}$}
{$x' &= y' && \text{by extension}$}
{$\intertext{And finally:}$}
{$x + x' &= y + y' && \text{by Axiom 1}$}

In line with good Latex practice, the recipe wraps the equations in the ''align'' environment, rather than using ''eqnarray''.