summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/support/latexindent/success/environments.tex
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/doc/support/latexindent/success/environments.tex')
-rw-r--r--Master/texmf-dist/doc/support/latexindent/success/environments.tex38
1 files changed, 38 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/support/latexindent/success/environments.tex b/Master/texmf-dist/doc/support/latexindent/success/environments.tex
new file mode 100644
index 00000000000..b33d9982896
--- /dev/null
+++ b/Master/texmf-dist/doc/support/latexindent/success/environments.tex
@@ -0,0 +1,38 @@
+% arara: indent: { cruft: /home/cmhughes/Desktop/tmp/, overwrite: on, trace: yes, silent: yes, onlyDefault: no}
+some
+other
+text
+\begin{enumerate}
+ \item $3x^3y(-4x^3+y) = -12x^6y+3x^3y^2$
+ \item $3x^3+y(-4x^3+y) = 3x^3-4x^3y+y^2$
+ \item \begin{align*}
+ {\color{red}(3x^3+y)}(-4x^3+y) & = {\color{red}(3x^3+y)}(-4x^3)+{\color{red}(3x^3+y)}(y) \\
+ & = -12x^6-4x^3y+3x^3y+y^2 \\
+ & = -12x^6-x^3y+y^2
+ \end{align*}
+\end{enumerate}
+\begin{enumerate}
+ \item $3x^3y(-4x^3+y) = -12x^6y+3x^3y^2$
+ \item $3x^3+y(-4x^3+y) = 3x^3-4x^3y+y^2$
+ \item
+ \begin{align*}
+ {\color{red}(3x^3+y)}(-4x^3+y) & = {\color{red}(3x^3+y)}(-4x^3)+{\color{red}(3x^3+y)}(y) \\
+ & = -12x^6-4x^3y+3x^3y+y^2 \\
+ & = -12x^6-x^3y+y^2
+ \end{align*}
+\end{enumerate}
+
+\begin{something}
+ \begin{else}
+ again
+ \end{else}
+\end{something}
+no
+environments
+here
+\[ x^2+ 3x\]
+other text
+\[
+ x^2+ 3x
+\]
+other text