Controlling


Table of Contents

How to Repeat in Latex 
How to Repeat in Latex 
How to Repeat in Latex 
Latex file to create an empty table 
repeating rows in a table 
repeating rows in a table 
repeating rows in a table 

How to Repeat in Latex 

Newsgroups: comp.text.tex
From: mcdan...@bbn.com (Greg McDaniel)
Date: 1995/04/13

How does one repeat something a number times. For an example, suppose I had an array with 30 columns, all centered, and I want to use a command like:

\begin{array}{cccc .... (30 times)}

How to Repeat in Latex 

> \begin{array}{cccc .... (30 times)}

I think you're looking for something like:

\begin{array}{*{30}{c}}

Gary A. Churchh

How to Repeat in Latex 

create a macro using the ifthen package …it in the base directory. In it you will find commands such as \ifthenelse \whiledo etc.

Walter Tautz