"Matrix in Equation" richtig zu schreiben
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! :-)
Korrekte Spaltendefinition
Korrekt.
Code:
\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.
Code:
\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
:-) :-) :-) :-) :-) :-) :-) :-) :-) :-) :-) :-) :-)
Hallo Thorsten,
ich bedanke mich ganz herzlich!!
Vielen vielen vielen Dank!!!!