I want to fit two expression inside a large bracket something like this:

I looked some of the examples like this one, however, I need variables such as x1 instead of 1. Help appreciated.
I want to fit two expression inside a large bracket something like this:

I looked some of the examples like this one, however, I need variables such as x1 instead of 1. Help appreciated.
What Sigur suggested is more than likely the answer, but here is an alternative:

\documentclass{article}
\usepackage{amsmath}
\begin{document}
$\mathrm{S}=\begin{pmatrix} x_1,\dotsc,x_n \\ y_1,\dotsc,y_n \end{pmatrix}$
$\displaystyle\mathrm{S}=\binom{x_1,\dotsc,x_n}{y_1,\dotsc,y_n}$
\end{document}
I also suggest using the command \dotsc for comma separated sequences. I suggest reading one of the following answers:
$S=\begin{pmatrix} x_1,\ldots,x_n \\ y_1,\ldots,y_n \end{pmatrix}$. Load\usepakage{amsmath}to use it. If you want romam letters, use\mathrm{S}. – Sigur Jan 09 '14 at 13:20arrays such as those in the example you link to isn't limited to single numbers, so you could just replace1withx_1. Sigur's approach is better though, I think. – Torbjørn T. Jan 09 '14 at 13:28\usepackage. I can not edit it anymore. – Sigur Jan 09 '14 at 13:32