Basic examplesThis example shows how to create a simple table in LaTeX. It is a three-by-three table, but without any lines.
Expanding upon that by including some vertical lines:
To add horizontal lines to the very top and bottom edges of the table:
And finally, to add lines between all rows, as well as centering (notice the use of the center environment - of course, the result of this is not obvious from the preview on this web page):