# Tag Info

## Hot answers tagged memoir

Accepted

### TeX Live 2021, memoir, chemmacros and float conflict

The problem is that memoir does \AtBeginPackage{float}{\let\newfloat\relax} which effectivly undefines \newfloat. Now, when float is loaded the \newfloat definition of float is valid and not the one ...
• 64.6k
Accepted

### ensuremath, textsf and memoir: the impossible trio

I see no reason for having a command that works in text and in math. See When not to use \ensuremath for math macro? and other threads. If you really want it, which I doubt, do \newcommand{\abcd}{\...
• 994k

### Memoir and Footmisc problem

As far as I can see the problem always lurked in the redefinitions memoir does to the internal output routine commands of LaTeX. You can also produce it, for example, with your example and the old ...
• 74.1k
Accepted

### Conflict between spanish babel with memoir in two column and \frontmatter

the twocolumn option of memoir loads the mparhack package which tries to write page numbers to the aux-file. But spanish redefines roman and so in the frontmatter you get errors. You can avoid the ...
• 294k
Accepted

### Manually setting one chapter number in memoir

• 668k

### Fix Trim size 6.125in x 9.25 in using memoir

I think that this will do it for you. % memtrimprob.tex SE 642484 \documentclass[10pt,smallroyalvopaper,oldfontcommands]{memoir} \settrimmedsize{9.25in}{6.125in}{*} % set the trimmed size \...
• 25.6k
Accepted

### Confounding errors when \frontmatter and cleveref interact while using aucklandthesis.cls?

The underlying problem has little to do with cleveref in this case. What happens is that calling \frontmatter in aucklandthesis.cls messes up memoir's setup for secnumdepth and, hence, all of your ...
• 11.3k
Accepted

### How can I get b6paper instead of a default letterpaper using the geometry package?

The memoir document class provides lots of options for selecting the page size. E.g., \documentclass[b6paper]{memoir} That'll give you a page that's 176 mm tall and 125 mm wide. (Running \geometry{...
• 439k

### How can I get a three-column index in the memoir class?

Unless I'm missing something, this seems to work just fine \documentclass{memoir} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%% try for 3 column index \newif\ifthreecolindex \newcommand{\...
• 49.5k

### Getting custom output from numtoname

Like this? \documentclass{memoir} \begin{document} \numtoname{125000} \renewcommand*\nNamec{\iflowernumtoname l\else L\fi ac} \numtoname{125000} \end{document} Every word that would appear in the ...
• 22k

### Memoir and Footmisc problem

Here is a possible workaround \documentclass{memoir} \usepackage{footmisc} \usepackage{reledmac} \makeatletter \AtBeginDocument{ \appto\@makecol@appendblocks{% \m@mdoextrafeet% \m@...
• 49.5k
Accepted

### Long chapter name second (and further) line(s) indent in the table of contents (TOC) using Memoir class

It can be done if you are a bit sneaky. Basically we make two copies of the macro that is typesetting chapter entries in the TOC. We modify one of them and then add and use hooks in to the TOC data to ...
• 49.5k
Accepted

### Package setspace not working

memoir suppresses the setspace package and has its own version: \documentclass[a5paper, 11pt]{memoir} \usepackage[utf8]{inputenc} \usepackage[spanish,es-tabla]{babel} %%\usepackage{setspace} \begin{...
• 668k
Accepted

### memoir: How can I omit the endnote header if there are no endnotes?

Here is something you "could" do \makeatletter \newcommand\printmynotes{ \immediate\closeout\@notefile \ifnum\pdffilesize{\jobname.ent}>0 \printpagenotes* \else % reopen \...
• 49.5k

### Memoir: add chapter headings to 'list of...'

I thank Simon Dispa for his answer and I note your comment about "something more automatic". The following is a version of Simon's answer that automatically adds chapters to the LoF % ...
• 25.6k
Accepted

### Setting the header to include only the page number, chapter #, and chapter title (in memoir)

Here's how I'd solve it \documentclass[10pt]{memoir} \usepackage{lipsum} \makeatletter \makepagestyle{myheadings} \makepsmarks{myheadings}{ \nouppercaseheads % remove any marks for sections (might ...
• 49.5k

### How to align an epigraph?

I thank Werner for his answer and I want to add a bit more. By default epigraphs are set flushright. I think that if you want them to be set on the same line then the positioning is probably best ...
• 25.6k

### How to align an epigraph?

You can set both \epigraphs inside their own minipage: \documentclass{memoir} \usepackage{lipsum} \begin{document} \chapter{Introduction} \noindent \begin{minipage}[t]{.5\linewidth} \setlength{\...
• 567k
Accepted

### How could I implement a hanging paragraph style in this environment?

It seems you don't want to change fonts so alltt is not the right enviornment, I think you are using it to get access to \obeylines to avoid writing \\ at the end of each line, so something like \...
• 668k
Accepted

### Text and image on part page

The memoir manual talks about this, but perhaps not as clearly as it might do. Basically \part{Title} sets the part title and then calls \partpageend to finish off. By default it finishes the part ...
• 25.6k
Accepted

### Custom left-aligned Veelo chapter style in Memoir

You can apply a negative kerning depending on the initial digit. I computed the following values by eye after looking closely them inside bounding boxes. \documentclass[a5paper]{memoir} \usepackage{...
• 994k

### Latex error: \begin{thebibliography} on input line 1 ended by \end{bibitemlist}. \end{thebibliography}

The problem can be reproduced in the following MWE \documentclass[british]{memoir} \usepackage[T1]{fontenc} \usepackage{babel} \usepackage{chicago} \begin{filecontents}{\jobname.bib} @book{elk, ...
• 160k
Accepted

### Hyperref package not working with latest version of the memoir class

The (global) class option draft that you are passing to memoir is picked up by hyperref. For hyperref the draft option disables all hyperlinking. There are two ways to fix this Don't load the draft ...
• 160k
Accepted

### Background image command works in twocolumn article but not in memoir

Thus is due to memoir loading the mparhack package in twocolumn mode as else the placement of margin stuff cannot always the trusted (as the mechanism to determine whether we are in first or second ...
• 49.5k
Accepted

### memoir document class (two-column mode): how to change between default and article-mode chapter settings?

The article option sets \ifartopt to true (\ifartopttrue) and the memoir code then adapts it self to this. Additionally macros like \chapter react to the boolean value of this option. So if all we ...
• 49.5k
Accepted

### Error when using \edtext in eledsection with memoir and babel

The Spanish module for babel changes the behaviour of < and > to facilitate quoting. In fact, << and >> are defined as shorthands for \begin{quoting} and \end{quoting} respectively, ...
• 1,231
Accepted

### settypeblocksize does not change the textwidth

As @daleif says you can't change the layout mid page, but perhaps memoir's adjustwidth environment is what you can use. % textwidthprob.tex SE 643343 \documentclass[letterpaper]{memoir} \...
• 25.6k

### How can I put chapter number and chapter title in one line in memoir?

memoir provides the commands to create custom chapter styles without additional packages. \documentclass{memoir} \makechapterstyle{sectionx}{% define the new style \chapterstyle{default} \...
• 26k