xy3 在 提示词分享-优化markdown中的latex公式 中发帖
背景
本人latex不好,在做计算机专业笔记的时候经常使用图片转latex工具(simpletex)
由于simpletex等识别公式为latex的时候容易把文字混在公式的latex中,导致在markdown笔记里不美观,所以用了下面提示词解决此类问题
案例
[image]
输入:
\begin{aligned}&\mathrm{Union:~L}_{1}\cup L_{2}\\&\text{Concatenation: L}_{1}L_{2}\\&\text{Exponential: L}^{\circ}=\{s\},L^{1}=L,L^{2}=LL,\ldots\\&\text{Kleene closure (star): L}^{*}=\bigcup_{i=0}^{\infty}L^{i}\\&\text{Positive closure (plus): L}^{+}=\b...