Organize 'public API' section of latex.test.js #test #indent

Recommend -w to view diff.
Fix and test .write() empty LaTeX like '  {{} }'