I hope that the attached notebook will help you.
You need to be aware that there are invisible characters in the typesetting systems. The idea is the same as performed in LaTeX and practically works the same.
BTW, I do not generate templates, since I do not need them too much, but there are instructions in the documentation. I find manual typing using the keyboard much faster than leaving the keyboard and holding the mouse (an old-fashioned guy).
HTH
yehuda
Attachments: