\displaylines - Tex Command



NAME

\displaylines - to display any number of centered formulas (without any alignment).

SYNOPSIS

{ \displaylines{ <math> \cr <repeat as needed> } }

DESCRIPTION

\displaylines command is used to display any number of centered formulas. a double-backslash can be used in place of the \cr; the final \\ or \cr is optional.

EXAMPLE

  1. \displaylines{
    a = a\\
    \text{if } a=b \text{ then } b=a\\
    \text{if } a=b \text{ and } b=c \text{ then } a=c
    }
    
    $ \displaylines{ a = a\\ \text{if } a=b \text{ then } b=a\\ \text{if } a=b \text{ and } b=c \text{ then } a=c } $
Advertisements