Tag Info

New answers tagged


If you just use \insertdate and \inserttitle, you don't need \expandafter, because \MakeUppercase does full (protected) expansion on its argument. However, \inserttitle is quite different from the other two macros. Indeed, \insertdate expands to \today (in general to the argument given to \date) and, similarly, \inserttitle expands to the argument given to ...


As an extension of the @YiannisLazarides answer, you can use mfirstuc which is included with TexLive 2014. This will take care of the capitalisation for you, and you won't have to repeat yourself when defining the upper-case version of your command. \documentclass{article} \usepackage{mfirstuc} \def\secname{fancy section} ...

Top 50 recent answers are included