O'Reilly logo

LaTeX Beginners Guide by Stefan Kottwitz

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Building math structures

Variables and constants are simple. But there are more complex objects, like binomial coefficients, vectors, and matrices. We shall figure out how to typeset such structures. Let's begin with simple arrays.

Creating arrays

For arranging math expressions within a surrounding expression, there's the array environment. We use it exactly like a tabular environment. However, it requires math mode and all of its entries are made using the math mode as well.

For example, by using variable sized parentheses around the array:

\[
  A = \left(
    \begin{array}{cc}
      a_{11} & a_{12} \\
      a_{21} & a_{22}
    \end{array}
  \right)
\]
Creating arrays

Writing binomial coefficients: ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required