forked from Shinonome/dots-hyprland
ai: latex: properly catch bracket-wrapped expressions
This commit is contained in:
@@ -125,9 +125,14 @@ int main(int argc, char* argv[]) {
|
||||
|
||||
### LaTeX
|
||||
|
||||
- Inline w/ dollar signs: $\\frac{1}{2} = \\frac{2}{4}$
|
||||
- Inline w/ double dollar signs: $$\\int_0^\\infty e^{-x^2} dx = \\frac{\\sqrt{\\pi}}{2}$$
|
||||
- Inline w/ backslash and square brackets \\[\\int_0^\\infty \\frac{1}{x^2} dx = \\infty\\]
|
||||
|
||||
Inline w/ dollar signs: $\\frac{1}{2} = \\frac{2}{4}$
|
||||
|
||||
Inline w/ double dollar signs: $$\\int_0^\\infty e^{-x^2} dx = \\frac{\\sqrt{\\pi}}{2}$$
|
||||
|
||||
Inline w/ backslash and square brackets \\[\\int_0^\\infty \\frac{1}{x^2} dx = \\infty\\]
|
||||
|
||||
Inline w/ backslash and round brackets \\(e^{i\\pi} + 1 = 0\\)
|
||||
`,
|
||||
Ai.interfaceRole);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user