3

enter image description here

Hello, I am trying to create curly braces with lower and upper limits to the right, as shown in the picture. I am unable to fix these limits on the braces. I am using \bigl\{ and \bigr\} to create the braces.

1
  • 3
    Questions seeking debugging help ("why isn't this code working?") must include the desired behavior, a specific problem or error and the shortest code necessary to reproduce it in the question itself. Questions without a clear problem statement are not useful to other readers. See minimal working example (MWE). Sep 8, 2017 at 7:52

1 Answer 1

7

For me the standard way works. Have you tried this?

\documentclass[]{article}

\usepackage{amsmath}

\begin{document}
Thus, we get
\[
  \bigl\{\beta^w_{u_j}\bigr\}_{j=1}^n
\]
and
\[
  \bigl\{\beta^m_{u_j}\bigr\}_{j=1}^n
\]

In the same line:
\[
  \bigl\{\beta^w_{u_j}\bigr\}_{j=1}^n
  \quad\text{and}\quad
  \bigl\{\beta^m_{u_j}\bigr\}_{j=1}^n
\]

This is a long line, so that the equations are in the middle of two lines.
Everything in the same line using inline $\bigl\{\beta^w_{u_j}\bigr\}_{j=1}^n$
and $\bigl\{\beta^m_{u_j}\bigr\}_{j=1}^n$. But this doesn't look good, because
it might stretch the linespacing.

Using 
\[
  \text{Thus, we get}\quad%
  \bigl\{\beta^w_{u_j}\bigr\}_{j=1}^n
  \quad\text{and}\quad
  \bigl\{\beta^m_{u_j}\bigr\}_{j=1}^n
\]
does look better for the line spacing, but honestly it is not that pretty, imho.
\end{document}

enter image description here

6
  • This works fine, however I have an additional question. When I form the two curly braces as you specified, the second brace automatically jumps to the next line. Is there a way I can have them both in the same line?\documentclass[]{article} \begin{document} Thus, we get \[ \bigl\{\beta^w_{u_j}\bigr\}_{j=1}^n\] and \[\bigl\{\beta^m_{u_j}\bigr\}_{j=1}^n\] \end{document} Sep 8, 2017 at 8:50
  • You do want the "and" and the second equation in the same line? If so, see my edit.
    – Skillmon
    Sep 8, 2017 at 9:14
  • I actually wanted the initial 'Thus, we get' in the same line as well. Is that possible? Sep 8, 2017 at 9:34
  • @KushaVerma now I listed almost every option. But I think only the first two look good.
    – Skillmon
    Sep 8, 2017 at 9:46
  • why use display math here? why not just $...$? and if display math, why not use gather* and \shortintertext (requires mathtools)? Sep 8, 2017 at 16:05

You must log in to answer this question.

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