0

I have the following code:

\documentclass[twoside,leqno]{article}

\usepackage[fleqn]{mathtools}

\setlength{\mathindent}{14bp}


\begin{document}


\begin{equation}\label{14}
\left\{

    \begin{aligned}
        \begin{split}
            T(E_1 \Fcap  E_2) &= T(E_1) \Fcap  T(E_2) \\
            T(E_1 \Fcup  E_2) &= T(E_1) \Fcup  T(E_2)  
        \end{split}\\
        \begin{split}
            H(E_1 \Fcap  E_2)&=\left[ T(E_1) \Fcap  T(E_2) \right] \Fcup  \left[-(E_1 \Fcap E_2)\right] \\
                             &=\left[ T(E_1) \Fcap  T(E_2) \right] \Fcup  \left[-(E_1) \Fcup T(-E_2)\right] \\
                             &=\left[ T(E_1) \Fcap  T(E_2) \right] \Fcup  T(-E_1) \Fcup  T(-E_2) 
        \end{split}\\
        \begin{split}
            H(E_1 \Fcup  E_2) &= T(E_1\Fcup E_2) \Fcup  \left[T(-E_1\Fcup E_2) \right]  \\
                              &= T(E_1\Fcup E_2) \Fcup  \left[T(-E_1 \Fcap -E_2) \right]  \\
                              &= T(E_1)\Fcup T(E_2) \Fcup  \left[T(-E_1) \Fcap  T(-E_2) \right] 
        \end{split}
    \end{aligned}
  \right.

\end{equation}

\end{document}

The result is the following:

I would like to have the first two lines left-aligned. I unsuccessfully tried several solutions. Can somebody help me? displayed equation with first two lines aligned on the  right

6
  • Welcome to TeX.SX! A tip: If you indent lines by 4 spaces, they'll be marked as a code sample. You can also highlight the code and click the "code" button (with "{}" on it).
    – dexteritas
    Commented Jun 25, 2021 at 16:21
  • Your code is not compilable now, possibly missing packages.
    – dexteritas
    Commented Jun 25, 2021 at 16:25
  • 1
    Off topic: never leave a blank line within the scope of any math expression. It will result in errors being detected. Commented Jun 25, 2021 at 16:30
  • Why not combine the first split with the second split? Also your code is not compilable. What did you use for Fcap and Fcup?
    – SolidMark
    Commented Jun 25, 2021 at 16:34
  • How are \Fcap and \Fcup defined?
    – Bernard
    Commented Jun 25, 2021 at 16:49

1 Answer 1

1
  1. No blank line inside equation
  2. No split
  3. Remove the redundant (and harmful) \left and \right.

I also added some vertical space to better distinguish the equation groups.

I provided dummy definitions for \Fcup and \Fcap just to make the code compilable.

\documentclass[twoside,leqno]{article}

\usepackage[fleqn]{mathtools}

\setlength{\mathindent}{14bp}
\newcommand{\Fcap}{\cap}
\newcommand{\Fcup}{\cup}

\begin{document}

\begin{equation}\label{14}
\left\{
  \begin{aligned}
    T(E_1 \Fcap  E_2) &= T(E_1) \Fcap  T(E_2) \\[1ex]
    T(E_1 \Fcup  E_2) &= T(E_1) \Fcup  T(E_2) \\[1ex]
    H(E_1 \Fcap  E_2) &=[ T(E_1) \Fcap  T(E_2) ] \Fcup  [-(E_1 \Fcap E_2)] \\
                      &=[ T(E_1) \Fcap  T(E_2) ] \Fcup  [-(E_1) \Fcup T(-E_2)] \\
                      &=[ T(E_1) \Fcap  T(E_2) ] \Fcup  T(-E_1) \Fcup  T(-E_2) \\[1ex]
    H(E_1 \Fcup  E_2) &= T(E_1\Fcup E_2) \Fcup  [T(-E_1\Fcup E_2) ]  \\
                      &= T(E_1\Fcup E_2) \Fcup  [T(-E_1 \Fcap -E_2) ]  \\
                      &= T(E_1)\Fcup T(E_2) \Fcup  [T(-E_1) \Fcap  T(-E_2) ] 
  \end{aligned}
\right.
\end{equation}

\end{document}

enter image description here

From the comments, I guess that you want a better definition for \Fcup and \Fcap:

\documentclass[twoside,leqno]{article}

\usepackage[fleqn]{mathtools}

\setlength{\mathindent}{14bp}
\newcommand{\Fcap}{\mathbin{{}_\cap\kern-\scriptspace}}
\newcommand{\Fcup}{\mathbin{{}^\cup\kern-\scriptspace}}

\begin{document}

\begin{equation}\label{14}
\left\{
  \begin{aligned}
    T(E_1 \Fcap  E_2) &= T(E_1) \Fcap  T(E_2) \\[1ex]
    T(E_1 \Fcup  E_2) &= T(E_1) \Fcup  T(E_2) \\[1ex]
    H(E_1 \Fcap  E_2) &=[ T(E_1) \Fcap  T(E_2) ] \Fcup  [-(E_1 \Fcap E_2)] \\
                      &=[ T(E_1) \Fcap  T(E_2) ] \Fcup  [-(E_1) \Fcup T(-E_2)] \\
                      &=[ T(E_1) \Fcap  T(E_2) ] \Fcup  T(-E_1) \Fcup  T(-E_2) \\[1ex]
    H(E_1 \Fcup  E_2) &= T(E_1\Fcup E_2) \Fcup  [T(-E_1\Fcup E_2) ]  \\
                      &= T(E_1\Fcup E_2) \Fcup  [T(-E_1 \Fcap -E_2) ]  \\
                      &= T(E_1)\Fcup T(E_2) \Fcup  [T(-E_1) \Fcap  T(-E_2) ] 
  \end{aligned}
\right.
\end{equation}

\end{document}

enter image description here

3
  • Almost gave a solution yet you did it. Ah!
    – SolidMark
    Commented Jun 25, 2021 at 16:40
  • I see that the solution was simpler than I thought it was. I forgot in my post to include the definition of Fcap and Fcup (namely: \newcommand*{\Fcap}{\ensuremath{{_\cap}}} and \newcommand*{\Fcup}{\ensuremath{{^\cup}}}) but your idea to define them as \cap and \cup respectively allowed me to copy and paste your code without changes. As a beginner, I learned a lot.
    – lazerius
    Commented Jun 25, 2021 at 20:37
  • @lazerius I'm not sure what would be the meaning of those symbols; maybe you should prefer \newcommand{\Fcap}{\mathbin{{}_{\cap}\kern-\scriptspace}} and similarly for \Fcup. I see no reason for \ensuremath, as these symbols are math.
    – egreg
    Commented Jun 25, 2021 at 20:40

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .