align Umgebung Formel splitten

Antwort erstellen


Diese Frage dient dazu, das automatisierte Versenden von Formularen durch Spam-Bots zu verhindern.
Smilies
:D :) :( :o :shock: :? 8) :lol: :-x :P :oops: :cry: :evil: :twisted: :roll: :wink: :!: :?: :idea: :arrow: :| :mrgreen:

BBCode ist eingeschaltet
[img] ist eingeschaltet
[flash] ist ausgeschaltet
[url] ist eingeschaltet
Smilies sind eingeschaltet

Die letzten Beiträge des Themas

Ich habe die Datenschutzerklärung gelesen und bin damit einverstanden.

   

Wenn du eine Datei oder mehrere Dateien anhängen möchtest, gib die Details unten ein.

Ansicht erweitern Die letzten Beiträge des Themas: align Umgebung Formel splitten

von Noah D. » Mo 4. Mai 2015, 17:24

ok, sorry, hier eine kuerzere Version.
\documentclass[12pt,oneside]{scrreprt}
\usepackage[latin1]{inputenc}
\usepackage[ngerman,english]{babel}
\usepackage[left=6cm,right=2cm, top=3cm, bottom=3cm]{geometry} %layout
\usepackage[fleqn]{amsmath} %Math
\usepackage{amsthm}

\usepackage{showframe}


\begin{document}
\begin{align}
E(r) & =(X^\top V^{-1} X)^{-1}(X^\top V^{-1} y)\notag\\
& = \begin{bmatrix}
\begin{pmatrix}
I&P^\top
\end{pmatrix}
\begin{pmatrix}
\tau \Sigma& 0\\ 0 & \Omega
\end{pmatrix}^{-1}
\begin{pmatrix}
I\\
P
\end{pmatrix}
\end{bmatrix}^{-1} \notag
\begin{bmatrix}
\begin{pmatrix}
I&P^\top
\end{pmatrix}
\begin{pmatrix}
\tau \Sigma& 0\\ 0 & \Omega
\end{pmatrix}^{-1}
\begin{pmatrix}
\Pi\\
Q
\end{pmatrix}
\end{bmatrix}\\
\end{align}
\end{document}
Danke fuer den Tip, aber sieht nicht wirklich schoen aus oder? Habe versucht in einem Latex Buch eine Loesung zu finden, aber leider vergeblich...

von Besserwisser » Mo 4. Mai 2015, 13:25

Minimal war das aber nicht:
\usepackage[utf8]{inputenc}% Der Online-Editor braucht utf8.
\usepackage[ngerman,english]{babel}
\usepackage[left=6cm,right=2cm, top=3cm, bottom=3cm]{geometry} %layout
\usepackage[fleqn]{amsmath} %Math

\usepackage{showframe}

\begin{document}
\begin{align}
E(r) & =(X^\top V^{-1} X)^{-1}(X^\top V^{-1} y)\notag\\
& = \begin{bmatrix}
\begin{pmatrix}
I&P^\top
\end{pmatrix}
\begin{pmatrix}
\tau \Sigma& 0\\ 0 & \Omega
\end{pmatrix}^{-1}
\begin{pmatrix}
I\\
P
\end{pmatrix}
\end{bmatrix}^{-1} \notag \\
& \quad\cdot
\begin{bmatrix}
\begin{pmatrix}
I&P^\top
\end{pmatrix}
\begin{pmatrix}
\tau \Sigma& 0\\ 0 & \Omega
\end{pmatrix}^{-1}
\begin{pmatrix}
\Pi\\
Q
\end{pmatrix}
\end{bmatrix}\\
& = \begin{bmatrix}
\begin{pmatrix}
(\tau \Sigma)^{-1}&P^\top \Omega^{-1}
\end{pmatrix}
\begin{pmatrix}
I\\
P
\end{pmatrix}
\end{bmatrix}^{-1}
\begin{bmatrix}
\begin{pmatrix}
(\tau \Sigma)^{-1}&P^\top \Omega^{-1}
\end{pmatrix}
\begin{pmatrix}
\Pi\\
Q
\end{pmatrix}
\end{bmatrix} \notag \\
& = \begin{bmatrix}
\begin{pmatrix}
(\tau \Sigma)^{-1} + P^\top \Omega^{-1} P
\end{pmatrix}
\end{bmatrix}^{-1}
\begin{bmatrix}
\begin{pmatrix}
(\tau \Sigma)^{-1} \Pi + P^\top \Omega^{-1} Q
\end{pmatrix}
\end{bmatrix}
\end{align}
\end{document}

