Eric S Fraga <e.fr...@ucl.ac.uk> writes:

> Hello,
>
> For pedagogical reasons, it would be nice to be able, in some case, to
> export a table (to LaTeX typically) with annotations (i.e. column and
> row labels) and, more importantly, the equations used to populate the
> table.  Is this possible somehow?
>
> Obviously, for the row/column labelling, I could simply add an extra
> column and row with those labels...
>
> For the TBLFM aspect, thinking aloud but with no real knowledge, would
> it be possible to create a filter, say, that maybe copies and transforms
> a TBLFM line before being thrown away by the export engine?
>
> Any suggestions welcome.
>

Bastien's table formulas tutorial does it this way:

--8<---------------cut here---------------start------------->8---
* Column formulas and field formulas

Ok, so now we have this table:

: | Student  | Maths | Physics | Mean |
: |----------+-------+---------+------|
: | Bertrand |    13 |      09 |   11 |
: | Henri    |    15 |      14 |      |
: | Arnold   |    17 |      13 |      |
: #+TBLFM: @2$4=vmean($2..$3)
--8<---------------cut here---------------end--------------->8---

Will that work for you?

-- 
Nick


Reply via email to