[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] org export to latex tables, with hlines and |
From: |
Nicolas Goaziou |
Subject: |
Re: [O] org export to latex tables, with hlines and | |
Date: |
Thu, 10 Mar 2016 21:03:33 +0100 |
Hello,
Uwe Brauer <address@hidden> writes:
> > Hello,
> > Uwe Brauer <address@hidden> writes:
>
>
> > IIUC you want to put a rule after every row in the table? If that's the
> > case, the straightforward way to do it is to explicitly put the rule in
> > your table:
>
> > |/|<>|
> > | | |
> > |-+--|
>
> > Otherwise you can use a filter, e.g.,
> > `org-export-filter-table-row-functions' and append "\\hine" there in
> > LaTeX-related back-ends.
>
> I got this to work:
>
>
> (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)
>
>
> Is this what you meant?
Something like that, yes.
Regards,
--
Nicolas Goaziou
- [O] org export to latex tables, with hlines and |, Uwe Brauer, 2016/03/09
- Re: [O] org export to latex tables, with hlines and |, Nicolas Goaziou, 2016/03/10
- Re: [O] org export to latex tables, with hlines and |, Uwe Brauer, 2016/03/10
- Re: [O] org export to latex tables, with hlines and |, Uwe Brauer, 2016/03/10
- Re: [O] org export to latex tables, with hlines and |, Uwe Brauer, 2016/03/10
- Re: [O] org export to latex tables, with hlines and |,
Nicolas Goaziou <=