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