General{} and multline*

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
tdc
Posts: 34
Joined: Fri Sep 12, 2008 1:52 am

{} and multline*

Post by tdc »

Hi,

I'm having trouble getting \left\{ \right\} braces in \begin{multline*} properly, and i keep getting errors saying the \right is missing (then saying there's an extra one... and then the cylce repeats)

Here's my preamble,

Code: Select all

\documentclass[a4paper,12pt]{amsart}
\usepackage{a4}
\usepackage{amssymb}
and a short work example (or not working as the case may be....

Code: Select all

	\begin{multline*}
		\int{\frac{\cos^{2m} x dx}{\sin(2n+1)x}}=
		\frac{1}{2n+1}
			\left\{
				\ln\text{tg}\frac{x}{2}+\\
					+
			\right\}
	\end{multline*}
Thanks for any help

Tim :)

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

Stefan Kottwitz
Site Admin
Posts: 10347
Joined: Mon Mar 10, 2008 9:44 pm

{} and multline*

Post by Stefan Kottwitz »

Hi Tim,

you could close \left\{ by \right. and open \right\} by \left. if you want a single brace. But you could get different sizes because of different text in the lines, it's better to use those \big-macros: \big\{, \Big\{, \bigg\{ , ... \bigg\} etc., see Mathmode or any other mathematics documentation for more information.
Or: use \vphantom together with \left\{ ... \right. etc to get equal size, also explained in Mathmode.pdf.

Stefan
LaTeX.org admin
tdc
Posts: 34
Joined: Fri Sep 12, 2008 1:52 am

Re: {} and multline*

Post by tdc »

Although the first method gets me a second bracket, it still gives me errors about extra and missing \rights...

I'll try the second method later

Thanks tho :)
tdc
Posts: 34
Joined: Fri Sep 12, 2008 1:52 am

Re: {} and multline*

Post by tdc »

:) got it working without errors :) all is good now, thanks :D
Post Reply