Math & ScienceAlign equation

Information and discussion about LaTeX's math and science related features (e.g. formulas, graphs).
Post Reply
Isus
Posts: 1
Joined: Tue Aug 24, 2021 3:28 pm

Align equation

Post by Isus »

Hello.

Is there a way to make this easier and nicer to read? \cup and last \cap should be in the middle, nested parentheses would be nice but couldn't get them to work with:
\usepackage{nath}
\delimgrowth=1


Also i would use && \cup && but it goes out the margins.

2021-08-24_15-38.png
2021-08-24_15-38.png (36.55 KiB) Viewed 3929 times

Code: Select all

\documentclass[a4paper,12pt]{article}

\usepackage{outlines,geometry,mathtools,amssymb,latexsym,graphicx,multicol,tikz}
\mathtoolsset{showonlyrefs}
\geometry{footskip=60pt, textwidth=500pt}

\begin{document}
\begin{align}
((A\Delta B)\backslash(A\cup B))
&& \cup &
((A\cup B)\backslash(A\Delta B))
\\
(((A\cap B^c)\cup (B\cap A^c))\cap A^c \cap B^c)
&& \cup &
((A\cup B)\cap ((A\cap B^c)\cup (B\cap A^c))^c)
\\
((B\cup (A\cap B^c))\cap(A^c\cup (A\cap B^c))\cap A^c\cap B^c)
&& \cup &
((A\cup B) \cap (A^c\cup B)\cap (A\cup B^c))
\\
((A\cup B)\cap (A^c \cup B^c)\cap A^c\cap B^c)
&& \cup &
(((A\cap (A^c\cup B))\cup (B\cap(A^c\cup B)))\cap (A\cup B^c))
\\
((A\cup B)\cap A^c \cap B^c)
&& \cup &
((\varnothing \cup B)\cap (A\cup B^c))
\\
(A^c\cap B\cap B^c)
&& \cup &
(B\cap (A\cup B^c))
\\
A^c\cap \varnothing
&& \cup &
((B\cap A)\cup(B\cap B^c))
\\
\varnothing
&& \cup &
(A\cap B)
\\
A && \cap & B
\end{align}
\end{document}

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

Post Reply