> Hello,
   > Uwe Brauer <o...@mat.ucm.es> 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?


Reply via email to