align Umgebung Formel splitten

von Noah D. » Mo 4. Mai 2015, 12:59

Hi Leute,
ich habe folgendes Problem. Leider haben alle meine Versuche zu sehr seltsamen Ergebnissen gefuehrt.

Anbei mein M-Beispiel:
\documentclass[12pt,oneside]{scrreprt}
\usepackage[latin1]{inputenc}
\usepackage[ngerman,english]{babel}
\usepackage[left=6cm,right=2cm, top=3cm, bottom=3cm]{geometry} %layout
\usepackage[fleqn]{amsmath} %Math
\usepackage{amsthm}

\usepackage{amstext}
\usepackage{amsfonts}
\usepackage{mathrsfs}
\usepackage{amssymb}
\usepackage{acronym} 
\usepackage[norndcorners,customcolors,nofill]{hf-tikz}
\hfsetbordercolor{gray}
\usepackage{kbordermatrix}

\usepackage{etoolbox}
\let\bbordermatrix\bordermatrix
\patchcmd{\bbordermatrix}{8.75}{4.75}{}{}
\patchcmd{\bbordermatrix}{\left(}{\left[}{}{}
\patchcmd{\bbordermatrix}{\right)}{\right]}{}{}
\usepackage{showframe}


\begin{document}
\begin{align}
E(r) & =(X^\top V^{-1} X)^{-1}(X^\top V^{-1} y)\notag\\
& = \begin{bmatrix}
\begin{pmatrix}
I&P^\top
\end{pmatrix}
\begin{pmatrix}
\tau \Sigma& 0\\ 0 & \Omega
\end{pmatrix}^{-1}
\begin{pmatrix}
I\\
P
\end{pmatrix}
\end{bmatrix}^{-1} \notag
\begin{bmatrix}
\begin{pmatrix}
I&P^\top
\end{pmatrix}
\begin{pmatrix}
\tau \Sigma& 0\\ 0 & \Omega
\end{pmatrix}^{-1}
\begin{pmatrix}
\Pi\\
Q
\end{pmatrix}
\end{bmatrix}\\
& = \begin{bmatrix}
\begin{pmatrix}
(\tau \Sigma)^{-1}&P^\top \Omega^{-1}
\end{pmatrix}
\begin{pmatrix}
I\\
P
\end{pmatrix}
\end{bmatrix}^{-1} 
\begin{bmatrix}
\begin{pmatrix}
(\tau \Sigma)^{-1}&P^\top \Omega^{-1}
\end{pmatrix}
\begin{pmatrix}
\Pi\\
Q
\end{pmatrix}
\end{bmatrix} \notag \\
& = \begin{bmatrix}
\begin{pmatrix}
(\tau \Sigma)^{-1} + P^\top \Omega^{-1} P
\end{pmatrix}
\end{bmatrix}^{-1}
\begin{bmatrix}
\begin{pmatrix}
(\tau \Sigma)^{-1} \Pi + P^\top \Omega^{-1} Q
\end{pmatrix}
\end{bmatrix}
\end{align}
\end{document}
Wie ihr sieht, liegt die zweite Zeile ausserhalb des definierten Bereiches.
Wie kann ich am besten die zweite Zeile geschickt darstellen? Ich dachte an etwa = [...]
x [...]
=....

Kann jemand mir helfen?

Beste Gruesse,

Noah

Nach oben