I'm using emacs as my editor and I am toying with org-mode which looks rather useful.
I'm generating a table (spreadsheet) in org mode and it is exported correctly to LaTeX apart from the vertical lines. Is there a way to export them? I want to have a way to define some of the vertical lines as visible.
You should use Column Groups
This has the advantage of working in HTML export as well as LaTeX export.
You can give the format to the table for LaTeX with
#+attr_latex:
, say:Vertical lines in latex are defined by the
|
character in table definition. So, just separate thel
's andr
's with|
's in the\tabular
definition before running latex, for example like this in Perl:Update: Oh I see. According to the documentation, you should be able to indicate column groups by
But, when I try it in my version of emacs and org-mode, nothing happens.
You want to use the
#+attr_latex
attribute to the table environment. Here you can specify various features like the alignment and width. See http://orgmode.org/manual/Tables-in-LaTeX-export.html for the manual information.