
Ich habe folgende Matrix:
\documentclass{article}
\usepackage{amsmath}
\begin{document}
$\begin{bmatrix}
\begin{vmatrix}
168 & 368 \\
368 & 1026
\end{vmatrix} & \begin{vmatrix}
26 & 368\\
70 & 1026
\end{vmatrix} & \begin{vmatrix}
26 & 168\\
70 & 368
\end{vmatrix}\\
\begin{vmatrix}
26 & 70\\
368 & 1026
\end{vmatrix} & \begin{vmatrix}
5 & 70\\
70 & 1026
\end{vmatrix} & \begin{vmatrix}
5 & 26\\
70 & 368
\end{vmatrix}\\
\begin{vmatrix}
26 & 70\\
168 & 368
\end{vmatrix} & \begin{vmatrix}
5 & 70\\
26 & 368
\end{vmatrix} & \begin{vmatrix}
5 & 26\\
26 & 168
\end{vmatrix}
\end{bmatrix} =
\begin{bmatrix}
36944 & -916 & -2192 \\
\end{bmatrix}
$
\end{document}
Jede Zeile enthält eine 2x2-Determinante. Das Problem ist, dass sich die vertikalen Linien der benachbarten Determinanten berühren, wodurch der Eindruck entsteht, dass es sich um eine 3x1-Matrix mit drei 6x2-Determinanten handelt. Ich habe ein wenig mit dem Hinzufügen [3pt]
nach dem Trennzeichen \\ experimentiert, aber ohne Erfolg. Für jede Hilfe bin ich dankbar!
Übrigens rufe ich LaTeX aus einem Markdown-Dokument auf, was bedeutet, dass die Verwendung zusätzlicher/alternativer Pakete höchst unerwünscht ist (obwohl nach einem manuellen Eingriff während der Textkonvertierung möglich). Vielen Dank im Voraus!
Antwort1
Das []
optionale Argument fügt nicht so viel Speicherplatz hinzu, sondern gibt eine Mindesttiefe an, aber Ihre Matrizen sind bereits tief, sodass Sie einen größeren Wert benötigen.
\end{vmatrix}\\[15pt]
\begin{vmatrix}
sieht besser aus
Antwort2
Die Werte \vskip
in der folgenden Lösung sind für eine bessere Wirkung zu groß, aber die Idee sollte klar sein.
\documentclass{article}
\usepackage{amsmath}
\begin{document}
$\begin{bmatrix}
\begin{vmatrix}
168 & 368 \\
368 & 1026
\end{vmatrix} & \begin{vmatrix}
26 & 368\\
70 & 1026
\end{vmatrix} & \begin{vmatrix}
26 & 168\\
70 & 368
\end{vmatrix}\\\noalign{\vskip12pt}
\begin{vmatrix}
26 & 70\\
368 & 1026
\end{vmatrix} & \begin{vmatrix}
5 & 70\\
70 & 1026
\end{vmatrix} & \begin{vmatrix}
5 & 26\\
70 & 368
\end{vmatrix}\\ \noalign{\vskip18pt}
\begin{vmatrix}
26 & 70\\
168 & 368
\end{vmatrix} & \begin{vmatrix}
5 & 70\\
26 & 368
\end{vmatrix} & \begin{vmatrix}
5 & 26\\
26 & 168
\end{vmatrix}
\end{bmatrix} =
\begin{bmatrix}
36944 & -916 & -2192 \\
\end{bmatrix}
$
\end{document}
Antwort3
Sie können die Dehnung von bmatrix
und/oder anpassen vmatrix
, möglicherweise über eine ganz neue Umgebung:
\documentclass{article}
\usepackage{amsmath}% http://ctan.org/pkg/amsmath
\newenvironment{BMatrix}[1][1]
{\begingroup\renewcommand{\arraystretch}{#1}
\begin{bmatrix}}
{\end{bmatrix}\endgroup}
\newenvironment{VMatrix}[1][1]
{\begingroup\renewcommand{\arraystretch}{#1}
\begin{vmatrix}}
{\end{vmatrix}\endgroup}
\begin{document}
\[
\begin{BMatrix}[2]
\begin{VMatrix}
168 & 368 \\ 368 & 1026
\end{VMatrix} & \begin{VMatrix}
26 & 368 \\ 70 & 1026
\end{VMatrix} & \begin{VMatrix}
26 & 168 \\ 70 & 368
\end{VMatrix} \\
\begin{VMatrix}
26 & 70 \\ 368 & 1026
\end{VMatrix} & \begin{VMatrix}
5 & 70 \\ 70 & 1026
\end{VMatrix} & \begin{VMatrix}
5 & 26 \\ 70 & 368
\end{VMatrix} \\
\begin{VMatrix}
26 & 70 \\ 168 & 368
\end{VMatrix} & \begin{VMatrix}
5 & 70 \\ 26 & 368
\end{VMatrix} & \begin{VMatrix}
5 & 26 \\ 26 & 168
\end{VMatrix}
\end{BMatrix} =
\begin{bmatrix}
36944 & -916 & -2192
\end{bmatrix}
\]
\end{document}
Sowohl BMatrix
als auch VMatrix
nehmen ein optionales Argument, das das \arraystretch
verwendete angibt (Standard ist 1
). Das äußere BMatrix
wird mit einem \arraystretch
von festgelegt 2
.