[AstroPy] combining columns when writing a table to latex

Derek Homeier derek at astro.physik.uni-goettingen.de
Mon Apr 20 07:32:00 EDT 2015


> On 20 Apr 2015, at 3:00 am, August (Gus) Muench <august.fly at gmail.com> wrote:
> 
> Just want to add to Moritz's point that \pm represents just one of many ways that authors format their tables for a nice print view but without thinking at all about reuse by others... 
> 
> It is true that many large tables are "normalized" by scientists at the AAS Journals (where I work) and CDS, but it is also true that breaking out of a print view of one's article benefits everyone immensely. 
> 
Wouldn’t this both be solved by keeping the errors in their own column and simply setting
\pm as a custom separator, e.g. \begin{tabular}{lccr@{$\pm$}lc}…?
Disclaimer: I haven’t tested if this works with the col_align option of Astropy’s latex writer.

				Derek




More information about the AstroPy mailing list