TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

How can I change delimiter (brace) size in cases environment (for piece-wise function)?


share|improve this question
You have to put something inside the cases environment to make it expand. Surely you can show the piece-wise function, otherwise it's difficult to assess what you're actually trying to do. – Werner Dec 17 '13 at 20:02
May be provide an image illustrating what you want? For example you can affect the vertical space between the cases with \\[<length>]. – azetina Dec 17 '13 at 20:11

If the size of the brace (vertical and/or horizontal) are of prime concern, an alternative to the cases environment is given below. In this MWE, the stacked cases are composed of a \Vectorstack (stackengine package) in which the argument is set in math mode on equally spaced lines set about the math axis. The brace is produced by the scalerel package, and is merely a width-limited vertical scale of a glyph, in this case the left brace {.

Vertical height of brace matches target stack:
\[ f(x) =
\[ f(x) =
Vertical height of stack can be extended beyond stack height:
\[ f(x) =
Maximum horizontal width of brace set by optional parameter:
\[ f(x) =
\[ f(x) =
\[ f(x) =

enter image description here

This is just a demonstration of the ability to manipulate the brace. For a real problem, there may be other considerations... If the vertical separation between "cases" needs to be increased, \setstackgap{L}{length} prior to the stack can accomplish that, for example. See the package documentations for details. Your mileage may vary.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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