7.2 Center section headings
As an application of the methods mentioned in Section 7.1, we can use CSS to adjust the alignment of headings. For example, you may center section headings of level 1, 2, and 3 with the CSS code below:
h1, h2, h3 {
text-align: center;
}
Please see Section 7.1 on how to apply the CSS to your Rmd document.
当前内容版权归 Chapman & Hall/CRC 或其关联方所有,如需对内容或内容相关联开源项目进行关注与资助,请访问 Chapman & Hall/CRC .