Math Help Forum

Math Help Forum Feed Site Feed

Go Back   Math Help Forum > Math Resources > LaTex Help
Reply
 
Thread Tools Display Modes
  #1  
Old October 9th, 2009, 02:59 AM
Swlabr's Avatar
Senior Member
 
Join Date: May 2009
Posts: 270
Country:
Thanks: 28
Thanked 75 Times in 69 Posts
Swlabr will become famous soon enough
Default Big curly bracket

I want to define a function so that even numbers will go somewhere and odd numbers will go somewhere else. How would I get LaTeX to do the curly bracket needed, one that has two rows?
Reply With Quote
Advertisement
 
  #2  
Old October 9th, 2009, 05:23 AM
Member
 
Join Date: Aug 2009
Posts: 125
Thanks: 1
Thanked 40 Times in 39 Posts
Taluivren will become famous soon enough
Default

Hi,

f(n) = \begin{cases} n, & \mbox{if } n\mbox{ is even} \\ n+1, & \mbox{if } n\mbox{ is odd} \end{cases}

produces

f(n) = \begin{cases} n, & \mbox{if } n\mbox{ is even} \\ n+1, & \mbox{if } n\mbox{ is odd} \end{cases}
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off
Forum Jump


All times are GMT -7. The time now is 07:28 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0 ©2008, Crawlability, Inc.
©2005 - 2009 Math Help Forum


Math Help Forum is a community of maths forums with an emphasis on maths help in all levels of mathematics.
Register to post your math questions or just hang out and try some of our math games or visit the arcade.