TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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
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

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.