Prev Next left_right

Latex Enclose With Left and Right Commands

Syntax
Description
Example
     Using Left and Right
     With Out Left and Right
     Using the Period Symbol
Enclosing Symbols

Syntax
$latex \left s1 command_list \right s2 $$

Description
Display in Latex mode the specified command list enclosed by the specified symbols. The enclosing symbols are stretched to be as large as the output corresponding to the command list. The values s1 and s2 must be one of the enclosing symbols .

The enclosing symbols are called delimiters in LaTex but we avoid that reference because of the special meaning of a delimiter sequence in OMhelp.

Example

Using Left and Right
The input
 
     $latex
     \left ( \frac{ x^1 }{ y_2 } \right )
     $$
results in the following output:
     
@(@ \left ( \frac{ x^1 }{ y_2 } \right ) @)@
With Out Left and Right
The input
 
     $latex
     ( \frac{ x^1 }{ y_2 } )
     $$
results in the following output:
     
@(@ ( \frac{ x^1 }{ y_2 } ) @)@
Using the Period Symbol
If the period is used for an enclosing symbol, nothing is output in its place. The input
 
     $latex
     \left \{ \frac{ x^1 }{ y_2 } \right .
     $$
results in the following output:
     
@(@ \left \{ \frac{ x^1 }{ y_2 } \right . @)@
Enclosing Symbols
s1 or s2 Output
( @(@ ( @)@
[ @(@ [ @)@
\{ @(@ \{ @)@
| @(@ | @)@
/ @(@ / @)@
\langle @(@ \langle @)@
\lfloor @(@ \lfloor @)@
\lceil @(@ \lceil @)@
\uparrow @(@ \uparrow @)@
\downarrow @(@ \downarrow @)@
\updownarrow @(@ \updownarrow @)@
.
s1 or s2 Output
) @(@ ) @)@
] @(@ ] @)@
\} @(@ \} @)@
\| @(@ \| @)@
\backslash @(@ \backslash @)@
\rangle @(@ \rangle @)@
\rfloor @(@ \rfloor @)@
\rceil @(@ \rceil @)@
\Uparrow @(@ \Uparrow @)@
\Downarrow @(@ \Downarrow @)@
\Updownarrow @(@ \Updownarrow @)@

Input File: omh/latex/left_right.omh