how to add single-sided brackets in latex
March 29th, 2006 by Lawrence David
to produce the above equation, use the following code:
\begin{split}
\arg\max_\Theta\left[\sum_zP(\mathcal{G}|\mathcal{D},\mathcal{S})
P(\mathcal{G}|\mathcal{S},\Theta_n)\log{P(\mathcal{D}|\mathcal{G},
\mathcal{S},\Theta)}\right. \ +
\left.\sum_zP(\mathcal{G}|\mathcal{D},\mathcal{S})P(\mathcal{G}|
\mathcal{S},\Theta_n)\log{P(\mathcal{D}|\mathcal{G},\mathcal{S},\Theta)}\right]
\end{split}
note that to produce the single-sided brackets, you need to add empty \left and \right brackets, which can be done by inserting periods following the \left or \right statement.

I gleaned the “right.” idea from your post which solved my problem of adding single-sided curly brackets into a LaTeX document I’m working on. Thanks.
Thanks very much for the “right.” tip…exactly what I needed!
The problem with this is that if you have an equation in which the second line does not include any large signs (like the large sigma in your case), this method will not work: The \right] will scale according to space used on the current line. E.g. if one (which I recently had) a really long integrand, this will not work. Im very interested to hear some kind of solution to this.
You’ve all probably figured this out by now, but I was just struggling with the same problem and figured I’d add my 2 cents.
In order to get your brackets scaled properly you could try using \bigr], \Bigr], \biggr] or \Biggr] and choose the size that looks best.
Cheers!
thanks for that sweet tip lynn!
This is just what I’ve been looking for. Thanks for the tip!
@Steffen:
one way to force the second line \right] to scale to the same size as the \left[ on the first line is to include somewhere on the second line a \vphantom{} with your largest command inside it, say
\vphantom{\sum_i^\infty}\right]
The \bigr( and \bigl) work great, exactly what I was looking for, thanks!
Thanks
Great post. I was checking constantly this weblog and I’m impressed! Very helpful information specially the remaining part
I deal with such info a lot. I was seeking this particular info for a long time. Thanks and best of luck. |
Aw, this was a really good post. Taking the time and actual effort to generate a top notch article… but what can I say… I procrastinate a whole lot and don’t seem to get nearly anything done.|
Has anyone been to Wild Bill’s Tobacco?
I have realized some new points from your internet site about desktops. Another thing I’ve always thought is that computers have become an item that each residence must have for several reasons. They provide convenient ways to organize the home, pay bills, go shopping, study, hear music and in many cases watch tv shows. An innovative solution to complete most of these tasks is by using a notebook. These desktops are portable ones, small, highly effective and easily transportable.
whoah this blog is excellent i love reading your articles. Keep up the good work! You know, a lot of people are looking around for this info, you could aid them greatly.