1

I am using Latex to write my course syllabi and I want to switch to PreTeXt does anyone know what is the equivalent of \def in PreTeXt?

For example, in my syllabi I use the following:

\def\officehours{daily at 10am} so that in the main body I can use \officehours instead of daily at 10 am, and I do that with final exam, course name, and so on which allows me to update the preamble and thus update my syllabi without too much effort.

I want to switch to PreTeXt but I haven't found a way to do that. So any help would be much appreciated!

K.

2

0

Browse other questions tagged .