Created
November 15, 2017 07:51
-
-
Save jinwei233/4a8d2bb715037893c9a6a083b8d7d4c3 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
% https://tex.stackexchange.com/questions/11866/compile-a-latex-document-into-a-png-image-thats-as-short-as-possible | |
% 实际使用,不需要设置 size | |
% density 还是需要的 | |
% 如果必要,需要支持中文,以及 ams math 等 | |
\documentclass[convert={density=300,size=1080x800,outext=.png}]{standalone} | |
\begin{document} | |
Hello. This is a test. | |
\begin{equation} | |
L = 2 | |
\end{equation} | |
\end{document} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment