Home Comments Thread
New Thread

4 Comments

giscus-bot giscus-bot 2022-12-17 00:49:02
访客 *彭浩* @ 2017-04-14 03:05:44 写道:

我也被这个讨厌的事折磨了很多年:用 Matlab 的 latex() 函数生成的公式代码比你给的例子还要丑陋万倍,苦逼的我写了几行简单的正则替换,就是为了把实在看不下去的地方做一下调整。

giscus-bot giscus-bot 2022-12-17 00:49:03
访客 *zaeneas* @ 2017-04-21 00:50:06 写道:

我现在的解决方案是用 Ultisnips 来匹配正则表达式来自动展开出 lef( right), dfrac{partial poi}{partial meow} 之类的东西

暂时没有文档和 Demo 的一个snippets 存放:
https://github.com/zhujinxuan/snippets-tex-equations

giscus-bot giscus-bot 2022-12-17 00:49:04
访客 *Harry Zhu* @ 2017-04-29 13:39:51 写道:

dplyr 直接允许我们用一堆 %>% 来操作数据(包括数据库),然后用sql() 直接翻译出来,通过shinyjs::logjs()直接print到前端debug,实在太方便了。

giscus-bot giscus-bot 2022-12-17 00:49:05
访客 *Marlin JL.M* @ 2017-05-21 05:25:54 写道:

给未来的莽撞人一点素材:

这个函数:simsalapar::expr2latex 实现了部分表达式的转换,还有这篇文章或许有点用 http://rpubs.com/cpsievert/268872

Sign in to join the discussion

Sign in with GitHub