Re: ctable indentation

David Kastrup <[email protected]>
Newsgroups gmane.emacs.auc-tex
Message-ID <[email protected]>
Sebastian Luque <[email protected]> writes:

> 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?

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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.