【发布时间】:2018-02-24 01:21:22
【问题描述】:
我想修改 Rmd 文档的“作者”和“日期”的默认字体大小和颜色。我查找并尝试使用 CSS 样式表对其进行修改。 “标题”的字体已修改,但我无法修改“作者”和“日期”。这是我迄今为止为“作者”所做的尝试。
<style type="text/css">
body{ /* Normal */
font-size: 14px;
}
h1.title {
font-size: 20px;
color: DarkRed;
}
h2.author {
font-size: 16px;
color: DarkBlue;
}
</style>
【问题讨论】:
-
是
<h4 class="author">。 -
非常感谢!!完美运行。
标签: html css fonts r-markdown