如何在带有LaTeX表达式的句子中应用粗体或标题格式?


大魔王
2025-03-18 09:13:51 (1月前)
  1. 所以我正在尝试在Rstudio中编写一个文档,并且我有很多带有内联LaTeX表达式的句子。其中一些句子,我想要完全粗体,或者将它们变成文档......

2 条回复
  1. 0# 庸人自扰1 | 2019-08-31 10-32



    您可以添加一些自动打开的代码

    \boldmath

    一旦

    \bfseries

    使用,c.f。

    https://tex.stackexchange.com/a/124311/140850



    1. <code>
    2.   ---
    3. output: pdf_document

      \makeatletter
      \g@addto@macro\bfseries{\boldmath}
      \makeatother

    4. (a) Prove that $E(b_R) = \beta_1 + P\beta_2$.

    5. (a) Prove that $E(b_R) = \beta_1 + P\beta_2$.

      (a) How to indent this line, and boldface everything: Prove that $E(b_R) = \beta_1 + P\beta_2$.

    6. *(a) How can I make this an un-ordered list, all boldface: Prove that $E(b_R) = \beta_1 + P\beta_2$.
      +(a) Can this line be a subpoint to the first, in all boldface? Prove that $E(b_R) = \beta_1 + P\beta_2$.

    7. </code>


    输出:








    当然最好将代码添加到某些代码中

    tex

    包含的文件。


登录 后才能参与评论