New answers tagged

1

A chapter can end in two ways: when the next chapter begins or when the document ends. Therefore, you can modify the \chapter command to add something to the old chapter before the new chapter is started, and moreover use \AtEndDocument to add something to the end of the document. Adding code to \chapter can be done using the etoolbox package, which provides ...


3

As you mentioned, the float package is causing the issue. Remove it and change the syntax to match that provided by memoir natively; it's similar, but different. \documentclass{memoir} \newcommand{\newfloatname}{NewFloat} \newfloat[chapter]{NewFloat}{nwf}{\newfloatname} \captionnamefont{\bfseries} \begin{document} \begin{figure}[h] \caption{Caption ...


0

Fixed with commit https://gitlab.com/axelsommerfeldt/caption/commit/5584091f13a4d63c5245b4d8b0e9ac0171c85436 I will push a new version of the "caption package bundle" to CTAN today; in the meantime please use https://gitlab.com/axelsommerfeldt/caption/raw/master/tex/newfloat.sty as replacement of the old newfloat.sty. BTW: Please report such issues/code to ...


2

Try with \documentclass{memoir} \begin{document} \renewcommand{\chaptername}{Module} \chapter{Test} \end{document}


1

I tried your MWE and to me it did not exhibit the problems you mentioned. There were footers in the chapters and ToC pages, headers on the second and further pages after the first page of a chapter, and the page numbers reported in the ToC were correct. Some comments: 1) Remember that memoir uses the chapter (aliased to plain) pagestyle for the first page ...


1

Within your macros you can use an \if..-switch (with its \..true/\..false-commands) as a flag for denoting whether the argument of the macro in question is processed as part of an argument of an \index-command which in turn was "launched" by one of your macros. Vice versa, have \index-commands executed and counters stepped only if the macro which shall ...


1

The manyfoot package supports multiple styles of footnotes at the same time, although the only standard styles are plain and para. In this case, one would use \footnoteS for two column footnotes and \footnote for one column. \documentclass{memoir} \usepackage{lipsum} \usepackage[ruled]{manyfoot} \twocolumnfootnotes \let\footnoteS=\footnote \newfootnote{A} ...


0

With the help of \renewcommand*\cftappendixname{Appendix~} and \renewcommand\thechapter{\arabic{chapter}} you can get the desired result. \documentclass{memoir} \renewcommand*\cftappendixname{Appendix~} % adds the word Appendicx in the toc \begin{document} \tableofcontents \chapter{Regular Chapter} \appendix \renewcommand\thechapter{\arabic{chapter}} % ...


Top 50 recent answers are included