Journal home page
General information
Submit an item
Download style files
Copyright
Contact us
logo for The PracTeX Journal TUG logo

Square cells: an array cooking lesson

Will Robertson

Abstract

In this article, various features of the array package are described and used to create an environment that typesets tabular material with exactly square-shaped cells (useful in showing, for example, magic squares of numbers in which all rows, columns and diagonals sum to an equal value). Along the way, some intermediate-level concepts in LaTeX programming are also shown. This article should be of interest to anyone who would like to read about the process of constructing new macros in LaTeX.

Will Robertson is a PhD student in Mechanical/Mechatronic Engineering in the University of Adelaide, South Australia. His LaTeX experience came about from being distracted with it while writing various reports and papers on his "real" research, and now he's hooked. Will may be contacted at mailto


Page generated June 9, 2010 ;

TUG home page; webmaster; facebook; twitter; mastodon;   (via DuckDuckGo)