LaTeX forum ⇒ Math & ScienceAlign equation

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

Align equation

Postby Isus » Tue Aug 24, 2021 3:42 pm

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 2249 times



\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 2021:

LaTeXguide.org • LaTeX-Cookbook.net
LaTeX Beginner's Guide LaTeX Cookbook

Return to “Math & Science”

Who is online

Users browsing this forum: No registered users and 3 guests