From: Uwe Brauer <oub@mat.ucm.es>
To: Ihor Radchenko <yantar92@posteo.net>
Cc: Uwe Brauer <oub@mat.ucm.es>, emacs-orgmode@gnu.org
Subject: Re: orgtable to latex export \hline[0pt] why?
Date: Sat, 22 Apr 2023 14:13:51 +0200 [thread overview]
Message-ID: <87sfcst8qo.fsf@mat.ucm.es> (raw)
In-Reply-To: 871qkc40g9.fsf@localhost
[-- Attachment #1: Type: text/plain, Size: 1311 bytes --]
>>> "IR" == Ihor Radchenko <yantar92@posteo.net> writes:
> Uwe Brauer <oub@mat.ucm.es> writes:
>> After pulling the latest org mode, the following table
>>
>> Is exported to latex as
>> ...
>> \begin{center}
>> \begin{tabular}{rrrrrrrrr}
>> Ej1A & Ej1B & EjC & E2A1 & E2B & E2C & E2D & E2E & Total\\ \hline[0pt]
>> \hline
> I am seeing
> \begin{center}
> \begin{tabular}{rrrrrrrrr}
> Ej1A & Ej1B & EjC & E2A1 & E2B & E2C & E2D & E2E & Total\\[0pt]
> \hline
Well what is the purpose of the [0pt], that is new. Concerning the \hline
(defun my-latex-insert-hline-always (row backend info)
"Add a hline to every row when exporting to LaTeX."
(when (org-export-derived-backend-p backend 'latex)
(replace-regexp-in-string "\\\\\\\\" "\\\\\\\\ \\\\hline" row)))
(add-to-list 'org-export-filter-table-row-functions 'my-latex-insert-hline-always)
I could modify that function, but again what is the purpose of the [0pt]
--
Warning: Content may be disturbing to some audiences
I strongly condemn Putin's war of aggression against the Ukraine.
I support to deliver weapons to Ukraine's military.
I support the ban of Russia from SWIFT.
I support the EU membership of the Ukraine.
https://addons.thunderbird.net/en-US/thunderbird/addon/gmail-conversation-view/
[-- Attachment #2: smime.p7s --]
[-- Type: application/pkcs7-signature, Size: 5673 bytes --]
next prev parent reply other threads:[~2023-04-22 12:14 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-04-21 14:00 orgtable to latex export \hline[0pt] why? Uwe Brauer
2023-04-22 11:32 ` Ihor Radchenko
2023-04-22 12:13 ` Uwe Brauer [this message]
2023-04-22 12:32 ` Ihor Radchenko
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=87sfcst8qo.fsf@mat.ucm.es \
--to=oub@mat.ucm.es \
--cc=emacs-orgmode@gnu.org \
--cc=yantar92@posteo.net \
/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).