I want to do something similar to this but do not know how:

I do know how to write multi-valued functions by using cases or align or whatever but do not know how to achieve a text that is to the right and in the MIDDLE between two cases.
How can this be done?
\[ \begin{cases} … \end{cases} \; k > \frac{B}{2}; \]you get what you want. But may be it's not the optimal way to do it. – Manuel Jan 19 at 13:11=:\left\{\begin{aligned} … \end{aligned}\right. [insert horizontal space if needed] k > \frac{B}{2};would be the way to go … – Qrrbrbirlbel Jan 19 at 13:27