Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

I am making a table of made up of two columns, but the problem is that in the last row I have multiple column with in a single row, I don't know how to do this. I applied \multicolumn but it did not produce the desired result. Here is an image of the desired table.

enter image description here

Help me in this regard

share|improve this question
add comment

1 Answer

up vote 3 down vote accepted

There are multiple ways to do this, but in your situation I think the best is to nest tabular environments. Try something like this:

\begin{tabular}{cc}
  \hline
  Heading & Heading \\
  \hline
  Item 1  & Item 2  \\
  Item 3  &
  \begin{tabular}{cc}
    A & B       \\
    C & D       \\
  \end{tabular} \\
  \hline
\end{tabular}

The above code will produce this table. Add vertical rules as desired (although they should generally be avoided when possible).

enter image description here

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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