@egreg's answer to How to add \printindex to tableofcontents provides multiple options to add the index to the table of contents, but you can see from the screenshot below that the headers in memoir
still reflect an older chapter. Is there any way I can add a new chapter to reflect the index name (in this case General Index
) in the header without having a new page started?
\documentclass{memoir}
\let\bf=\bfseries
\usepackage{multind}
\makeindex{idx}
\begin{document}
\chapter{Some Chapter}
Some \index{idx}{text}text, and \index{idx}{some}some more \index{idx}{text}text.
\appendix
\printindex{idx}{General Index}
\end{document}
In essence, I'd like something such as this:
Chapter 1
Some Chapter
Some text, and some more text.
...
...
...
----------------------------------------------------------------
CHAPTER 1: SOME CHAPTER
blah blah blah
...
...
...
----------------------------------------------------------------
Appendix A
General Index
some, 1
text, 1
...
...
...
----------------------------------------------------------------
APPENDIX A: GENERAL INDEX
blah, 2
...
...
...