Literaturegift4u
Would you like to react to this message? Create an account in a few clicks or log in to continue.
Literaturegift4u

EDUCATIONAL FORUM
 
HomeHome  Latest imagesLatest images  RegisterRegister  Log in  

 

 How to create Table in LaTex?

Go down 
AuthorMessage
Admin
Conqueror
Admin


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

How to create Table in LaTex? Empty
PostSubject: How to create Table in LaTex?   How to create Table in LaTex? EmptyFri 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 .

How to create Table in LaTex? Moz-screenshotHow to create Table in LaTex? Moz-screenshot-1How to create Table in LaTex? Moz-screenshot-2How to create Table in LaTex? Moz-screenshot-3How to create Table in LaTex? Moz-screenshot-4
Back to top Go down
https://literaturegift4u.forumotion.com
 
How to create Table in LaTex?
Back to top 
Page 1 of 1
 Similar topics
-
» How Mathematicians Think: Using Ambiguity, Contradiction, and Paradox to Create Mathematics

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