mirror of
https://github.com/reanimate/reanimate.git
synced 2026-09-14 09:32:22 +00:00
Improve latex output.
This commit is contained in:
parent
08035f0906
commit
687cb544bb
3 changed files with 8 additions and 4 deletions
Binary file not shown.
|
Before Width: | Height: | Size: 4.4 KiB After Width: | Height: | Size: 5.1 KiB |
|
|
@ -332,6 +332,6 @@ latex_basic = proc () -> do
|
||||||
duration 1 -< ()
|
duration 1 -< ()
|
||||||
emit -< do
|
emit -< do
|
||||||
rect_ [width_ "100%", height_ "100%", fill_ "black"]
|
rect_ [width_ "100%", height_ "100%", fill_ "black"]
|
||||||
g_ [transform_ $ translate 5 50] $
|
g_ [transform_ $ translate 20 20] $
|
||||||
g_ [transform_ $ scale 4 4, fill_ "white"] $
|
g_ [transform_ $ scale 4 4, fill_ "white"] $
|
||||||
latex "$\\sum_{k=1}^\\infty {1 \\over k^2} = {\\pi^2 \\over 6}$"
|
latex "\\sum_{k=1}^\\infty {1 \\over k^2} = {\\pi^2 \\over 6}"
|
||||||
|
|
|
||||||
|
|
@ -93,6 +93,10 @@ tex_prologue =
|
||||||
\\\DisableLigatures{encoding = *, family = * }\n\
|
\\\DisableLigatures{encoding = *, family = * }\n\
|
||||||
\%\\usepackage[UTF8]{ctex}\n\
|
\%\\usepackage[UTF8]{ctex}\n\
|
||||||
\\\linespread{1}\n\
|
\\\linespread{1}\n\
|
||||||
\\\begin{document}\n"
|
\\\begin{document}\n\
|
||||||
|
\\\begin{align*}\n"
|
||||||
|
|
||||||
tex_epilogue = "\n\\end{document}"
|
tex_epilogue =
|
||||||
|
"\n\
|
||||||
|
\\\end{align*}\n\
|
||||||
|
\\\end{document}"
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue