bookdown icon indicating copy to clipboard operation
bookdown copied to clipboard

How to write bold but non-Italic Geek letters in bookdown html

Open wangzhen89 opened this issue 1 year ago • 5 comments

Hi guys,

How to write bold but non-Italic Greek letters in bookdown html? One solution may be the commond \symrm, but it doesn't work for me, as it failed to render .

I've checked here, there is \symrm in the list. So I can't figure out why.

Thanks!

wangzhen89 avatar Apr 13 '24 08:04 wangzhen89

I've checked here, there is \symrm in the list. So I can't figure out why.

I believe bookdown is using mathjax 2.7 by default. and the command is not there: https://docs.mathjax.org/en/v2.7-latest/tex.html

Unfortunately using a different version is not well supported in bookdown without some bigger adjustment

  • https://github.com/rstudio/bookdown/issues/1364
  • https://github.com/rstudio/bookdown/issues/915

So I don't have easy solution around this, except if you can define a custom command to reproduce the symrm maybe

cderv avatar Apr 13 '24 19:04 cderv

I got it, thanks!

wangzhen89 avatar Apr 14 '24 00:04 wangzhen89

Hi, Dear cderv, maybe I have a solution from here

Is there any way to set to the URL of the MathJax to https://cdn.jsdelivr.net/npm/[email protected]/unpacked/MathJax.js?config=TeX-AMS_HTML?

Thanks!

wangzhen89 avatar Apr 15 '24 11:04 wangzhen89

Unfortunately not in bookdown right now. See

  • #915

that I linked above

cderv avatar Apr 22 '24 21:04 cderv

Thanks!

wangzhen89 avatar Apr 26 '24 01:04 wangzhen89