Skip to content

Commit d7c9d98

Browse files
authored
Rerender 091 following changes in yihui/knitr@b91452e (#77)
1 parent c2df9d3 commit d7c9d98

File tree

1 file changed

+14
-14
lines changed

1 file changed

+14
-14
lines changed

091-knitr-table.tex

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -202,59 +202,59 @@ \section{Default tables are ugly}
202202
\end{alltt}
203203
\end{kframe}
204204
\begin{tabular}{rrrrl}
205-
\toprule
205+
\toprule{}
206206
Sepal.Length & Sepal.Width & Petal.Length & Petal.Width & Species\\
207-
\midrule
207+
\midrule{}
208208
5.1 & 3.5 & 1.4 & 0.2 & setosa\\
209209
4.9 & 3.0 & 1.4 & 0.2 & setosa\\
210210
4.7 & 3.2 & 1.3 & 0.2 & setosa\\
211211
4.6 & 3.1 & 1.5 & 0.2 & setosa\\
212212
5.0 & 3.6 & 1.4 & 0.2 & setosa\\
213213
\addlinespace
214214
5.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{}
224224
Sepal.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{}
236236
Sepal.Length & Sepal.Width & Petal.Length & Petal.Width & Species\\
237-
\midrule
237+
\midrule{}
238238
5.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{}
250250
Mazda RX4 & 21.0 & 6 & 160 & 110 & 3.90 & 2.620 & 16.46\\
251251
Mazda RX4 Wag & 21.0 & 6 & 160 & 110 & 3.90 & 2.875 & 17.02\\
252252
Datsun 710 & 22.8 & 4 & 108 & 93 & 3.85 & 2.320 & 18.61\\
253253
Hornet 4 Drive & 21.4 & 6 & 258 & 110 & 3.08 & 3.215 & 19.44\\
254254
Hornet Sportabout & 18.7 & 8 & 360 & 175 & 3.15 & 3.440 & 17.02\\
255255
\addlinespace
256256
Valiant & 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{}
273273
Mazda RX4 & 21.0 & 6 & 160.0 & 110 & 3.90 & 2.620 & 16.46\\
274274
Mazda RX4 Wag & 21.0 & 6 & 160.0 & 110 & 3.90 & 2.875 & 17.02\\
275275
Datsun 710 & 22.8 & 4 & 108.0 & 93 & 3.85 & 2.320 & 18.61\\
@@ -308,7 +308,7 @@ \section{Long tables}
308308
\addlinespace
309309
Maserati Bora & 15.0 & 8 & 301.0 & 335 & 3.54 & 3.570 & 14.60\\
310310
Volvo 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

Comments
 (0)