0

Possible Duplicate:
How to merge columns in a table?

enter image description here

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

Vidhya
  • 727
  • 1
    Oh, and for the top left cell you're after multirow, see e.g. http://tex.stackexchange.com/questions/35126/combine-4-cells-in-a-table – Torbjørn T. Jun 05 '12 at 13:20

1 Answers1

5

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: enter image description here

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

enter image description here

azetina
  • 28,884
  • 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 06 '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 06 '12 at 13:49