# How to make table with divided column [duplicate]

Possible Duplicate:
How to merge columns in a table?

How can I make a table of the type above? I am writing a seminar report using the report class.

-

## marked as duplicate by Werner, egreg, Mico, Torbjørn T., Paulo CeredaJun 5 '12 at 15:17

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

Oh, and for the top left cell you're after multirow, see e.g. tex.stackexchange.com/questions/35126/… – Torbjørn T. Jun 5 '12 at 13:20

## 1 Answer

This is just a quick answer to your question. I will update it if the code is too vague.

\documentclass[letterpaper]{article}
\usepackage{amsmath,amssymb}
\usepackage{booktabs,multirow}
\usepackage{hhline}
\begin{document}
%\renewcommand{\arraystretch}{1.2} % Uncomment to get better display
\begin{tabular}{|c|c|c|}
\hline
\multirow{2}{*}{UVLO START} &\multicolumn{2}{c|}{MAXIMUM DUTY CYCLE}\\
\hhline{~--}
& $< 50\%$&$< 50\%$ \\\hline
8.5V&  UC3845 & UC3845\\ \hline
16V &  UC3845 & UC3845\\ \hline
\end{tabular}
\end{document}


This results in:

If you add \renewcommand{\arraystretch}{1.2} above \begin{tabular} you will get a better display. See below:

-
wen i build this code it shows package need to be installed from random package repository...then i selected install from net which again ask to select a cuntry...which country should i select?? – Vidhya Jun 6 '12 at 12:50
Choose the one closest to you. I suppose it does not matter just probably the speed at which you download will vary depending on the server. – azetina Jun 6 '12 at 13:49
thank u sooo much...it worked – Vidhya Jun 6 '12 at 17:36