I need to represent formulas similar to this:

target formula

I have tried to get this with Lyx on Ubuntu but struggled to make "non closing" single brackets.

Do you know either a proper way to code this in LaTeX?

2 Answers 2

\left\{ ... \left| ... \right. ... \right.

Use the dot for a non existing delimiter

  • Thanks, exactly the tips I was looking for :)
    – FloT
    Jan 10, 2019 at 12:57

You can use an environment of the cases family. Here's a suggestion:



    \[ (P)\begin{dcases}
      \max z = 8x_1 + 2x_2 \\
        \text{s.\,c. }\begin{array}{V{2}c}
          x_5 \le 1 \\
        x_2 \le 5 \\
        x_1 + x_2 \le 8 \\
        x_1, x_2 \ge 0
    \end{dcases} \]%


enter image description here


You must log in to answer this question.

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