{memoir} is a document class designed especially for book-length documents. It incorporates the functions of many independent packages into one class.

learn more… | top users | synonyms

94
votes
5answers
13k views

What are the strengths and weaknesses of KOMA-Script and memoir?

To make a professional book layout, many people suggest to use either KOMA-Script or memoir. Let me know the strengths and weaknesses of each please.
52
votes
4answers
5k views

Bringhurst chapter style in memoir

I'm trying to imitate Robert Bringhurst's chapter style in memoir. The class includes one such chapter style, but does not typeset the chapter number on the right side margin, as in Bringhurst's book. ...
41
votes
3answers
13k views

Turn on subsection numbering in memoir

It seems that the memoir class automatically avoids numbering subsection headings. Chapter and section titles are numbered, but subsection headings contain only the subsection name, and are not ...
39
votes
3answers
3k views

Nicely force 66 characters per line

I would like to have "something" (a package, a trick, a macro, ...?) that makes it possible for me to nicely play with the margins (or the layout) in order to set the average or typical number of ...
31
votes
4answers
37k views

Painless Memoir Class Book Template

I would like to find a memoir class book template that has the basic features of a book already configured (with dummy type, dummy figures, etc.) that compiles properly, so I can just start writing ...
27
votes
4answers
15k views

Get current “section” name without label

Update: I accepted the solution provided by Heiko Oberdiek, because that was doing exactly what I asked. When interested only in the chapter name, egreg's solution works fine. However, to get it ...
24
votes
4answers
12k views

How to remove the self-reference of the ToC from the ToC?

I'm having a very weird problem. The following example should illustrate it quite right. \documentclass[a4paper,12pt]{memoir} \begin{document} \frontmatter \tableofcontents \clearpage ...
24
votes
4answers
18k views

How to display cover page alone in the “two page view” mode

For some pdf ebooks, Adobe Reader displays the cover page alone even though the display mode is "two page view". Other than the cover page, the rest of the pdf content is displayed as two pages at ...
21
votes
1answer
1k views

About memoir and titlesec incompatibility

In page 2 of the titlesec documentation, Javier Bezos writes titlesec works with the standard classes and with many others, including the AMS ones, and it runs smoothly with hyperref. ...
20
votes
3answers
4k views

What is the default \parskip in memoir?

Everywhere the usual word is that it is 0. But that is clearly wrong, it is 0 + some rubber length. But how is that rubber length defined? In my search I found the following definition in the memoir ...
19
votes
2answers
602 views

Equation numbers in outer margins on a two-sided document

I'm looking for a two-sided extension to the solution for this question: Put equation numbers in the sidemargin with Tufte-Latex class This post seems relevant: Equation tag in twoside-mode outer ...
19
votes
1answer
4k views

memoir without chapters

Is it possible to use memoir without having chapters?
19
votes
1answer
697 views

Separate column in table of contents (in Memoir)

I'm curious if there is a way to have another "column" of numbers in the Table of Contents. The book I'm trying to typeset has a column of chapter and section titles, a corresponding column of ...
19
votes
1answer
641 views

Is there a trick to beautify bibliography?

I'm using the memoir and biblatex packages together. In general, I'm very happy with both. However, in my bibliography, I get some overflows and I don't have any clue how to avoid them... are there ...
18
votes
2answers
14k views

How to rename Abstract title in Memoir? [duplicate]

I'm trying to customize the Abstract of a memoir document using the following command: \renewcommand{\abstractname}{Executive Summary} The problem is that it actually has no effect. How can I ...
18
votes
3answers
911 views

Using indexing packages with memoir

Friends, as you probably know, I have a quite complex document for cataloging songs. :) As my normal workflow, I use the book document class with some dozens of packages loaded. I've been playing ...
18
votes
1answer
772 views

Is memoir's page layout incompatible with TikZ?

Can someone explain what's going on here?: \documentclass[showtrims,svgnames]{memoir} \usepackage{lipsum} \settrimmedsize{210mm}{148mm}{*} \setstocksize{236mm}{164mm} \settrims{5mm}{5mm} ...
17
votes
1answer
6k views

