LaTeX-pie clipbook: Reference Guide

## 40. array

1. If there is no selected text, then a dialog box appears which allows defining of the number of rows and columns, and the basic alignment of array.

1. If there is selected text, then the necessary LaTeX mark-up is added automatically. Selecting the two lines shown below
          2\alpha + 3     (\alpha > \beta)
\beta -4        (\alpha < \beta)


and then running the "array" clip gives:

%
\begin{array}{ll} \\
2\alpha + 3    & (\alpha > \beta) \\
\beta -4       & (\alpha < \beta) \\
\end{array}


Note that you have to use two or more spaces or tabs for separating columns in your pre-fabricated text; single space is not treated as a column separator. If the table cell must be left empty, use the tilde ("~") or any other symbol which does not produce printed output: