reanimate/examples/doc_ctex.hs
Xie Ruifeng fbce05fa6f
LaTeX: add xelatexWithHeaders (#110)
* LaTeX: add xelatexWithHeaders

* LaTeX: add ctex[WithHeaders], xelatex[WithHeaders] changed

* Export ctex in Reanimate, update doc_xelatex to use ctex

* xelatex and ctex examples

* LaTeX: Remove xelatex example
2020-07-15 14:09:36 +08:00

12 lines
332 B
Haskell

#!/usr/bin/env stack
-- stack runghc --package reanimate
{-# LANGUAGE OverloadedStrings #-}
module Main (main) where
import Reanimate
import Reanimate.Builtin.Documentation
main :: IO ()
main = reanimate $ docEnv $ animate $ const $
withStrokeWidth 0 . withFillOpacity 1 . scale 4 . center $
ctex "中文"