98ff6b2fd0
* Markdown reader: simple tables are now given column widths of 0. * Column width of 0 is interpreted as meaning: use default column width. * Writers now include explicit column width information only for multiline tables. (Exception: RTF writer, which requires column widths. In this case, columns are given equal widths, adding up to the text width.) * Simple tables should now look better in most output formats. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1631 788f1e2b-df1e-0410-8736-df70ead52e1b
124 lines
1.7 KiB
Text
124 lines
1.7 KiB
Text
@node Top
|
|
@top Top
|
|
|
|
Simple table with caption:
|
|
|
|
@float
|
|
@multitable {Right} {Left} {Center} {Default}
|
|
@headitem
|
|
Right
|
|
@tab Left
|
|
@tab Center
|
|
@tab Default
|
|
@item
|
|
12
|
|
@tab 12
|
|
@tab 12
|
|
@tab 12
|
|
@item
|
|
123
|
|
@tab 123
|
|
@tab 123
|
|
@tab 123
|
|
@item
|
|
1
|
|
@tab 1
|
|
@tab 1
|
|
@tab 1
|
|
@end multitable
|
|
@caption{Demonstration of simple table syntax.}
|
|
@end float
|
|
Simple table without caption:
|
|
|
|
@multitable {Right} {Left} {Center} {Default}
|
|
@headitem
|
|
Right
|
|
@tab Left
|
|
@tab Center
|
|
@tab Default
|
|
@item
|
|
12
|
|
@tab 12
|
|
@tab 12
|
|
@tab 12
|
|
@item
|
|
123
|
|
@tab 123
|
|
@tab 123
|
|
@tab 123
|
|
@item
|
|
1
|
|
@tab 1
|
|
@tab 1
|
|
@tab 1
|
|
@end multitable
|
|
|
|
Simple table indented two spaces:
|
|
|
|
@float
|
|
@multitable {Right} {Left} {Center} {Default}
|
|
@headitem
|
|
Right
|
|
@tab Left
|
|
@tab Center
|
|
@tab Default
|
|
@item
|
|
12
|
|
@tab 12
|
|
@tab 12
|
|
@tab 12
|
|
@item
|
|
123
|
|
@tab 123
|
|
@tab 123
|
|
@tab 123
|
|
@item
|
|
1
|
|
@tab 1
|
|
@tab 1
|
|
@tab 1
|
|
@end multitable
|
|
@caption{Demonstration of simple table syntax.}
|
|
@end float
|
|
Multiline table with caption:
|
|
|
|
@float
|
|
@multitable @columnfractions 0.15 0.14 0.16 0.34
|
|
@headitem
|
|
Centered Header
|
|
@tab Left Aligned
|
|
@tab Right Aligned
|
|
@tab Default aligned
|
|
@item
|
|
First
|
|
@tab row
|
|
@tab 12.0
|
|
@tab Example of a row that spans multiple lines.
|
|
@item
|
|
Second
|
|
@tab row
|
|
@tab 5.0
|
|
@tab Here's another one. Note the blank line between rows.
|
|
@end multitable
|
|
@caption{Here's the caption. It may span multiple lines.}
|
|
@end float
|
|
Multiline table without caption:
|
|
|
|
@multitable @columnfractions 0.15 0.14 0.16 0.34
|
|
@headitem
|
|
Centered Header
|
|
@tab Left Aligned
|
|
@tab Right Aligned
|
|
@tab Default aligned
|
|
@item
|
|
First
|
|
@tab row
|
|
@tab 12.0
|
|
@tab Example of a row that spans multiple lines.
|
|
@item
|
|
Second
|
|
@tab row
|
|
@tab 5.0
|
|
@tab Here's another one. Note the blank line between rows.
|
|
@end multitable
|
|
|