PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : "Matrix in Equation" richtig zu schreiben



nicr
06-06-2012, 16:55
Servus Alle, :-) :-)

Habe

\begin{equation}
\textbf{v}(t) = q \tau_n [m_e^{*}]^{-1} \textbf{E}
\hspace{1cm}\mbox{ou}\hspace{1cm}
[m_e^{*}]^{-1} = \left(\begin{array}{111}
\frac{1}{m_{le}^{*}} & 0 & 0\\
0 & \frac{1}{m_{te}^{*}} & 0\\
0 & 0 & \frac{1}{m_{te}^{*}}\\
\end{array}\right),
\end{equation}

geschrieben, aber der Latex mag das nicht so sehr. Ich darf es 3 Mal schreiben, aber ab dem 4. Mal, kriege ich zu viele "Error". Ich möchte genau das schreiben und weiß nicht, wie sich der Latex das wünscht. Seht Ihr was, das nicht in Ordnung ist?
Auf eine Hilfe würde ich mich recht freuen! :-)

localghost
06-06-2012, 17:13
Korrekt.

\documentclass[11pt]{article}

\begin{document}
\begin{equation}
\textbf{v}(t) = q \tau_n [m_e^{*}]^{-1} \textbf{E}
\qquad\text{ou}\qquad
[m_e^{*}]^{-1} = \left(
\begin{array}{lll} % Streiche »1«, setze »l«
\frac{1}{m_{le}^{*}} & 0 & 0\\
0 & \frac{1}{m_{te}^{*}} & 0\\
0 & 0 & \frac{1}{m_{te}^{*}}
\end{array}
\right),
\end{equation}\end{document}

Leichter.

\documentclass[11pt]{article}
\usepackage[T1]{fontenc}
\usepackage{mathtools} % lädt »amsmath«

\begin{document}
\begin{equation}
\textbf{v}(t) = q \tau_n [m_e^{*}]^{-1} \textbf{E}
\qquad\text{ou}\qquad
[m_e^{*}]^{-1} =
\begin{pmatrix}
\frac{1}{m_{le}^{*}} & 0 & 0\\
0 & \frac{1}{m_{te}^{*}} & 0\\
0 & 0 & \frac{1}{m_{te}^{*}}
\end{pmatrix}
,
\end{equation}
\end{document}


Thorsten

nicr
07-06-2012, 00:34
Hallo Thorsten,

ich bedanke mich ganz herzlich!!
Vielen vielen vielen Dank!!!!