Examples of “styles” for section headings with memoir

The memoir class is a popular choice for writing nice looking documents. Memoir gives you a lot of control over how section headings and so on look. Memoir doesn't, however have the nice shortcuts ...
16
votes
1answer
1k views

Is there a poisonous interaction between memoir, hyperref, and hyperxmp?

In another, now rather confused, question, I'm struggling to get copyright information into a PDF produced by memoir. The investigations so far have led to this problematical MWE: % !TEX TS-program ...
16
votes
2answers
866 views

Footnote numbers in index (e.g., 23n3)

I'm currently weighing indexing options for a book-length project. One of the more surprising hurdles is that there doesn't seem to be a way to create an index (in my case, several indices) that ...
16
votes
2answers
3k views

“Automatic” section labeling?

I would like to be able to link within a document to another section without having to explicitly put a label after that other section command. hyperref does this with the TOC labels, so I think that ...
16
votes
1answer
919 views

Displaying the range of sections on the page in the header

I would like to have on each page the range of sections covered by it displayed, opposite of the page number and accompanied by the name of the first new section (if there is a new one) starting on ...
15
votes
3answers
3k views

How to avoid a page break before a two-column TOC in memoir

Although `I wouldn't normally do this', I'm writing a short(ish) document for which I'd like to place a small TOC in two columns as the last thing on the title page. In single column mode it works ...
15
votes
1answer
325 views

Chapters that openleft unless the chapter is only one page long

I'm using the memoir class, and would like new chapters to begin on the left-hand page, unless the chapters in question are only one page long. Neither openleft nor openany give this behavior. I am ...
15
votes
1answer
179 views

Biblatex is zeroing Bob! Is Biblatex incompatible with titling, Memoir and more?

Consider the following Minimal Working Example (MWE): \documentclass{article} \usepackage{xparse,titling} \NewDocumentCommand\makethis { } {% {\LARGE\theauthor\bigskip\par} } \author{Bob} ...
14
votes
2answers
4k views

How to make a new command similar to \author

I'm preparing a new template for our students' projects based on memoir. All this projects are supervised (directed) by one or more professors so I would like to declare a command like \author but ...
14
votes
3answers
3k views

Number exercises according to chapter

I'm using the exercise package together with memoir class. How do I number my exercises according to chapter number, in the same way that display equations are numbered? Here's a minimal example ...
14
votes
4answers
6k views

Examples of simple beautiful PhD theses

Please share the simplest, most beautiful PhD / master's theses you've ever seen. Looking for ideas for layout (medicine). Source code appreciated.
14
votes
3answers
907 views

Which package is best/easiest for a TeX newbie to lay out a book for print?

This question may be a little general and is subjective, but I am asking because I am not sure where my (limited) time should be invested for the problem I have to solve (I'll detail that in a ...
14
votes
1answer
1k views

How do I set up two independent tables of contents

I am editing a novel in memoir class that requires a table of contents for the whole book (introduction, preface, chronology, bibliography, etcetera) and another independent table of contents for just ...
14
votes
4answers
33k views

How to reference subfigure in caption

I used to have code like this: \caption{In \subref{fig:foo:a} you can see...}. Now I switched to using memoirs subtop/subbottom command instead of \subfigure. How can I refer to that subfigure? As a ...
13
votes
4answers
19k views

How do I force \section's to start on a new page if they don't fit on current page?

So I am writing a programming book, and I use \section for each topic. For example, I'd write, \section{Another way to double-space a file} \begin{lstlisting} awk 'BEGIN { ORS="\n\n" }; 1' ...
13
votes
1answer
2k views

Why are odd pages left pages?

I'm typesetting a friend's novel using LaTeX (in my actual document I'm using memoir, but the same happens if I just use book). It's possible I'm going crazy, but I'm sure that it's setting up odd ...
13
votes
1answer
3k views

Does memoir class have various page designs built in?

I wasn't able to find an answer to this question myself - are there any built-in page designs (styles) in memoir class? If so, what are they and how do I set them in the document to see how each one ...
13
votes
1answer
2k views

Hiding the “Table of Contents” page from Table of Contents

I'm using the memoir class, and it adds the Table of Contents page to the TOC. It is... well... pretty redundant... Any quick way to eliminate this? \documentclass{memoir} \begin{document} ...
13
votes
1answer
175 views

Uneven Line Spacing for Arabic Text using xelatex + memoir + plyglossia

This is my first LaTeX Project. I am using XelaTeX to compile the tex file. I am having an issue with Even Line Spacing in my arabic document. The baseline grid is fine on the first page but the text ...
12
votes
3answers
644 views

Measure the length of the lowercase alphabet

In the memoir manual speaks about measuring the length of the lowercase alphabet in order to decide the numbers of characters per line. Can this be done with LaTeX?
12
votes
2answers
4k views

Minitoc and memoir

I read this question about minitoc but I can't make it work with memoir. Is there an known incompatibility between these two ? Is it somehow possible to make it work ?
12
votes
2answers
14k views

Problem with command \captionsetup from package caption

The following MWE: \documentclass[11pt]{memoir} \usepackage{caption} \captionsetup[table]{ listformat=empty, tablename=Table, justification=justified, ...
12
votes
2answers
18k views

Difference between \footcite and \cite in BibLaTeX

Since recently, I am having some trouble with the short/ibidem and full citations in BibLaTeX. When I use a \cite command inside a footnote, it behaves differently than \footcite: it seems each keeps ...
12
votes
4answers
9k views

How to choose font size given the paper size

How do you choose what font size to use given the paper size in use? For example, I found somewhere that for a European standard the following is recommended: \documentclass[a4paper,11pt]{article} ...
12
votes
2answers
387 views

Fix indent for section title

I like to recreate the layout of an official template, in order to get rid of Word. Because the template is from the government, I must recreate it 1:1. In the end, the document should look like ...
12
votes
1answer
1k views

Is there a way to avoid short lines?

Is there a universal setting to tell TeX that the last line of a paragraph can not have just one word? For instance, instead of this: This is a sample paragraph and there is one word here. you ...
12
votes
1answer
5k views

How to correctly use the palatino font (in memoir)?

I'm preparing a PhD thesis (using memoir and pdfLaTeX), and I find the palatino font a nice body font. Reading the font related questions and answers on this awesome site, I think I have pieced ...
11
votes
2answers
384 views

What's the use of an empty mbox{}

Consider the following declaration from the memoir manual: \newcommand{\marginbox}[1]% {\parbox[t][0pt]{6em}{\itshape\raggedleft\mbox{} #1}} What is the use of the empty mbox in this command?
11
votes
2answers
2k views

Marginpar appearing on the wrong side (using memoir)

The subject line pretty much says it all: some marginal notes (beginning of the second page) do not appear on the correct side. (The question is: how can I fix this automatically?) Below is a MWE that ...
11
votes
2answers
598 views

How can I customise memoir's index to have more than two columns?

Is it possible to customise memoir's index so that it has more than two columns? My index entries are single Chinese characters, so even \twocolindex results in way too much whitespace.
11
votes
2answers
180 views

“Incompatible list can't be unboxed” with memoir class and many box registers

Consider the following MWE: \documentclass{memoir} %% Create 123 box registers \newcount\X \X=1 \loop \expandafter\newbox\csname mybox\the\X\endcsname \advance \X by 1 \ifnum \X<124 \repeat %% ...
11
votes
1answer
156 views

Use \index before or after punctuation?

It seems to me that you get different kerning if you use say\index{say}. than if you use say.\index{say} The following silly example is where I can see it: \documentclass[12pt]{memoir} ...
11
votes
2answers
4k views

Make \chapter* same as unnumbered \chapter (using memoir) ?

I'm producing a book, using the memoir class. The book has numbered chapters 1-8, but also has a chapter before ("Introduction") and a chapter after ("Conclusion"). These are all in the main matter; ...