git.iko.soy/typeable/pandoc
on master help sign in
Updated table tests.
6beeb49John MacFarlane
test/tables.latex+36−36
@@ -52,45 +52,45 @@ Multiline table with caption:
52\begin{longtable}[]{@{}clrl@{}}
52\begin{longtable}[]{@{}clrl@{}}
53\caption{Here's the caption. It may span multiple lines.}\tabularnewline
53\caption{Here's the caption. It may span multiple lines.}\tabularnewline
54\toprule
54\toprule
55−\begin{minipage}[b]{0.13\columnwidth}\centering\strut
55+\begin{minipage}[b]{0.13\columnwidth}\centering
56Centered Header\strut
56Centered Header\strut
57−\end{minipage} & \begin{minipage}[b]{0.12\columnwidth}\raggedright\strut
57+\end{minipage} & \begin{minipage}[b]{0.12\columnwidth}\raggedright
58Left Aligned\strut
58Left Aligned\strut
59−\end{minipage} & \begin{minipage}[b]{0.14\columnwidth}\raggedleft\strut
59+\end{minipage} & \begin{minipage}[b]{0.14\columnwidth}\raggedleft
60Right Aligned\strut
60Right Aligned\strut
61−\end{minipage} & \begin{minipage}[b]{0.30\columnwidth}\raggedright\strut
61+\end{minipage} & \begin{minipage}[b]{0.30\columnwidth}\raggedright
62Default aligned\strut
62Default aligned\strut
63\end{minipage}\tabularnewline
63\end{minipage}\tabularnewline
64\midrule
64\midrule
65\endfirsthead
65\endfirsthead
66\toprule
66\toprule
67−\begin{minipage}[b]{0.13\columnwidth}\centering\strut
67+\begin{minipage}[b]{0.13\columnwidth}\centering
68Centered Header\strut
68Centered Header\strut
69−\end{minipage} & \begin{minipage}[b]{0.12\columnwidth}\raggedright\strut
69+\end{minipage} & \begin{minipage}[b]{0.12\columnwidth}\raggedright
70Left Aligned\strut
70Left Aligned\strut
71−\end{minipage} & \begin{minipage}[b]{0.14\columnwidth}\raggedleft\strut
71+\end{minipage} & \begin{minipage}[b]{0.14\columnwidth}\raggedleft
72Right Aligned\strut
72Right Aligned\strut
73−\end{minipage} & \begin{minipage}[b]{0.30\columnwidth}\raggedright\strut
73+\end{minipage} & \begin{minipage}[b]{0.30\columnwidth}\raggedright
74Default aligned\strut
74Default aligned\strut
75\end{minipage}\tabularnewline
75\end{minipage}\tabularnewline
76\midrule
76\midrule
77\endhead
77\endhead
78−\begin{minipage}[t]{0.13\columnwidth}\centering\strut
78+\begin{minipage}[t]{0.13\columnwidth}\centering
79First\strut
79First\strut
80−\end{minipage} & \begin{minipage}[t]{0.12\columnwidth}\raggedright\strut
80+\end{minipage} & \begin{minipage}[t]{0.12\columnwidth}\raggedright
81row\strut
81row\strut
82−\end{minipage} & \begin{minipage}[t]{0.14\columnwidth}\raggedleft\strut
82+\end{minipage} & \begin{minipage}[t]{0.14\columnwidth}\raggedleft
8312.0\strut
8312.0\strut
84−\end{minipage} & \begin{minipage}[t]{0.30\columnwidth}\raggedright\strut
84+\end{minipage} & \begin{minipage}[t]{0.30\columnwidth}\raggedright
85Example of a row that spans multiple lines.\strut
85Example of a row that spans multiple lines.\strut
86\end{minipage}\tabularnewline
86\end{minipage}\tabularnewline
87−\begin{minipage}[t]{0.13\columnwidth}\centering\strut
87+\begin{minipage}[t]{0.13\columnwidth}\centering
88Second\strut
88Second\strut
89−\end{minipage} & \begin{minipage}[t]{0.12\columnwidth}\raggedright\strut
89+\end{minipage} & \begin{minipage}[t]{0.12\columnwidth}\raggedright
90row\strut
90row\strut
91−\end{minipage} & \begin{minipage}[t]{0.14\columnwidth}\raggedleft\strut
91+\end{minipage} & \begin{minipage}[t]{0.14\columnwidth}\raggedleft
925.0\strut
925.0\strut
93−\end{minipage} & \begin{minipage}[t]{0.30\columnwidth}\raggedright\strut
93+\end{minipage} & \begin{minipage}[t]{0.30\columnwidth}\raggedright
94Here's another one. Note the blank line between rows.\strut
94Here's another one. Note the blank line between rows.\strut
95\end{minipage}\tabularnewline
95\end{minipage}\tabularnewline
96\bottomrule
96\bottomrule
@@ -100,33 +100,33 @@ Multiline table without caption:
100
100
101\begin{longtable}[]{@{}clrl@{}}
101\begin{longtable}[]{@{}clrl@{}}
102\toprule
102\toprule
103−\begin{minipage}[b]{0.13\columnwidth}\centering\strut
103+\begin{minipage}[b]{0.13\columnwidth}\centering
104Centered Header\strut
104Centered Header\strut
105−\end{minipage} & \begin{minipage}[b]{0.12\columnwidth}\raggedright\strut
105+\end{minipage} & \begin{minipage}[b]{0.12\columnwidth}\raggedright
106Left Aligned\strut
106Left Aligned\strut
107−\end{minipage} & \begin{minipage}[b]{0.14\columnwidth}\raggedleft\strut
107+\end{minipage} & \begin{minipage}[b]{0.14\columnwidth}\raggedleft
108Right Aligned\strut
108Right Aligned\strut
109−\end{minipage} & \begin{minipage}[b]{0.30\columnwidth}\raggedright\strut
109+\end{minipage} & \begin{minipage}[b]{0.30\columnwidth}\raggedright
110Default aligned\strut
110Default aligned\strut
111\end{minipage}\tabularnewline
111\end{minipage}\tabularnewline
112\midrule
112\midrule
113\endhead
113\endhead
114−\begin{minipage}[t]{0.13\columnwidth}\centering\strut
114+\begin{minipage}[t]{0.13\columnwidth}\centering
115First\strut
115First\strut
116−\end{minipage} & \begin{minipage}[t]{0.12\columnwidth}\raggedright\strut
116+\end{minipage} & \begin{minipage}[t]{0.12\columnwidth}\raggedright
117row\strut
117row\strut
118−\end{minipage} & \begin{minipage}[t]{0.14\columnwidth}\raggedleft\strut
118+\end{minipage} & \begin{minipage}[t]{0.14\columnwidth}\raggedleft
11912.0\strut
11912.0\strut
120−\end{minipage} & \begin{minipage}[t]{0.30\columnwidth}\raggedright\strut
120+\end{minipage} & \begin{minipage}[t]{0.30\columnwidth}\raggedright
121Example of a row that spans multiple lines.\strut
121Example of a row that spans multiple lines.\strut
122\end{minipage}\tabularnewline
122\end{minipage}\tabularnewline
123−\begin{minipage}[t]{0.13\columnwidth}\centering\strut
123+\begin{minipage}[t]{0.13\columnwidth}\centering
124Second\strut
124Second\strut
125−\end{minipage} & \begin{minipage}[t]{0.12\columnwidth}\raggedright\strut
125+\end{minipage} & \begin{minipage}[t]{0.12\columnwidth}\raggedright
126row\strut
126row\strut
127−\end{minipage} & \begin{minipage}[t]{0.14\columnwidth}\raggedleft\strut
127+\end{minipage} & \begin{minipage}[t]{0.14\columnwidth}\raggedleft
1285.0\strut
1285.0\strut
129−\end{minipage} & \begin{minipage}[t]{0.30\columnwidth}\raggedright\strut
129+\end{minipage} & \begin{minipage}[t]{0.30\columnwidth}\raggedright
130Here's another one. Note the blank line between rows.\strut
130Here's another one. Note the blank line between rows.\strut
131\end{minipage}\tabularnewline
131\end{minipage}\tabularnewline
132\bottomrule
132\bottomrule
@@ -146,22 +146,22 @@ Multiline table without column headers:
146
146
147\begin{longtable}[]{@{}clrl@{}}
147\begin{longtable}[]{@{}clrl@{}}
148\toprule
148\toprule
149−\begin{minipage}[t]{0.13\columnwidth}\centering\strut
149+\begin{minipage}[t]{0.13\columnwidth}\centering
150First\strut
150First\strut
151−\end{minipage} & \begin{minipage}[t]{0.12\columnwidth}\raggedright\strut
151+\end{minipage} & \begin{minipage}[t]{0.12\columnwidth}\raggedright
152row\strut
152row\strut
153−\end{minipage} & \begin{minipage}[t]{0.14\columnwidth}\raggedleft\strut
153+\end{minipage} & \begin{minipage}[t]{0.14\columnwidth}\raggedleft
15412.0\strut
15412.0\strut
155−\end{minipage} & \begin{minipage}[t]{0.30\columnwidth}\raggedright\strut
155+\end{minipage} & \begin{minipage}[t]{0.30\columnwidth}\raggedright
156Example of a row that spans multiple lines.\strut
156Example of a row that spans multiple lines.\strut
157\end{minipage}\tabularnewline
157\end{minipage}\tabularnewline
158−\begin{minipage}[t]{0.13\columnwidth}\centering\strut
158+\begin{minipage}[t]{0.13\columnwidth}\centering
159Second\strut
159Second\strut
160−\end{minipage} & \begin{minipage}[t]{0.12\columnwidth}\raggedright\strut
160+\end{minipage} & \begin{minipage}[t]{0.12\columnwidth}\raggedright
161row\strut
161row\strut
162−\end{minipage} & \begin{minipage}[t]{0.14\columnwidth}\raggedleft\strut
162+\end{minipage} & \begin{minipage}[t]{0.14\columnwidth}\raggedleft
1635.0\strut
1635.0\strut
164−\end{minipage} & \begin{minipage}[t]{0.30\columnwidth}\raggedright\strut
164+\end{minipage} & \begin{minipage}[t]{0.30\columnwidth}\raggedright
165Here's another one. Note the blank line between rows.\strut
165Here's another one. Note the blank line between rows.\strut
166\end{minipage}\tabularnewline
166\end{minipage}\tabularnewline
167\bottomrule
167\bottomrule