- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
如何更改 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$.
最佳答案
RPres 文档和 Rmarkdown 文档中的数学公式是嵌入在 Rmarkdown 文档中的 LateX 代码块。
因此,数学公式或更一般地,LaTeX 文本的字体大小可以通过 \tiny
范围内的参数进行修改。至\HUGE
:
$$\Huge textblog.org$$
关于r - 更改 RPres 中的数学公式字体大小,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/36531820/
我得到了以下 Excel 公式来计算法国系统贷款利息: =+G15*B15/(1-(1+G15)^(-H15)) 地点: G15 = 1.33% B15 = importe H15 = plazo 由
我必须构建一个像这样的序列 (amount-(amount/36*1)) + (amount-(amount/36*1 + amount-amount/36*2)) + (amount-(amount
在R语言的绘图函数中,如果文本参数是合法的R语言表达式,那么这个表达式就被用Tex类似的规则进行文本格式化。 y <- function(x) (exp(-(x^2)/2))/sqrt(2
我喜欢转换旧的 BASIC 游戏——我遇到了一个有这个奇怪公式的游戏。目前我正在用 Pascal 编写,但我可以用任何语言编写。翻遍代码后,我找不到这个 var 是否在使用,但仍然想知道当时 BASI
我需要在 C 中实现这个数学公式: 我写了一段代码: #include int c(int n, int k) { if(k == 0) return n; if(c
关闭。这个问题是off-topic .它目前不接受答案。 想改进这个问题吗? Update the question所以它是on-topic用于堆栈溢出。 关闭 10 年前。 Improve thi
是否有任何常规范式来表示可以被计算机读取的数学公式? 我正在研究一些数学问题,并有某种 TDD 方法来解决它。每次我陷入一个证明(或者只是我还没有证明,但是对结果应该是什么的一些直觉)时,我倾向于编写
我正在尝试用 C 语言实现一个数学公式来计算特定 Runescape 级别所需的 XP,但我没有得到正确的输出。 1 级给出“75”XP,99 级给出“11059837”。我的实现有什么问题吗?我想不
我想在绘图中添加一个包含 Latex 公式的 geom_text(),以描述 2 个矩阵中每个值的平均百分比: library(latex2exp) library(ggplot2) library(
我是一名优秀的程序员,十分优秀!