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
This commit is contained in:
fiddlosopher 2010-03-07 19:35:27 +00:00
parent 53ffd82542
commit 9eebaac7cf
2 changed files with 41 additions and 0 deletions

View file

@ -238,4 +238,28 @@
>1</td >1</td
></tr ></tr
></table ></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
> >

View file

@ -159,3 +159,20 @@ Table without column headers:
\end{tabular} \end{tabular}
\end{center} \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}