RStudio安裝LaTeX以及Rticles
#LaTeX公式生成
install.packages("miniUI")
install.packages("bookdown")
bookdown:::mathquill()
install.packages("devtools")
##論文投稿模板
devtools::install_github("rstudio/rticles")
https://github.com/rstudio/rticles
bookdown能夠快速生成LaTeX Code,複製LaTeX Code。
輸入 $$ 到Markdown並回車,將LaTeX Code貼入,得到Markdown內公式,複製成爲MathML格式,在word內粘貼成text only,就會自動把公式生成到Word內。
或者直接在Markdown內書寫公式。
函數做圖可以使用Mac 自帶的Grapher