summaryrefslogtreecommitdiff
path: root/macros/generic/lt3luabridge/example.latex
blob: f127d398815de10a16f195e7fe75e130a4efef95 (plain)
1
2
3
4
5
6
\documentclass{standalone}
\usepackage{lt3luabridge}
\luabridgeExecute{x = 1 -- this will have no effect due to sandboxing}
\begin{document}
$ 1 + 2 = \luabridgeExecute{if true then print(1 + 2) end} $
\end{document}