Math & ScienceAuto Sizing Brackets

Information and discussion about LaTeX's math and science related features (e.g. formulas, graphs).
Post Reply
porkedpie
Posts: 3
Joined: Wed Oct 13, 2010 11:20 am

Auto Sizing Brackets

Post by porkedpie »

Is it theoretically possible to use

Code: Select all

\left{ \right}
\left[ \right]
or does this auto sizing only work with round parenthises?

Regards.
Last edited by porkedpie on Wed Oct 13, 2010 11:58 am, edited 1 time in total.

Recommended reading 2024:

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

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

localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Re: Auto Sizing Brackets

Post by localghost »

What keeps you from just trying out? Your machine won't explode. Apart from the fact that the first line will show exactly nothing (but perhaps cause errors) it works with every delimiter. That's what every basic documentation about LaTeX will tell you.


Best regards and welcome to the board
Thorsten
porkedpie
Posts: 3
Joined: Wed Oct 13, 2010 11:20 am

Re: Auto Sizing Brackets

Post by porkedpie »

Oh dear, wrong side of bed?

Thanks, I had tried it but kept getting errors, so I wanted to check it was possible. All the documentation I have seen only mentions \left( and \right)


Thank.
torbjorn t.
Posts: 162
Joined: Wed Jun 17, 2009 10:18 pm

Auto Sizing Brackets

Post by torbjorn t. »

Try

Code: Select all

\left\{   \right\}
Note backslash before the braces.
User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Auto Sizing Brackets

Post by localghost »

porkedpie wrote:Oh dear, wrong side of bed? […]
No. Just came across a RTFM question.
porkedpie
Posts: 3
Joined: Wed Oct 13, 2010 11:20 am

Re: Auto Sizing Brackets

Post by porkedpie »

Thank you torbjorn
I just discovered the extra slash needed myself - seems poorly documented.
User avatar
frabjous
Posts: 2064
Joined: Fri Mar 06, 2009 12:20 am

Auto Sizing Brackets

Post by frabjous »

porkedpie wrote:Thank you torbjorn
I just discovered the extra slash needed myself - seems poorly documented.
Poorly documented? { and } without slashes are used everywhere for grouping in the source in LaTeX and not to insert brackets into the output. This is either the first thing, or almost the first thing, mentioned in every LaTeX guide in existence. The only excuse for not knowing it could be never having used LaTeX before, in which case, do look the resources for beginners thread.
Post Reply