I am a person who prefer standard formula, so I often edit the formula to make it look better. But I find most of the mistakes or malformedTeX writing have repeated pattern. For example: sin
to \sin
,cos
to \cos
. So is there a tool to help achieve this goal?
$\begingroup$
$\endgroup$
2
-
3$\begingroup$ How is the tool supposed to know that you mean $\sin$ and not $sin$ (which is equal to $nsi$)? $\endgroup$– AlexeyCommented Feb 24, 2020 at 21:54
-
$\begingroup$ Aren't there IDEs which would do this better; it could alert you to possible issues while you are typing? (I haven't used a LaTeX IDE, but I'm assuming some of them do this!) $\endgroup$– lukeuserCommented Feb 26, 2020 at 8:22
Add a comment
|
1 Answer
$\begingroup$
$\endgroup$
1
I wrote this Python script to make life easier. The stable version is v0.4
This script is far from prefect, so maybe you will meet many kinds of problems. (Because it's for my personal usage.)
Effect:
Ctrl+A,Ctrl+C
double click the script
Ctrl+V
just now I remove the
\left
and\right
.
-
6$\begingroup$ Idk if you normally type latex like this, but I suggest using newlines inside complicated equations. It can help make it easier to read. $\endgroup$– jgonCommented Feb 25, 2020 at 19:47