LatexTool

A series of tools to make it easier to generate table, create formula, insert figure…

pip install textool

Generate Table Perfectly

used directly in command line

x2t file.xlsx -f -c

used in python

from LatexTool.ast.tabel import *
tab = Tabel("filename",fill = True,center=True)
print(tab.to_tex())

“fill” option is to choose whether strech table to \textwidth, and “center” is to use \centering environment.

Quick Paste Figure

pst filename

Then the file will be saved as ./filename.png, and the filename will be copied in clipboard.

pst filename -f

Then the content of clipboard will be:

\begin{figure}[H]
   \centering
   \includegraphics[width=0.8\textwidth]{filename.png}
   \caption{filename}
   \label{fig:filename}
\end{figure}

LaTeX formula Editor

Developed by using MathJax.

click this

2020.9.13: now latexlive is a better choice.

More

To be Continued…