Say I have \chapter{Test Chapter} in my document, and I want to insert the title of the chapter into some code or into the text further down the document, what is the command for inserting the previous chaptertitle? I have tried \thechapter but it only inserts the number of the chapter.
The command \thechapter is also used somewhere in my preamble, so I don't want to redefine that command, lest it'll mess up something else.
As stated, I use the memoir class.
namerefis not needed in this case ;-) – daleif May 18 '15 at 09:00memoir. :) – Werner May 18 '15 at 09:01namerefworks withmemoirmaking the posted duplicate solutions usable, or you can use\titleref(out-of-the-box built bymemoir). – Werner May 18 '15 at 09:04namerefis mapped to thememoirinterface when used withmemoir(as far as I remember) – daleif May 18 '15 at 09:07