Discussion:
ctable indentation
Sebastian Luque
2005-02-18 23:03:59 UTC
Permalink
Hi,

I've started using ctable for typesetting tables
(http://www.ctan.org/tex-archive/help/Catalogue/entries/ctable.html),
and the main macro has the structure:

\ctable[options]{coldefs}{foottable}{table lines}

and would like to indent it in AUCTeX almost like an environment, e.g.:

\ctable[caption = table title,
label = tab:1,
...]
{lll}
{\tnote{first note}
\tnore[b]{second note}
...}
{column 1 & column 2 & column 3 \\
... & ... & ... }

Otherwise it's very difficul to read. What variable or function should I
look at to specify something like this in AUCTeX?
--
Sebastian Luque
David Kastrup
2005-02-18 23:25:41 UTC
Permalink
Post by Sebastian Luque
Hi,
I've started using ctable for typesetting tables
(http://www.ctan.org/tex-archive/help/Catalogue/entries/ctable.html),
\ctable[options]{coldefs}{foottable}{table lines}
\ctable[caption = table title,
label = tab:1,
...]
{lll}
{\tnote{first note}
\tnore[b]{second note}
...}
{column 1 & column 2 & column 3 \\
... & ... & ... }
Otherwise it's very difficul to read. What variable or function
should I look at to specify something like this in AUCTeX?
Probably not easy to do. But it might be worth taking a look at what
M-x align-current RET does with the bulk of your table.
--
David Kastrup, Kriemhildstr. 15, 44793 Bochum
Loading...