[Tex/LaTex] How to typeset a set with multiple conditions

amsmathmath-mode

I would like to learn as how to typeset for such a expression in latex. enter image description here

Thank you

Best Answer

Assuming amsmath here is one method (only the brace part, the rest is up to you)

I agree with Andrew, we don't really like questions of the sort: "please make this for me", there should some effort.

Here I've just given the foundation (memoir is irrelevant, just my default class)

\documentclass[a4paper]{memoir}
\usepackage{amsmath}
\begin{document}
\begin{equation*}
  \left\{
     (D_1,D_2,D_0): 
     \begin{aligned}
       & A \\ & B \\ & C \\ & D  \\ & E \\ & F
     \end{aligned}
  \right\}
\end{equation*}
\end{document}

Addition: If you have several set definitions in your doc, it might be an idea to make a syntax for it. This is an adaption of an example in the mathtools manual:

\documentclass[a4paper]{memoir}
\usepackage{amsmath,mathtools}
\providecommand\given{}
\newcommand\SetSymbol[1][]{:}
% see the mathtools manual for a definition of \SetSymbol that works
% with |
\DeclarePairedDelimiterX\Set[1]\{\}{
  \renewcommand\given{\SetSymbol[\delimsize]}
  #1
}
\begin{document}
\begin{equation*}
  \Set*{
     (D_1,D_2,D_0)
     \given
     \begin{aligned}
       & A \\ & B \\ & C \\ & D  \\ & E \\ & F
     \end{aligned}
  }
\end{equation*}
\end{document}
Related Question