Hi Eric,
This is a very nice addition to the LaTeX exporter. It opens up a
lot of LaTeX to Org-mode users.
Users unfamiliar with LaTeX might be interested to know that standard
LaTeX typesets captions as if they are beneath the captioned item.
This means that the vertical spacing is
Hi Eric,
A syntax like this, with a width attribute, seems most like Org-mode
to me:
#+ATTR_LaTeX table* tabularx width=\textwidth align=llXrl
If that isn't a reasonable possibility, then, yes, the square brackets
should be changed. These represent optional arguments in LaTeX. The
Hi Tom,
Thanks for all you help on this front. I've just pushed up the patch
with your suggested syntax (which is much better than my original). It
allows the following behavior.
The following org
#+begin_src org
#+CAPTION: A wide table with tabulary
#+LABEL: tbl:wide
#+ATTR_LaTeX:
Ah! you caught me :)
I've just pushed up documentation. -- Eric
Carsten Dominik carsten.domi...@gmail.com writes:
This is great, I like it. Maybe a change to the manual
would be appropriate?
Best wishes
- Carsten
On Dec 17, 2010, at 9:39 PM, Eric Schulte wrote:
Hi Tom,
Thanks for
On Dec 17, 2010, at 10:01 PM, Eric Schulte wrote:
Ah! you caught me :)
I've just pushed up documentation. -- Eric
Thank you, Eric.
- Carsten
Carsten Dominik carsten.domi...@gmail.com writes:
This is great, I like it. Maybe a change to the manual
would be appropriate?
Best wishes
-
Hi Tom,
Thanks for the informative list. I had no idea LaTeX supported so many
table options. How about I update the patch so that is supports the
following sets of mutually exclusive options...
- longtable :: wraps the table in a longtable with no table or tabular
wrappers --
The attached patch implements the behavior described previously, so for
example the following org
#+begin_src org
#+CAPTION: A wide table with tabulary
#+LABEL: tbl:wide
#+ATTR_LaTeX: table* tabulary align=l|lp{3cm}r|l
| 1 | 2 | 3 |
| 4 | 5 | 6 |
#+CAPTION: A normal table with
Hi Eric,
The syntax for tabularx and tabulary includes a width specification
that is a required argument:
\begin{tabulary}{width}{align} ... \end{tabulary}
\begin{tabularx}{width}{align} ... \end{tabularx}
This is typically set to something like \linewidth, \colwidth, or
\textwidth, but
Hi Tom,
Thanks for the pointer, how about this revised version of the patch. It
takes the following inputs
#+begin_src org
#+CAPTION: A wide table with tabulary
#+LABEL: tbl:wide
#+ATTR_LaTeX: table* tabulary[\textwidth] align=l|lp{3cm}r|l
| 1 | 2 | 3 |
| 4 | 5 | 6 |
#+CAPTION: A
Hi,
The attached patch allows the use of table* latex tables from within Org
mode documents using the attr_latex lines, for example
#+CAPTION: A wide table
#+LABEL: tbl:wide
#+ATTR_LaTeX: table* align=l|lp{3cm}r|l
| ... | ... |
| ... | ... |
Should this be added, or should we put together a
10 matches
Mail list logo