我希望你能帮我完成如下工作。
但是我找不到解决方案。如果有什么好的方法就太棒了!以下链接很有帮助,但都没有提供解决方案:pandoc文档、\newcommand在Rmd公式中的应用和RStudio代码片段。
---
title: "Untitled"
author: "SQC"
date: "21 September 2018"
output: html_document
---
\newcommand{\short}{AreallylongwordIhavetotypefrequently}
# My Test
I would like to write \short which does not work, $\short$ however is close...
Snippets do not work in Rmd plain text (= Rstudio's "Shift", see link below).
但是我找不到解决方案。如果有什么好的方法就太棒了!以下链接很有帮助,但都没有提供解决方案:pandoc文档、\newcommand在Rmd公式中的应用和RStudio代码片段。