# Tag Info

1

The MWE makes testing the solution easy (which is always nice). If you change the line that reads \tableofcontents{\pagestyle{TOC}} into \pagestyle{TOC} \tableofcontents the output should be as expected. Note that in the memoir class you have two \tableofcontents commands: \tableofcontents % <-- adds its respective title to the Table of ...

3

It is correct to use \cftpartname to add "Part" before the names. But one should use \cftpartfont to control font settings for the part lines in the table of contents. (These are described in the memoir manual, texdoc memoir, p. 151.) It is also possible, if desired, to use \cftpartpagefont to apply the same color to the page number for each part. ...

2

The command \M@TitleReference is unknown in beamer class and is defined (well, \let to \@firstoftwo. in memoir class. It's definition can be 'stolen' and introduced to the beamer document, however, in a \makeatletter...\makeatother pair, since there is a @ character in the macro name. \documentclass{beamer} \usepackage{xr-hyper} \usepackage{hyperref} ...

3

While creating my minimal working example, I realized my mistake. LaTeX displays the table of contents using the .toc file that is built on the first pass through the document. Therefore, the first pass will not include the chapters that were not processed from before. To fix this issue, run the LaTeX command used to process the .tex file again. This will ...

0

It seems that \sidepar aligns to the bottom, not the baseline. Also, centering seems to have an odd effect on \sidepar (hense \hfil). \documentclass[a3paper, 14pt, twoside, showtrims]{memoir} \settrimmedsize{340mm}{210mm}{*} \settrims{0mm}{86.99mm} \setlrmarginsandblock{23.3mm}{46.7mm}{*} \setulmarginsandblock{23.3mm}{54.9mm}{*} ...

3

It's possible to reuse the ToC and extract only the contents for every \part. This is discussed via example in the memoir basic user manual (sniplet C.7 (USING CLASS TOOLS TO MAKE A CHAPTER TOC), p 405). The following discussion is taken from the manual with some modifications (chapter > part) to match your requirement... By using a few hooks, we will be ...

4

Is there any reason you can't use etoc? You at least don't mention it and it is designed to respect memoir's configuration. (For example, it ensures that ToCs are added to the ToC if memoir is loaded.) \documentclass{memoir} \usepackage{etoc} \begin{document} \tableofcontents \part{part ONE} \localtableofcontents \chapter{One} \chapter {Two} ...

3


6

\renewcommand\prenotetext{\ignorespaces} To spot this, I just added \tracingall which says \prenotetext -> {blank space } {the letter H} so defining \prenotetext to not be a space fixes it, making it \ignorespaces is just "belt and braces".

2

This is just an illustration of the method you might use, based on a very quick skim of memoir's documentation. No doubt you have more specific ideas about the dimensions you want but the key is to use memoir's abilities, rather than fighting them by loading geometry. (Otherwise, use a standard class such as book and then geometry is a great idea.) ...

1

Using \thispagestyle{plain} in my code solved the problem \newcommand\sopaana[1]{%customized chapter heading {\thispagestyle{plain}\fancyhead[CO]{\small #1} %header for odd page {\bfseries\large #1 }}} This what memoir manual says: plain The header is empty and the folio (page number) is centered at the bottom of the page.

3

Converting comment in to answer Use \columnwidth instead of \linewidth in \newcommand{\conc}{\rule{.3\columnwidth}{1pt}\par \vspace{-1ex} \item[C.]} Note \columnwidth This gives:

1

You could use \renewcommand*{\cftchapterformatpnum}[1]{% \cftchapterformatpnumhook{#1}% %\hb@xt@\@pnumwidth{\hfil\cftchapterpagefont #1} {\quad\cftchapterpagefont #1} } Also see my comment on \chapter*

Top 50 recent answers are included