Re: Latex longtable format

From: Bruce Momjian <bruce(at)momjian(dot)us>
To: PostgreSQL-development <pgsql-hackers(at)postgreSQL(dot)org>
Subject: Re: Latex longtable format
Date: 2013-01-17 16:44:55
Message-ID: 20130117164455.GD683@momjian.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Sat, Jan 12, 2013 at 07:09:31PM -0500, Bruce Momjian wrote:
> I have received several earnest requests over the years for LaTeX
> 'longtable' output, and I have just implemented it based on a sample
> LaTeX longtable output file.
>
> I have called it 'latex-longtable' and implemented all the behaviors of
> ordinary latex mode. One feature is that in latex-longtable mode,
> 'tableattr' allows control over the column widths --- that seemed to be
> very important to the users. One requested change I made to the
> ordinary latex output was to suppress the line under the table title if
> border = 0 (default is border = 1).
>
> Patch and sample output attached. I would like to apply this for PG
> 9.3.

Modified patch applied. I didn't need to modify our existing 'latex'
output format, except to add border=3 support. It was tempting to
suggest renaming our 'latex' output format to 'latex-tabular', because
that is what it uses, but 'tabular' is a package included by default in
Latex, while 'longtable' requires two additional packages to be
specified, so I resisted suggesting it. I did document that 'latex'
uses 'tabular'.

--
Bruce Momjian <bruce(at)momjian(dot)us> http://momjian.us
EnterpriseDB http://enterprisedb.com

+ It's impossible for everything to be true. +

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Simon Riggs 2013-01-17 16:46:32 Re: Materialized views WIP patch
Previous Message Andres Freund 2013-01-17 16:42:25 Re: Re: Slave enters in recovery and promotes when WAL stream with master is cut + delay master/slave