auctex-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

indentation problem II


From: Uwe Brauer
Subject: indentation problem II
Date: Fri, 15 Apr 2022 13:37:23 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)

Hi 

Please consider

In which I run  LaTeX-fill-environment

That seems to me also a strange result. Using an array and a pmatrix is
odd I  confess, but I received this file in that form.
Any ideas what to do?

Uwe Brauer 

\documentclass[12pt]{article}
\usepackage{a4wide}
\everymath{\displaystyle}
\usepackage{amsmath}
\begin{document}



\begin{equation}\label{Mn}
\begin{array}{rcl}
\lim_{n\rightarrow\infty} M^n &=& \lim_{n\rightarrow\infty} PJ^nP^{-1} \\
\\
&=& 
\begin{pmatrix}
1 & 1 \\
0 & \tfrac{999}{10} \\
\end{pmatrix}
\begin{pmatrix}
e^{-100t} & 0 \\
0 & e^{-\tfrac{t}{10}} \\
\end{pmatrix}
\begin{pmatrix}
1 & -\tfrac{10}{999} \\
0 & \tfrac{10}{999} \\
\end{pmatrix} \\
\\
&=& 
\begin{pmatrix}
e^{-100t} & \tfrac{10}{999}(e^{-\tfrac{t}{10}} - e^{-100t}) \\
0 & e^{-\tfrac{t}{10}} \\
\end{pmatrix}
\end{array}
\end{equation}
running  LaTeX-fill-environment 

Results in 
\begin{equation}\label{Mn}
  \begin{array}{rcl}
    \lim_{n\rightarrow\infty} M^n &=& \lim_{n\rightarrow\infty} PJ^nP^{-1} \\
    \\
                                &=& 
                                    \begin{pmatrix}
                                      1 & 1 \\
                                      0 & \tfrac{999}{10} \\
                                    \end{pmatrix}
                                    \begin{pmatrix}
                                      e^{-100t} & 0 \\
                                      0 & e^{-\tfrac{t}{10}} \\
                                    \end{pmatrix}
                                    \begin{pmatrix}
                                      1 & -\tfrac{10}{999} \\
                                      0 & \tfrac{10}{999} \\
                                    \end{pmatrix} \\
    \\
                                &=& 
                                    \begin{pmatrix}
                                      e^{-100t} & 
\tfrac{10}{999}(e^{-\tfrac{t}{10}} - e^{-100t}) \\
                                      0 & e^{-\tfrac{t}{10}} \\
                                    \end{pmatrix}
  \end{array}
\end{equation}


\end{document}

-- 
I strongly condemn Putin's war of aggression against the Ukraine.
I support to deliver weapons to Ukraine's military. 
I support the ban of Russia from SWIFT.
I support the EU membership of the Ukraine. 

Attachment: smime.p7s
Description: S/MIME cryptographic signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]