From mboxrd@z Thu Jan 1 00:00:00 1970 From: Felix Kaminsky Subject: Feature Request: LaTeX export table/figure notes in float environment Date: Sun, 14 Feb 2016 08:20:22 +0100 Message-ID: <56C02AB6.50202@gmail.com> Mime-Version: 1.0 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:34866) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aUqyr-0005rp-Ex for emacs-orgmode@gnu.org; Sun, 14 Feb 2016 02:20:30 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aUqyn-0006te-WF for emacs-orgmode@gnu.org; Sun, 14 Feb 2016 02:20:29 -0500 Received: from mail-wm0-x234.google.com ([2a00:1450:400c:c09::234]:36482) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aUqyn-0006tU-Oh for emacs-orgmode@gnu.org; Sun, 14 Feb 2016 02:20:25 -0500 Received: by mail-wm0-x234.google.com with SMTP id g62so17885267wme.1 for ; Sat, 13 Feb 2016 23:20:25 -0800 (PST) Received: from [192.168.178.21] (dslb-088-078-205-160.088.078.pools.vodafone-ip.de. [88.78.205.160]) by smtp.gmail.com with ESMTPSA id c185sm9872886wma.5.2016.02.13.23.20.23 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 13 Feb 2016 23:20:23 -0800 (PST) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Hi list,

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.

Maybe it would be possible to create an option #+FLOAT_NOTES similar to #+CAPTION for capturing and placing notes.

Thanks for your hard work.

Best regards,
Felix



From mboxrd@z Thu Jan 1 00:00:00 1970 From: Felix Kaminsky Subject: Feature Request: LaTeX export table/figure notes in float environment Date: Wed, 17 Feb 2016 18:09:43 +0100 Message-ID: <56C4A957.9010409@gmail.com> Mime-Version: 1.0 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:35809) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aW5bq-0008Ix-Ir for emacs-orgmode@gnu.org; Wed, 17 Feb 2016 12:09:51 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aW5bm-0000x3-Ia for emacs-orgmode@gnu.org; Wed, 17 Feb 2016 12:09:50 -0500 Received: from mail-wm0-x22f.google.com ([2a00:1450:400c:c09::22f]:33161) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aW5bm-0000ww-BC for emacs-orgmode@gnu.org; Wed, 17 Feb 2016 12:09:46 -0500 Received: by mail-wm0-x22f.google.com with SMTP id g62so246557745wme.0 for ; Wed, 17 Feb 2016 09:09:46 -0800 (PST) Received: from [131.220.108.163] (dhcp-f4-6d-4-38-f5-d1.iame.uni-bonn.de. [131.220.108.163]) by smtp.gmail.com with ESMTPSA id js8sm2421706wjc.37.2016.02.17.09.09.44 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 17 Feb 2016 09:09:44 -0800 (PST) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Hi list,

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.

Maybe it would be possible to create an option #+FLOAT_NOTES similar to #+CAPTION for capturing and placing notes.

Thanks for your hard work.

Best regards,
Felix



From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rasmus Subject: Re: Feature Request: LaTeX export table/figure notes in float environment Date: Thu, 18 Feb 2016 16:21:13 +0100 Message-ID: <871t8aavti.fsf@gmx.us> References: <56C4A957.9010409@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:45419) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aWQOU-0003Mk-V2 for emacs-orgmode@gnu.org; Thu, 18 Feb 2016 10:21:27 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aWQOQ-0002qB-RD for emacs-orgmode@gnu.org; Thu, 18 Feb 2016 10:21:26 -0500 Received: from plane.gmane.org ([80.91.229.3]:39503) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aWQOQ-0002pN-Ki for emacs-orgmode@gnu.org; Thu, 18 Feb 2016 10:21:22 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1aWQOM-0006ug-Rv for emacs-orgmode@gnu.org; Thu, 18 Feb 2016 16:21:18 +0100 Received: from 62.80.108.11 ([62.80.108.11]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 18 Feb 2016 16:21:18 +0100 Received: from rasmus by 62.80.108.11 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 18 Feb 2016 16:21:18 +0100 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Hi, Felix Kaminsky 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