Literaturegift4u

EDUCATIONAL FORUM
 
HomeHome  FAQFAQ  RegisterRegister  Log in  

Share | 
 

 How to create Table in LaTex?

View previous topic View next topic Go down 
AuthorMessage
Admin
Conqueror
avatar

Posts : 1562
Join date : 2010-12-09
Age : 36
Location : USA

PostSubject: How to create Table in LaTex?   Fri Jun 03, 2011 11:34 am

Open new page in WinEdt and type the following


\documentclass{article}
\usepackage{amssymb}
\usepackage{amsmath}
\usepackage{anysize}
\usepackage{color}
\usepackage[pdftex]{graphicx}
\usepackage{epsfig}
\begin{document}
\begin{table}[htb!]
\small
\addtolength{\tabcolsep}{-2pt}
\renewcommand{\arraystretch}{1.5}
\centering
\begin{tabular}{|l||r|r|r|c|}
\hline
Name & Exam1 & Exam2 & Exam3 & Grade\\
\hline\hline
John & 19 & 28 & 33 & C\\
\hline
Jane & 49 & 35 & 60 & B\\
\hline
Jim & 76 & 38 & 59 & A\\
\hline
\end{tabular}

\caption{Math 500 Grades}
\label{math500grades}
\end{table}


\end{document}


Then save the file in a folder with name table.tex.

Click on PDFTeXify.A beautiful table will be generated .

Back to top Go down
http://literaturegift4u.4rumer.com
 
How to create Table in LaTex?
View previous topic View next topic Back to top 
Page 1 of 1
 Similar topics
-
» Planet Table
» the banquet table - the ocean - the kitten
» Getting Table ready
» Table Tipping.
» What does sitting at a table with someone mean?

Permissions in this forum:You cannot reply to topics in this forum
Literaturegift4u :: Learn Scientific Softwares :: Learn LaTeX-
Jump to: