[OS X TeX] Tables
Peter Dyballa
Peter_Dyballa at Web.DE
Mon Aug 20 17:40:24 EDT 2007
Am 20.08.2007 um 20:26 schrieb Nathan Paxton:
> And perhaps I need a column added later on.
You can use a regular expression. The cells are separated by ``&´´
characters. So it's easy to insert another `` &´´ after n ``&´´ have
occurred ... Changing header and footer is simple manual work.
The regular expression describes that a line starts with a set of
characters of which none is an ampersand. Then an ampersand follows.
This repeats n times. This description is then replaced by itself
plus an additional `` &´´. Something like ^\([^&]+&[^&]+&[^&]+&[^&]+&
\) => \1 & or ^\(\([^&]+&\)\{n\}\) => \1 &.
If every cell has its own line, then it becomes complicated. This
case can be transformed to a form that works by temporarily
concatenating those cells that build one line to one line.
--
Greetings
Pete
Some day we may discover how to make magnets that can point in any
direction.
------------------------- Helpful Info -------------------------
Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
TeX FAQ: http://www.tex.ac.uk/faq
List Archive: http://tug.org/pipermail/macostex-archives/
List Reminders & Etiquette: http://www.esm.psu.edu/mac-tex/list/
More information about the MacOSX-TeX
mailing list