Related to this question, except taking it a step further, I'm wondering if there's a way to use \@title with a line break removed. For example,
\title{Hello\\world} I would like to become Helloworld or Hello world when I access the title later in the document.
Asked
Active
Viewed 57 times
1
Hanmyo
- 1,203
\newcommand{\myTitle}{HelloWombat}instead of dealing with groups and redefining a linebreak with an unaware definition hammer? – Johannes_B May 16 '17 at 04:12\begingroup \let\\=\space \emph{\thetitle}\endgroupwould be better, wouldn’t it? – GuM May 16 '17 at 10:05