From mboxrd@z Thu Jan 1 00:00:00 1970 From: AW Subject: Re: Orgtbl, Radiotables: ":booktabs t" Date: Sun, 01 Dec 2013 10:54:02 +0100 Message-ID: <5309190.T1LboKNIW4@linux-j9m3.site> References: <1763930.BASVGl8U4n@linux-j9m3.site> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:38317) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vn3hC-0007ll-05 for emacs-orgmode@gnu.org; Sun, 01 Dec 2013 04:52:17 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Vn3h4-0000sZ-Ng for emacs-orgmode@gnu.org; Sun, 01 Dec 2013 04:52:09 -0500 Received: from mailout05.t-online.de ([194.25.134.82]:52107) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vn3h4-0000sM-De for emacs-orgmode@gnu.org; Sun, 01 Dec 2013 04:52:02 -0500 In-Reply-To: <1763930.BASVGl8U4n@linux-j9m3.site> 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 Push?! Am Dienstag, 26. November 2013, 11:15:21 schrieb AW: > \documentclass[parskip=half]{scrartcl} > \usepackage{booktabs, verbatim} > > \begin{document} > > Hello! > > Once in a while I need a radiotable inside my LaTeX file and I'm asking to > implement a parameter for the use of booktabs. > > This is an example I picked from the manual of orgmode and added > \verb|\toprule|, \verb|\bottomrule|, :booktabs t and some other details. > > This is the tabular in \LaTeX: > > \begin{tabular}{lrrr}\toprule > Month & \multicolumn{1}{c}{Days} & Nr.\ sold & per day\\\midrule > % BEGIN RECEIVE ORGTBL salesfigures > Jan & 23 & 55 & 2.4 \\ > Feb & 21 & 16 & 0.8 \\ > March & 22 & 278 & 12.6 \\ > \hline > S: & 66 & & \\ > % END RECEIVE ORGTBL salesfigures > \bottomrule > \end{tabular} > > And here comes the source: > > \begin{verbatim} > #+ORGTBL: SEND salesfigures orgtbl-to-latex :splice t :skip 2 :booktabs > t > | Month | Days | Nr sold | per day | > | > |-------+------+---------+---------| > | > | Jan | 23 | 55 | 2.4 | > | Feb | 21 | 16 | 0.8 | > | March | 22 | 278 | 12.6 | > | > |-------+------+---------+---------| > | > | S: | 66 | | | > > #+TBLFM: $4=$3/$2;%.1f::@5$2=vsum(@I..II) > > \end{verbatim} > > The parameter ":booktabs t" would be new. > > To what end? You see, my table uses the booktabs package and I can, as > displayed above, use \verb|\toprule| and \verb|\bottomrule| in the "spliced" > tabular. But inside the tabular, all horizontal lines become > "hline"(s), which is, well, not ugly, but disturbing. Instead of each > hline a midrule is needed. > > You can take this email and compile it with pdflatex. You'll see, that > some space is missing between the ``S:'' and the hline. > > So would it be possible to implement the parameter ":booktabs t" > without much trouble? > > Kind regards, > > Alexander > > \end{document}