\substack - Tex Command



substack

\substack - Used to create multi-line subscripts or superscripts.

SYNOPSIS

{ \substack}

DESCRIPTION

\substack command draws multi-line subscripts or superscripts.

EXAMPLE

  1. \sum_{
    \substack{
    1\lt i\lt 3 \\
    1\le j\lt 5
    }}
    a_{ij}
    
    $ \sum_{ \substack{ 1\lt i\lt 3 \\ 1\le j\lt 5 }} a_{ij} $
  2. ^{\substack{\text{a very} \\
    \text{contrived} \\
    \text{example}
    }}
    {\frac ab}_{\substack{
    \text{isn't} \\
    \text{it?}
    }}
    
    $ ^{\substack{\text{a very} \\ \text{contrived} \\ \text{example} }} {\frac ab}_{\substack{ \text{isn't} \\ \text{it?} }} $
Advertisements