0

I want to mimmick this layout:

enter image description here

But I do not have access to the source code. My best guess is that this is a tabular environment with brackets typeset arround it.

3

By far the most direct way to typeset a 2-row matrix surrounded by parentheses is to use a pmatrix environment. It can also be done with an array environment, but it's a bit more work. I wouldn't a tabular environment, since the contents of the present array would appear to be math material, not text material.

enter image description here

\documentclass{article}
\usepackage{amsmath} % for 'pmatrix' and 'align*' environments
\begin{document}

\begin{align*}
\sigma 
&= \begin{pmatrix}
  1 & 2 & 3 & 4 \\
  5 & 6 & 7 & 8 
\end{pmatrix} \\
   %% '@{\mkern1mu}' reduces the amount of whitespace to left and right of array
&= \left( \begin{array}{@{\mkern1mu}cccc@{\mkern1mu}}
  1 & 2 & 3 & 4 \\
  5 & 6 & 7 & 8 
\end{array} \right) 
\end{align*}

\end{document}
|improve this answer|||||
5

One simple way could be:

\documentclass{article}
\usepackage{amsmath}

\begin{document}

$\sigma = \begin{pmatrix} 
1 & 2 & 3 & 4 & 5 & 6 & 7 & 8 & 9\\ 
3 & 8 & 9 & 5 & 2 & 1 & 6 & 4 & 7
\end{pmatrix} $

\end{document}

enter image description here

|improve this answer|||||

Not the answer you're looking for? Browse other questions tagged or ask your own question.