Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Changing the font size of table using print.xtable

I want to change the font size of the table using print.xtable.

Using

print(xT, size="\\tiny")

works but I don't know other options for size. Something like size="7pt" would be nice.

like image 912
b4154 Avatar asked Nov 30 '15 08:11

b4154


1 Answers

You may choose a particular font size with the \fontsize{<size>}{<line space>} command:

print(xt, size="\\fontsize{9pt}{10pt}\\selectfont")
like image 92
rcs Avatar answered Sep 27 '22 16:09

rcs