emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: AW <alexander.willand@t-online.de>
To: emacs-orgmode@gnu.org
Subject: Re: Orgtbl, Radiotables: ":booktabs t"
Date: Sun, 01 Dec 2013 10:54:02 +0100	[thread overview]
Message-ID: <5309190.T1LboKNIW4@linux-j9m3.site> (raw)
In-Reply-To: <1763930.BASVGl8U4n@linux-j9m3.site>

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}

  reply	other threads:[~2013-12-01  9:52 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-11-26 10:15 Orgtbl, Radiotables: ":booktabs t" AW
2013-12-01  9:54 ` AW [this message]
2013-12-01 10:18   ` Nicolas Goaziou
2013-12-01 10:30     ` Handshake: Org-mode + Emacs releases Jambunathan K
2013-12-01 11:13       ` Nicolas Goaziou
2013-12-01 12:03         ` Jambunathan K
2013-12-06 14:27         ` Bastien
2014-08-19 16:03     ` Orgtbl, Radiotables: ":booktabs t" Jorge A. Alfaro-Murillo
2014-08-19 16:28       ` Jorge A. Alfaro-Murillo
2014-08-19 17:37         ` Jorge A. Alfaro-Murillo
2014-08-19 22:16       ` Nicolas Goaziou

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5309190.T1LboKNIW4@linux-j9m3.site \
    --to=alexander.willand@t-online.de \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).