Hello list,
can somebody tell me the difference between the aligned and the split environment? I couldn't discover it.
I read that split doesn't allow more than one horizontal alignment, but this isn't true (see the test below).
So what's the reason that split exists?


Thanks Uwe

testfile:
--------------------------------------------------------------
%% LyX 1.3 created this file.  For more info, see http://www.lyx.org/.
%% Do not edit unless you really know what you are doing.
\documentclass[12pt,a4paper,english,fleqn]{article}
\usepackage[T1]{fontenc}
\usepackage[latin1]{inputenc}
\pagestyle{empty}
\setcounter{secnumdepth}{4}
\setcounter{tocdepth}{4}
\setlength\parskip{\medskipamount}
\setlength\parindent{0pt}
\usepackage{amsmath}
\usepackage{amssymb}

\makeatletter
\usepackage[ngerman]{babel}
\makeatother
\begin{document}
split:\[
\begin{split}2x+3 & =7 & 2x+3-3 & =7-3\\
2x & =4 & \frac{2x}{2} & =\frac{4}{2}\\
2x & =2\end{split}
\]


aligned:\[ \begin{aligned}2x+3 & =7 & 2x+3-3 & =7-3\\ 2x & =4 & \frac{2x}{2} & =\frac{4}{2}\\ 2x & =2\end{aligned} \]

\end{document}

----------------------------------------------------------------------

Reply via email to