使用print.xtable更改表格的字体大小 [英] Changing the font size of table using print.xtable

查看:171
本文介绍了使用print.xtable更改表格的字体大小的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想使用print.xtable更改表格的字体大小.

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

使用

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

可以工作,但是我不知道其他尺寸选项.像size ="7pt"这样的东西会很好.

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

推荐答案

您可以使用\fontsize{<size>}{<line space>}命令选择特定的字体大小:

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

print(xt, size="\\fontsize{9pt}{10pt}\\selectfont")

这篇关于使用print.xtable更改表格的字体大小的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