Jose Luis Duran
ec2fc30288
Retake on strut with \minipage inside tables
...
Reimplement on 4c684561ee
The problem with 4c68456
was a space between the cell contents and the
`\strut` that affected the alignment.
2016-05-11 14:02:09 -03:00
John MacFarlane
32f1b0a5f1
Revert "LaTeX writer: Add \strut
to fix multiline tables"
...
This reverts commit 4c684561ee
.
See
https://groups.google.com/d/msg/pandoc-discuss/u6J-_aCProU/UufN3IYRAgAJ
This should fix uneven spacing issues in multiline tables.
2016-04-27 17:25:45 -07:00
John MacFarlane
7ea4d17509
Adjusted longtable in tests.
...
New default is not to include `[c]` option.
2016-01-20 09:59:35 -08:00
Jose Luis Duran
4c684561ee
LaTeX writer: Add \strut
to fix multiline tables
...
See: http://tex.stackexchange.com/questions/34971
2014-08-29 13:54:08 +00:00
Jose Luis Duran
f1d330b7b5
LaTeX writer: Fix tables
...
- [x] Fix a bug introduced in 66378062b6
, which
causes the table caption to repeat across all pages
- [x] Address the issues discussed
[here](https://groups.google.com/forum/#!msg/pandoc-discuss/qMu6_5lYy0o/ZAU7lzAIKw0J )
regarding the extra vertical space.
- [ ] NOTE: This will cause multiline table cells to appear unpadded. See
http://tex.stackexchange.com/questions/34971
- [x] Use [`\tabularnewline`](http://tex.stackexchange.com/questions/78796 )
instead of `\\`.
2014-08-28 02:02:20 +00:00
John MacFarlane
66378062b6
LaTeX writer: Put table captions above tables.
...
The standard seems to be captions above tables. (See
http://tex.stackexchange.com/questions/3243/why-should-a-table-caption-be-placed-above-the-table )
2014-07-10 13:06:41 -07:00
Jose Luis Duran
fdaeec0c48
Add booktabs package for LaTeX tables
...
[ci skip]
2013-12-04 04:26:22 +00:00
John MacFarlane
e8ddcfd997
Scale LaTeX tables so they don't exceed columnwidth.
2013-08-19 16:03:22 -07:00
John MacFarlane
cc17c794a1
Updated latex table tests.
2013-01-28 10:49:18 -08:00
John MacFarlane
7d74a916ff
Updated table tests for latex writer changes.
2013-01-05 20:03:50 -08:00
John MacFarlane
fc4ae15337
LaTeX writer: Don't use \endhead with longtable.
...
It causes the heading to be a different size form the body,
sometimes.
2012-09-15 20:40:48 -07:00
John MacFarlane
a71ac7cde7
Revised latex writer tests to use longtable.
2012-09-15 17:57:22 -04:00
John MacFarlane
4e35c67c23
LaTeX writer: More consistent interblock spacing.
2012-05-14 07:04:47 -07:00
John MacFarlane
60fb915351
Use {} around ctable caption. Closes #445 .
2012-03-12 11:06:49 -07:00
John MacFarlane
b5411c06aa
Improved LaTeX tables.
...
* Use ctable package, which allows footnotes and
provides additional options.
* Made cell alignments work in multiline tables.
* Closes #272 .
2011-07-10 12:33:45 -07:00
John MacFarlane
81403b8d80
LateX writer: In nonsimple tables, put cells in \parbox.
...
Otherwise we can get problems with linebreaks, and cell spacing
isn't right.
Thanks to Jef Allbright for pointing out the problem.
2011-01-14 14:45:04 -08:00
John MacFarlane
93c3e27731
pandoc: Add newline to output unless standalone.
...
This avoids output that does not end with a newline, which
is inconvenient when working with many tools.
Updated tests accordingly.
2011-01-06 21:05:28 -08:00
John MacFarlane
feb70b6e93
Made spacing at end of output more consistent.
...
Previously some of the writers added spurious whitespace.
This has been removed, resolving Issue #232 .
NOTE: If your application combines pandoc's output with other
text, for example in a template, you may need to add spacing.
For example, a pandoc-generated markdown file will not have
a blank line after the final block element. If you are inserting
it into another markdown file, you will need to make sure there
is a blank line between it and the next block element.
2010-07-20 12:42:12 -07:00
fiddlosopher
9eebaac7cf
Updated latex and html table tests for new test case.
...
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1866 788f1e2b-df1e-0410-8736-df70ead52e1b
2010-03-07 19:35:27 +00:00
fiddlosopher
44bbe5c7de
Added test for headerless table.
...
Updated test cases for latex and html.
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1862 788f1e2b-df1e-0410-8736-df70ead52e1b
2010-03-07 19:34:57 +00:00
fiddlosopher
98ff6b2fd0
Better looking simple tables. Resolves Issue #180 .
...
* 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
2009-11-28 03:22:33 +00:00
fiddlosopher
7ff2706838
Removed extra blank lines at end of LaTeX writer tests.
...
git-svn-id: https://pandoc.googlecode.com/svn/trunk@966 788f1e2b-df1e-0410-8736-df70ead52e1b
2007-08-30 22:49:41 +00:00
fiddlosopher
de72aea6b4
Brought test suite up to date.
...
git-svn-id: https://pandoc.googlecode.com/svn/trunk@828 788f1e2b-df1e-0410-8736-df70ead52e1b
2007-07-28 19:15:30 +00:00
fiddlosopher
06208f4e25
LaTeX writer tests updated,
...
+ for new handling of verbatim environments
+ for change from textwidth to columnwidth in table output
(so that tables look right in columnar output)
git-svn-id: https://pandoc.googlecode.com/svn/trunk@811 788f1e2b-df1e-0410-8736-df70ead52e1b
2007-07-28 02:32:28 +00:00
fiddlosopher
8bbd11bf21
+ Cleaned up runtests.pl. Incorporated table tests in loop with
...
main writer tests.
+ Renamed tables.tex to tables.latex, tables.db to tables.docbook,
for consistency with the writer tests.
git-svn-id: https://pandoc.googlecode.com/svn/trunk@661 788f1e2b-df1e-0410-8736-df70ead52e1b
2007-07-09 02:19:15 +00:00