From http://t3cs.eu/fileadmin/ts/rootTyposcript.ts