Send As SMS

3/29/2006

how to add single-sided brackets in latex

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.


2 Comments:

M.E.B. said...

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.

4/21/2006 07:20:47 PM  
Peter I. said...

Thanks very much for the "\right." tip...exactly what I needed!

4/25/2006 03:12:16 PM  

Post a Comment

Links to this post:

Create a Link

<< Home

My blog has moved! Redirecting...

You should be automatically redirected. If not, visit http://stinkpot.afraid.org:8080/tricks/ and update your bookmarks.