英文:
Bold italic capital Greek letters in maths
问题
I'm using R and Bookdown. In the html output I'd like to have an inline boldface italic capital Greek letter. I've tried a variety of inputs, for example
...some text $\bm{\varGamma}$ some text...
...some text $\boldsymbol{\varGamma}$ some text...
...some text $\mathbf{\varGamma}$ some text...
This unanswered question asks about boldface Greek, but the suggestion in the comments of using \mathbf
works only with \Gamma
. I haven't found any questions about italic capital Greek letters.
Edit: the second input line above works, as explained in the accepted answer below. The real problem came from \varGamma
which seems to cause trouble with Bookdown's epub output.
英文:
I'm using R and Bookdown. In the html output I'd like to have an inline boldface italic capital Greek letter. I've tried a variety of inputs, for example
...some text $\bm{\varGamma}$ some text...
...some text $\boldsymbol{\varGamma}$ some text...
...some text $\mathbf{\varGamma}$ some text...
This unanswered question asks about boldface Greek, but the suggestion in the comments of using \mathbf
works only with \Gamma
. I haven't found any questions about italic capital Greek letters.
Edit: the second input line above works, as explained in the accepted answer below. The real problem came from \varGamma
which seems to cause trouble with Bookdown's epub output.
答案1
得分: 2
boldsymbol
也可以在使用 html_document
时工作,但要注意 bm 和 boldsymbols 之间的区别:
---
output: html_document
---
...一些文本 **粗体**:$\boldsymbol{\varGamma}$ 一些文本... 不粗体:${\varGamma}$.
英文:
boldsymbol
also works using html_document
, but be aware of difference between bm and boldsymbols:
---
output: html_document
---
...some text **bold**: $\boldsymbol{\varGamma}$ some text... not bold: ${\varGamma}$.
答案2
得分: 1
Edit: leaving this here in case it helps someone else although @Julian's answer is better in this case, poor man's bold is a last resort for bold fonts.
尝试使用"贫人加粗"。 $\pmb{\varGamma}$
普通数学伽玛: $\Gamma$
斜体数学伽玛: $\varGamma$
普通粗斜体伽玛不起作用: $\mathbf{\varGamma}$
'贫人加粗' 斜体伽玛起作用: $\pmb{\varGamma}$
英文:
Edit: leaving this here in case it helps someone else although @Julian's answer is better in this case, poor mans bold is a last resort for bold fonts.
Try poor mans bold. $\pmb{\varGamma}$
Regular math gamma: $\Gamma$
Italic math gamma: $\varGamma$
Regular bold italic gamma doesn't work: $\mathbf{\varGamma}$
'Poor Mans Bold' Italic gamma does work: $\pmb{\varGamma}$
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论