branch: externals/auctex
commit f686fbca6d9bfb69235ac5674189888f3dbbb0a0
Author: Ikumi Keita <ik...@ikumi.que.jp>
Commit: Ikumi Keita <ik...@ikumi.que.jp>

    Add new test
    
    * tests/latex/tabular-in.tex:
    * tests/latex/tabular-out.tex:
    Add new test for indent involving nested tabular-like env.
---
 tests/latex/tabular-in.tex  | 23 +++++++++++++++++++++++
 tests/latex/tabular-out.tex | 23 +++++++++++++++++++++++
 2 files changed, 46 insertions(+)

diff --git a/tests/latex/tabular-in.tex b/tests/latex/tabular-in.tex
index faaf4057d1..4bb20156f4 100644
--- a/tests/latex/tabular-in.tex
+++ b/tests/latex/tabular-in.tex
@@ -53,6 +53,29 @@ detraxit          & no.        & Ne sea doming   & deserunt.
 \end{aligned}
 \end{equation}
 
+% Another example given by Uwe Brauer <o...@mat.ucm.es>.
+% (https://lists.gnu.org/r/auctex-devel/2022-02/msg00039.html)
+\begin{align}
+A
+& =
+\begin{bmatrix}
+a & b \\
+c & d
+\end{bmatrix}
+,\qquad
+B =
+\begin{bmatrix}
+1 \\
+0
+\end{bmatrix}
+, \\
+C & =
+\begin{bmatrix}
+b_{1} & b_{2}
+\end{bmatrix}
+,\qquad D = 0.
+\end{align}
+
 % Next table tests filling with a control symbol \& inside a cell; the
 % function `LaTeX-indent-tabular' now (March 2017) detects \&, see:
 % https://debbugs.gnu.org/cgi/bugreport.cgi?bug=26010
diff --git a/tests/latex/tabular-out.tex b/tests/latex/tabular-out.tex
index 9e4cec1a72..66de0641fa 100644
--- a/tests/latex/tabular-out.tex
+++ b/tests/latex/tabular-out.tex
@@ -53,6 +53,29 @@
   \end{aligned}
 \end{equation}
 
+% Another example given by Uwe Brauer <o...@mat.ucm.es>.
+% (https://lists.gnu.org/r/auctex-devel/2022-02/msg00039.html)
+\begin{align}
+  A
+  & =
+    \begin{bmatrix}
+      a & b \\
+      c & d
+    \end{bmatrix}
+    ,\qquad
+    B =
+    \begin{bmatrix}
+      1 \\
+      0
+    \end{bmatrix}
+    , \\
+  C & =
+      \begin{bmatrix}
+        b_{1} & b_{2}
+      \end{bmatrix}
+      ,\qquad D = 0.
+\end{align}
+
 % Next table tests filling with a control symbol \& inside a cell; the
 % function `LaTeX-indent-tabular' now (March 2017) detects \&, see:
 % https://debbugs.gnu.org/cgi/bugreport.cgi?bug=26010


_______________________________________________
auctex-diffs mailing list
auctex-di...@gnu.org
https://lists.gnu.org/mailman/listinfo/auctex-diffs

Reply via email to