我想使用annotate()将latex文本添加到ggplot2图中。如所述,使用expression()将latex添加到轴标签似乎不起作用。regular text to annotate works fine为什么annotate对expression的处理方式与其他我怎样才能用latex注释呢?
我有一些TikZ代码,它们在纯LaTex中工作得很好,但是当我将它传输到rmarkdown时就不行了,在那里会引发错误!正如我在https://www.overleaf.com/上测试的那样,它在LaTex中可以工作,但一旦在rmarkdown中,它就会引发missing item错误。在Using bullets list in tikz's node label in rmarkdown中提