diff options
author | fiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b> | 2008-02-24 05:48:41 +0000 |
---|---|---|
committer | fiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b> | 2008-02-24 05:48:41 +0000 |
commit | 49e0e507b72c51da39882f37e405747101213353 (patch) | |
tree | 6669a46c9f45d6436b06de23b585a307661e4940 /tests/tables.texinfo | |
parent | 270eb7bed422ea5e742937fcd24933ffe8033fb4 (diff) | |
download | pandoc-49e0e507b72c51da39882f37e405747101213353.tar.gz |
Committed novalazy's initial patch for texinfo output,
including tests for texinfo writer.
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1243 788f1e2b-df1e-0410-8736-df70ead52e1b
Diffstat (limited to 'tests/tables.texinfo')
-rw-r--r-- | tests/tables.texinfo | 124 |
1 files changed, 124 insertions, 0 deletions
diff --git a/tests/tables.texinfo b/tests/tables.texinfo new file mode 100644 index 000000000..2b637d7d5 --- /dev/null +++ b/tests/tables.texinfo @@ -0,0 +1,124 @@ +@node Top +@top Top + +Simple table with caption: + +@float +@multitable @columnfractions 0.15 0.09 0.16 0.13 +@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 @columnfractions 0.15 0.09 0.16 0.13 +@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 @columnfractions 0.15 0.09 0.16 0.13 +@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 + |