I don't know what to search, so I'm adding a picture of what I want to do. Basically, I want to write multiple set constraints on the right hand side (see below). How do I accomplish this in latex?

enter image description here

  • 2
    See the documentation of mathtools, §3.6 Paired delimiters. – Bernard Jul 17 at 16:42

Something of this type?

U=\left\{ (u,v) \;\middle\vert\;
   u, v\colon \mathbb{R}^d\to[0,\infty) \\ 
   \text{bla bla bla}\\
  • 2
    +1. I've taken the liberty of streamlining your code slightly, e.g., by using \;\middle\vert\;. Feel free to revert. – Mico Jul 17 at 17:32
  • 2
    @Mico You are ALWAYS welcome into my heart. Very best user can take the liberty to edit my code. Grazieeeeeeeeeeeeeeeeeeeeeeeeeeeee. – Sebastiano Jul 17 at 18:43
  • can you explain the {@{}l@{}} symbols? – yoshi Jul 17 at 21:42
  • 1
    @yoshi the concept is not simple. It only serves to correctly align the array to have the three relationships aligned to the left: see for example this link tex.stackexchange.com/questions/207457/…. See also the another answer of great user Bernard. – Sebastiano Jul 17 at 21:47

Another solution, base on \DeclarePairedDelimiterX from mathtools and``xparse` for a natural syntax (I mean, close to what one writes by hand):



{\IfNoValueTF{#2}{#1}{\nonscript\,#1\nonscript\;\delimsize\vert\allowbreak \nonscript\:\mathopen{}#2\nonscript\,}}


\[ \Set*{(u, v) | \begin{array}{@{}l@{}}
        u, v: \mathbb{R}^d ―――→ [0,∞)\\[-0.5ex]
        \text{upper semi-continuous} \\[-0.5ex]
        u + v < 7
                        \end{array}} \]%


enter image description here

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.