【发布时间】:2016-04-22 11:17:01
【问题描述】:
我正在尝试使用 RStudio 更改我的 RPresentation 中的字体。虽然 font-size 适用于有序列表和无序列表,但我无法使其适用于自定义类。
<style>
.reveal p {font-size: 35px;}
.reveal ul,
.reveal ol {
font-size: 25px;
}
.mypara1 {
color: red;
font-size: 10px;
}
.mypara2 {
color: blue;
font-size: 40px;
}
.redText {
color: red;
font-weight: bold;
}
.highlightGreen { background-color:#40FF00; }
.highlightOrange { background-color:#FE9A2E; }
</style>
ZTest
========================================================
author: Mickey
date:
First Slide
========================================================
For more details on authoring R presentations click the
**Help** button on the toolbar.
- Bullet 1
- Bullet 2
- Bullet 3
<br>
<ol>
<li>List1</li>
<li>List2</li>
<li>List3</li>
</ol>
Second Slide
========================================================
<h5> This is h5 font</h5>
<h6> This is h6 font</h6>
<span class="mypara1">mypara1 font-size: 10px</span><br>
<span class="mypara2">mypara2 font-size: 40px </span><br>
<small>Small Text </small><br>
<span class="highlightGreen">Green Highlight</span> <br>
<span class="redText">Red Text</span>
请参阅下面的屏幕截图... mypara1 和 mypara2 都以相同的大小显示,即使我为它们分配了不同的字体大小。,
【问题讨论】:
标签: rstudio r-markdown