diff options
author | fiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b> | 2010-03-07 19:35:27 +0000 |
---|---|---|
committer | fiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b> | 2010-03-07 19:35:27 +0000 |
commit | 9eebaac7cf2c501dfef97220a718575d367a6b80 (patch) | |
tree | 442ef04f7f88f9e85a45131144c654900a20585c | |
parent | 53ffd8254273dd2974c9c0ea6fd17d5490354599 (diff) | |
download | pandoc-9eebaac7cf2c501dfef97220a718575d367a6b80.tar.gz |
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
-rw-r--r-- | tests/tables.html | 24 | ||||
-rw-r--r-- | tests/tables.latex | 17 |
2 files changed, 41 insertions, 0 deletions
diff --git a/tests/tables.html b/tests/tables.html index 42e3ec37f..54e7ae5bc 100644 --- a/tests/tables.html +++ b/tests/tables.html @@ -238,4 +238,28 @@ >1</td ></tr ></table +><p +>Multiline table without column headers:</p +><table +><tr class="odd" + ><td align="center" style="width: 15%;" + >First</td + ><td align="left" style="width: 13%;" + >row</td + ><td align="right" style="width: 16%;" + >12.0</td + ><td align="left" style="width: 33%;" + >Example of a row that spans multiple lines.</td + ></tr + ><tr class="even" + ><td align="center" + >Second</td + ><td align="left" + >row</td + ><td align="right" + >5.0</td + ><td align="left" + >Here's another one. Note the blank line between rows.</td + ></tr + ></table > diff --git a/tests/tables.latex b/tests/tables.latex index cef7abf1a..7f29b72c3 100644 --- a/tests/tables.latex +++ b/tests/tables.latex @@ -159,3 +159,20 @@ Table without column headers: \end{tabular} \end{center} +Multiline table without column headers: + +\begin{center} +\begin{tabular}{>{\PBS\centering\hspace{0pt}}p{0.15\columnwidth}>{\PBS\raggedright\hspace{0pt}}p{0.14\columnwidth}>{\PBS\raggedleft\hspace{0pt}}p{0.16\columnwidth}>{\PBS\raggedright\hspace{0pt}}p{0.34\columnwidth}} +First + & row + & 12.0 + & Example of a row that spans multiple lines. +\\ +Second + & row + & 5.0 + & Here's another one. Note the blank line between rows. +\\ +\end{tabular} +\end{center} + |