@@ -202,59 +202,59 @@ \section{Default tables are ugly}
202202\end {alltt }
203203\end {kframe }
204204\begin {tabular }{rrrrl}
205- \toprule
205+ \toprule {}
206206Sepal.Length & Sepal.Width & Petal.Length & Petal.Width & Species\\
207- \midrule
207+ \midrule {}
2082085.1 & 3.5 & 1.4 & 0.2 & setosa\\
2092094.9 & 3.0 & 1.4 & 0.2 & setosa\\
2102104.7 & 3.2 & 1.3 & 0.2 & setosa\\
2112114.6 & 3.1 & 1.5 & 0.2 & setosa\\
2122125.0 & 3.6 & 1.4 & 0.2 & setosa\\
213213\addlinespace
2142145.4 & 3.9 & 1.7 & 0.4 & setosa\\
215- \bottomrule
215+ \bottomrule {}
216216\end {tabular }
217217
218218\begin {kframe }\begin {alltt }
219219\hlkwd{kable}\hlstd{(}\hlkwd{head}\hlstd{(iris,} \hlnum{0}\hlstd{),} \hlkwc{row.names} \hlstd{=} \hlnum{FALSE}\hlstd{,} \hlkwc{booktabs} \hlstd{=} \hlnum{TRUE}\hlstd{)}
220220\end {alltt }
221221\end {kframe }
222222\begin {tabular }{rrrrl}
223- \toprule
223+ \toprule {}
224224Sepal.Length & Sepal.Width & Petal.Length & Petal.Width & Species\\
225225
226226
227- \bottomrule
227+ \bottomrule {}
228228\end {tabular }
229229
230230\begin {kframe }\begin {alltt }
231231\hlkwd{kable}\hlstd{(}\hlkwd{head}\hlstd{(iris,} \hlnum{1}\hlstd{),} \hlkwc{row.names} \hlstd{=} \hlnum{FALSE}\hlstd{,} \hlkwc{booktabs} \hlstd{=} \hlnum{TRUE}\hlstd{)}
232232\end {alltt }
233233\end {kframe }
234234\begin {tabular }{rrrrl}
235- \toprule
235+ \toprule {}
236236Sepal.Length & Sepal.Width & Petal.Length & Petal.Width & Species\\
237- \midrule
237+ \midrule {}
2382385.1 & 3.5 & 1.4 & 0.2 & setosa\\
239- \bottomrule
239+ \bottomrule {}
240240\end {tabular }
241241
242242\begin {kframe }\begin {alltt }
243243\hlkwd{kable}\hlstd{(}\hlkwd{head}\hlstd{(mtcars[,} \hlnum{1}\hlopt{:}\hlnum{7}\hlstd{]),} \hlkwc{booktabs} \hlstd{=} \hlnum{TRUE}\hlstd{)}
244244\end {alltt }
245245\end {kframe }
246246\begin {tabular }{lrrrrrrr}
247- \toprule
247+ \toprule {}
248248 & mpg & cyl & disp & hp & drat & wt & qsec\\
249- \midrule
249+ \midrule {}
250250Mazda RX4 & 21.0 & 6 & 160 & 110 & 3.90 & 2.620 & 16.46\\
251251Mazda RX4 Wag & 21.0 & 6 & 160 & 110 & 3.90 & 2.875 & 17.02\\
252252Datsun 710 & 22.8 & 4 & 108 & 93 & 3.85 & 2.320 & 18.61\\
253253Hornet 4 Drive & 21.4 & 6 & 258 & 110 & 3.08 & 3.215 & 19.44\\
254254Hornet Sportabout & 18.7 & 8 & 360 & 175 & 3.15 & 3.440 & 17.02\\
255255\addlinespace
256256Valiant & 18.1 & 6 & 225 & 105 & 2.76 & 3.460 & 20.22\\
257- \bottomrule
257+ \bottomrule {}
258258\end {tabular }
259259
260260
@@ -267,9 +267,9 @@ \section{Long tables}
267267\end {alltt }
268268\end {kframe }
269269\begin {longtable }{lrrrrrrr}
270- \toprule
270+ \toprule {}
271271 & mpg & cyl & disp & hp & drat & wt & qsec\\
272- \midrule
272+ \midrule {}
273273Mazda RX4 & 21.0 & 6 & 160.0 & 110 & 3.90 & 2.620 & 16.46\\
274274Mazda RX4 Wag & 21.0 & 6 & 160.0 & 110 & 3.90 & 2.875 & 17.02\\
275275Datsun 710 & 22.8 & 4 & 108.0 & 93 & 3.85 & 2.320 & 18.61\\
@@ -308,7 +308,7 @@ \section{Long tables}
308308\addlinespace
309309Maserati Bora & 15.0 & 8 & 301.0 & 335 & 3.54 & 3.570 & 14.60\\
310310Volvo 142E & 21.4 & 4 & 121.0 & 109 & 4.11 & 2.780 & 18.60\\
311- \bottomrule
311+ \bottomrule {}
312312\end {longtable }
313313
314314
0 commit comments