I want to display my grid.table in monospaced (fixed width) fonts.
How shall I specify this? Is it any particular fonts to be used, or any other arguments?
Thank you
grid.table(head(iris), theme=ttheme_default(base_family="monospace"))
This will use your system monospace font, which, in my case, is Cousine . Feel free to change it as you wish.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.