Seite 1 von 1

Mehrzeilige Formeln und Ausrichtung

Verfasst: Mo 23. Sep 2013, 13:11
von Avernus
Hallo
ich habe eine Formel, welche über mehrere Zeilen geht.

Matrix mal Vektor + Summe Matrix mal Vektor + Summe Matrix mal Vektor=Vektor

Ich breche die Zeile Momentan in der equation und dor in der Splitumgebung um. Das funktioniert, sieht aber nicht ganz so dicke aus. Ich hätte gerne das +Summe Matrix mal Vektor jeweils untereinander stehen. Also so das genau die + Zeichen untereinander sind.

Hat jemand einen Vorschlag wie man das macht?

Vielen Dank[/b]

Verfasst: Mo 23. Sep 2013, 13:35
von esdd
Bitte mache ein entsprechendes Minimalbeispiel.

Verfasst: Mo 23. Sep 2013, 13:44
von Avernus
In Ordnung... hier ist das Beispiel aus meinem Code.
\begin{equation}  \begin{split} 
\begin{pmatrix}
a_P^{uu} & 0 & a_P^{up} \\
0 & a_P^{vv} & a_P^{vp} \\
a_P^{pu} & a_P^{pv} & a_P^{pp} 
\end{pmatrix} \cdot  \begin{pmatrix}
	u_P \\
	v_P \\
	p_P
\end{pmatrix} + 
\sum_{F=N(P),S(P)} \begin{pmatrix}
a_F^{uu} & 0 & 0\\
0 & a_F^{vv} & a_F^{vp} \\
0 & a_F^{pv} & a_F^{pp} 
\end{pmatrix} \cdot  \begin{pmatrix}
	u_F \\
	v_F \\
	p_F
\end{pmatrix} 
\\
+ \sum_{F=O(P),W(P)} \begin{pmatrix}
a_F^{uu} & 0 & a_F^{up} \\
0 & a_F^{vv} & 0 \\
a_F^{pu} & 0 & a_F^{pp} 
\end{pmatrix} \cdot  \begin{pmatrix}
	u_F \\
	v_F \\
	p_F
\end{pmatrix}=\begin{pmatrix}
	b_P^u \\
	b_P^v \\
	b_P^p
\end{pmatrix}
\end{split} 
\end{equation}

Verfasst: Mo 23. Sep 2013, 13:57
von esdd
Setze vor die Stellen, die aneinander ausgerichtet werden sollen, ein &:
\documentclass{scrartcl}
\usepackage{amsmath}
\begin{document}
\begin{equation}  \begin{split} 
\begin{pmatrix} 
 a_P^{uu} & 0 & a_P^{up} \\ 
 0 & a_P^{vv} & a_P^{vp} \\ 
 a_P^{pu} & a_P^{pv} & a_P^{pp} 
\end{pmatrix} \cdot  \begin{pmatrix} 
    u_P \\ 
    v_P \\ 
    p_P 
\end{pmatrix} &+ 
\sum_{F=N(P),S(P)} \begin{pmatrix} 
 a_F^{uu} & 0 & 0\\ 
 0 & a_F^{vv} & a_F^{vp} \\ 
 0 & a_F^{pv} & a_F^{pp} 
\end{pmatrix} \cdot  \begin{pmatrix} 
    u_F \\ 
    v_F \\ 
    p_F 
\end{pmatrix} 
\\ 
 &+ \sum_{F=O(P),W(P)} \begin{pmatrix} 
 a_F^{uu} & 0 & a_F^{up} \\ 
 0 & a_F^{vv} & 0 \\ 
 a_F^{pu} & 0 & a_F^{pp} 
\end{pmatrix} \cdot  \begin{pmatrix} 
    u_F \\ 
    v_F \\ 
    p_F 
\end{pmatrix}=\begin{pmatrix} 
    b_P^u \\ 
    b_P^v \\ 
    b_P^p 
\end{pmatrix} 
\end{split} 
\end{equation}
\end{document}
Gruß
Elke

Verfasst: Mo 23. Sep 2013, 13:59
von Avernus
Danke Elke