emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Feature Request: LaTeX export table/figure notes in float environment
@ 2016-02-14  7:20 Felix Kaminsky
  0 siblings, 0 replies; 3+ messages in thread
From: Felix Kaminsky @ 2016-02-14  7:20 UTC (permalink / raw)
  To: emacs-orgmode

[-- Attachment #1: Type: text/html, Size: 1365 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Feature Request: LaTeX export table/figure notes in float environment
@ 2016-02-17 17:09 Felix Kaminsky
  2016-02-18 15:21 ` Rasmus
  0 siblings, 1 reply; 3+ messages in thread
From: Felix Kaminsky @ 2016-02-17 17:09 UTC (permalink / raw)
  To: emacs-orgmode

[-- Attachment #1: Type: text/html, Size: 1355 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Feature Request: LaTeX export table/figure notes in float environment
  2016-02-17 17:09 Feature Request: LaTeX export table/figure notes in float environment Felix Kaminsky
@ 2016-02-18 15:21 ` Rasmus
  0 siblings, 0 replies; 3+ messages in thread
From: Rasmus @ 2016-02-18 15:21 UTC (permalink / raw)
  To: emacs-orgmode

Hi,

Felix Kaminsky <felixkaminsky@googlemail.com> writes:

> I am amazed by org-mode and baffled that I didn't find it earlier. It revolutionized my workflow which is usually quickly
> writing reports and exporting them to PDF via LaTeX.
> There is one feature that I really miss. Something to put notes below a table within the LaTeX float environment.
> Something that the LaTeX output looks similar to this:
>
> \begin{table}[htb]
> \caption
> \begin{tabular}
> ....
> \end{tabular}
> \label{...}
> Notes: some text
> \end{table}
>
> I am currently using a workaround by setting the option org-latex-table-caption-above to nil and putting the caption below
> together with the text for the notes.
> But in a standard document I'd prefer the caption above.

Try with special blocks.

Eval:

    (setq org-latex-caption-above '(table special-block))

With this, the following,

    #+caption: cap
    #+begin_table
    #+Attr_latex: :float nil
    | a | b |
    Notes 
    #+end_table

would result in something like this,

    \begin{table}
    \caption{cap}
    \begin{center}
    \begin{tabular}{ll}
    \toprule
    a & b\\
    \bottomrule
    \end{tabular}
    \end{center}
    Notes
    \end{table}

You might have to tweak the centering to your liking (e.g. another center
special block and the attribute :center nil).

Hope it helps,
Rasmus

-- 
Evidence suggests Snowden used a powerful tool called monospaced fonts

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2016-02-18 15:21 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-02-17 17:09 Feature Request: LaTeX export table/figure notes in float environment Felix Kaminsky
2016-02-18 15:21 ` Rasmus
  -- strict thread matches above, loose matches on Subject: below --
2016-02-14  7:20 Felix Kaminsky

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).