3

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

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

Use the dot for a non existing delimiter

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

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

\documentclass{article}
\usepackage[utf8]{inputenc}%
\usepackage{mathtools}
\usepackage{boldline} 

\begin{document}

    \[ (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{array}
    \end{dcases} \]%

\end{document} 

enter image description here

0

You must log in to answer this question.

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