## 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.

on 21 Apr 2006 at 7:20 pmM.E.B.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.

on 25 Apr 2006 at 3:12 pmPeter I.Thanks very much for the “right.” tip…exactly what I needed!

on 05 Apr 2007 at 7:38 amSteffenThe 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.

on 08 Aug 2007 at 11:37 amLynnYou’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!

on 08 Aug 2007 at 11:51 amLawrence Davidthanks for that sweet tip lynn!

on 02 Sep 2009 at 12:10 amThe Mom, PhDThis is just what I’ve been looking for. Thanks for the tip!

on 21 Feb 2011 at 8:19 amepisanty@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]

on 18 Mar 2011 at 3:17 pmtexluvThe \bigr( and \bigl) work great, exactly what I was looking for, thanks!

on 28 Jul 2011 at 11:16 amchamiThanks

on 26 Dec 2019 at 12:50 amConnie LandonGreat 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. |

on 26 Jul 2020 at 11:30 amColeAw, 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.|

on 12 Oct 2020 at 2:26 amS and S MODSHas anyone been to Wild Bill’s Tobacco?

on 12 Oct 2020 at 2:51 amsite hereI 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.

on 18 Jan 2021 at 6:45 pmwearegeneralnews technologywhoah 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.