Hi, the documentation of luacode tells me (table on page two) that percent signs are not easy to put in the code. I don't understand that. Look at this example: \documentclass{article} \usepackage{luacode} \begin{document} \luadirect{ tex.print(string.format("\%3f",43.2)) } \end{document} This looks fine to me. What am I missing here? Patrick