3

I would like to get the text System of Figure centered in the array.

How can I center the text over the many columns of arrays such as here with four columns?

\documentclass[english]{article}
\usepackage{amsmath}

\usepackage{babel}
\begin{document}
$\begin{array}{|c|ccccc|}
\hline \text{} & \text{System of Figure } &  &  &  & \\
\hline \text{sets} & \{1,2\}^{*} & \{1,3\} & \{1,2,33\} &  & \\
\text{cuts} & \{1\}^{*} & \{2,3\} & \{1,22\} & \{1,3\} & \{1,22,3\}
\\\hline \end{array}$ 
\end{document}

enter image description here

  • 2
    Simply use \multicolumn{5}{c}{\text{System of Figure}}\\ . – Bernard Aug 8 '16 at 21:18
4
\documentclass[english]{article}
\usepackage{amsmath}

\usepackage{babel}
\begin{document}
$\begin{array}{|c|ccccc|}
\hline \text{} & \multicolumn{5}{c|}{\text{System of Figure }}  \\
\hline \text{sets} & \{1,2\}^{*} & \{1,3\} & \{1,2,33\} &  & \\
\text{cuts} & \{1\}^{*} & \{2,3\} & \{1,22\} & \{1,3\} & \{1,22,3\}
\\\hline \end{array}$
\end{document}

Output

enter image description here

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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