Monday, August 13, 2012

LaTex \left and \right

Hi guys,

  • Today I will tell you what \left and \right means in LaTex.
  • Sometimes you need to enclose fractions in equations within tall brackets. That's where these \left and \right comes in to play.
    • syntax: \left c1 cmds \right c2
    • c1 and c2 are called enclosing symbols. Some of the frequently used enclosing symbols are: (  )  [  ]   \{   \}  |

        \left (\frac{a}{b} \right )




    • If you didn't use \left and \right, this is what you will get:
              (\frac{a}{b})
                   
    • Sometimes you may need such a symbol, but only at one side.
      • Then the syntax is: \left . cmds \right c2
      • That is, a period is used for the side where you do not use the enclosing symbol
                    \left . \frac{a}{b} \right |
                   
                       

    No comments:

    Post a Comment