【发布时间】:2018-07-02 20:20:50
【问题描述】:
我想更改 R Markdown 输出中字幕的样式,并有两个请求:
- 如何使标题标签加粗?
- 如何在标题标签后添加换行符?例如,我想在“表 1”和标题之间输入一行。
这是一个例子:
caption <-
" April is the cruellest month, breeding
Lilacs out of the dead land, mixing
Memory and desire, stirring
Dull roots with spring rain.
Winter kept us warm, covering
Earth in forgetful snow, feeding
A little life with dried tubers.
Summer surprised us, coming over the Starnbergersee
With a shower of rain; we stopped in the colonnade,
And went on in sunlight, into the Hofgarten,
And drank coffee, and talked for an hour.
Bin gar keine Russin, stamm’ aus Litauen, echt deutsch.
And when we were children, staying at the arch-duke’s,
My cousin’s, he took me out on a sled,
And I was frightened. He said, Marie,
Marie, hold on tight. And down we went.
In the mountains, there you feel free.
I read, much of the night, and go south in the winter."
kable(mtcars, format = 'latex', caption = caption)
【问题讨论】:
-
描述你的问题到底是什么。
标签: r latex r-markdown kable