From b14f81bc9a65993129e93052634e358b310b8554 Mon Sep 17 00:00:00 2001 From: Bruce Momjian Date: Thu, 17 Jan 2013 11:39:38 -0500 Subject: Add a latex-longtable output format to psql latex longtable is more powerful than the 'tabular' output format 'latex' uses. Also add border=3 support to 'latex'. --- doc/src/sgml/ref/psql-ref.sgml | 31 +++++++++++++++++++++++-------- 1 file changed, 23 insertions(+), 8 deletions(-) (limited to 'doc/src') diff --git a/doc/src/sgml/ref/psql-ref.sgml b/doc/src/sgml/ref/psql-ref.sgml index c41593c5e36..504a5164de9 100644 --- a/doc/src/sgml/ref/psql-ref.sgml +++ b/doc/src/sgml/ref/psql-ref.sgml @@ -1890,6 +1890,9 @@ lo_import 152801 into the border=... attribute; in the other formats only values 0 (no border), 1 (internal dividing lines), and 2 (table frame) make sense. + latex and latex-longtable + also support a border value of 3 which adds + a dividing line between each row. @@ -1979,7 +1982,9 @@ lo_import 152801 Sets the output format to one of unaligned, aligned, wrapped, html, - latex, or troff-ms. + latex (uses tabular), + latex-longtable, or + troff-ms. Unique abbreviations are allowed. (That would mean one letter is enough.) @@ -2005,12 +2010,16 @@ lo_import 152801 - The html, latex, and troff-ms + The html, latex, + latex-longtable, and troff-ms formats put out tables that are intended to be included in documents using the respective mark-up - language. They are not complete documents! (This might not be - so dramatic in HTML, but in LaTeX you must - have a complete document wrapper.) + language. They are not complete documents! This might not be + necessary in HTML, but in + LaTeX you must have a complete + document wrapper. latex-longtable + also requires the LaTeX + longtable and booktabs packages. @@ -2141,9 +2150,8 @@ lo_import 152801 tableattr (or T) - Specifies attributes to be placed inside the - HTML table tag in - html output format. This + In HTML format, this specifies attributes + to be placed inside the table tag. This could for example be cellpadding or bgcolor. Note that you probably don't want to specify border here, as that is already @@ -2152,6 +2160,13 @@ lo_import 152801 value is given, the table attributes are unset. + + In latex-longtable format, this controls + the proportional width of each column containing a left-aligned + data type. It is specified as a space-separated list of values, + e.g. '0.2 0.2 0.6'. Unspecified output columns + use the last specified value. + -- cgit v1.2.3