emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] [ox-latex, bug?] :caption forces environment


From: Nicolas Goaziou
Subject: Re: [O] [ox-latex, bug?] :caption forces environment
Date: Thu, 19 Feb 2015 17:12:59 +0100

Rasmus <address@hidden> writes:

> Do you consider it explicit when no environment is specified?  I would
> /only/ use capt-of when :environment is nil.

I think you are confusing :environment and :float. :environment cannot
be nil.

  ‘:environment’
       Environment used for the table.  It can be set to any LaTeX table
       environment, like ‘tabularx’(1), ‘longtable’, ‘array’, ‘tabu’(2),
       ‘bmatrix’...  It defaults to ‘org-latex-default-table-environment’
       value.


  ‘:placement’
       The ‘:float’ specifies the float environment for the table.
       Possible values are ‘sideways’(3), ‘multicolumn’, ‘t’ and ‘nil’.
       When unspecified, a table with a caption will have a ‘table’
       environment.  Moreover, the ‘:placement’ attribute can specify the
       positioning of the float.  Note: ‘:placement’ is ignored for
       ‘:float sideways’ tables.

We could use captof with a caption and :float nil.

> That would be nice, I guess.  Then I could also use #+CAPTION which is
> arguably nicer than #+attr_latex :caption.

Indeed.

Regards,



reply via email to

[Prev in Thread] Current Thread [Next in Thread]