TransWikia.com

Footnotemark in chapter title (memoir)

TeX - LaTeX Asked by Denys Potapov on April 23, 2021

I want to add footnote to chapter title in memoir. It works as expected with numbered chapters (chapter), but shows lots of errors in unnumbered chapter (chapter*). MWE:

documentclass{memoir}

begin{document}
chapter*{this failsfootnotemark{}}
chapter[this works fine]{this works finefootnotemark{}}
end{document}

There are more than 100 errors, but first is The control sequence marked <to be read again> should not appear between csname and endcsname.

What can be a solution?

One Answer

Honestly, I'm not 100% sure why this happens. But with stuff like this the issue can often be resolved if one protects the problematic question.

In this case protectfootnotemark{} seems to work.

Correct answer by daleif on April 23, 2021

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP