Sahar
Sahar

Reputation: 177

Pdf Markdown table vertical line

Is it possible to draw a vertical line between columns in pdf Markdown table? I am going to separate each column and make a table like this:enter image description here

Upvotes: 2

Views: 1918

Answers (2)

Gorka
Gorka

Reputation: 4043

For the sake of having a reproducible answer available:

library(xtable)
data(tli)
tli.table <- xtable(tli[1:10, ])
align(tli.table) <- "|rrl|l|lr|"
tli.table

Of course, for more details do check out the xtable document in George Dontas' response.

Upvotes: 2

Yorgos
Yorgos

Reputation: 30475

if you are using the xtable package, see 5.2 Column alignment here

Upvotes: 2

Related Questions