如何更改Rpres中数学公式的字体大小?编者注:'Rpres‘是RStudio在其“表示”文件中使用的文件扩展名。显然,它已被用户采用,作为IDE的这一部分的缩写。在Code box size and font size in RPres中也面临着类似的问题,但它不能用数学公式来解决这个问题,这些公式不是与文本分离的大量代码的一部分,而是LaTeX代码的一部分。
例如,请考虑使用默认设置生成的幻灯片的这一部分:
The average height is 175cm, with a standard deviation of 10.
The z-score for a student 163cm is given by the formula:
$$z = (x - \mu)/\sigma$$
where $x$ is the student of our interest, $\mu$ is the distribution mean of
the school and $\sigma$.返回:

当然,Code box size and font size in RPres中建议的方法不会影响数学公式的大小。
发布于 2016-04-10 18:15:37
RPres文档和Rmarkdown文档中的数学公式是嵌入在Rmarkdown文档中的LateX代码块。
因此,数学公式或更一般的LaTeX文本的字体大小可以通过修改从\tiny到\HUGE的参数进行修改。
$$\Huge textblog.org$$将影响字体的大小:

发布于 2017-06-20 18:14:06
它对我也适用于$$\Huge z= \frac{x}{y}$$
https://stackoverflow.com/questions/36531820
复制相似问题