{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

74
votes
5answers
8k 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.
44
votes
4answers
3k 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. ...
31
votes
3answers
2k 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 ...
30
votes
3answers
9k 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 ...
21
votes
4answers
19k 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 ...
20
votes
3answers
7k 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 ...
20
votes
4answers
7k 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 ...
19
votes
1answer
501 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
888 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. ...
19
votes
1answer
408 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
3answers
633 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 ...
17
votes
2answers
525 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 ...
16
votes
3answers
3k 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 ...
16
votes
1answer
3k views

memoir without chapters

Is it possible to use memoir without having chapters?
16
votes
1answer
780 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 ...
16
votes
1answer
659 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} ...
15
votes
3answers
2k 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
3answers
9k 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 ...
15
votes
1answer
732 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 ...
15
votes
2answers
635 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 ...
15
votes
1answer
254 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 ...
13
votes
2answers
2k 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 ...
13
votes
3answers
763 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 ...
13
votes
1answer
1k 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
2answers
2k 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 ...
13
votes
1answer
752 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 ...
13
votes
1answer
5k 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 ...
12
votes
1answer
5k views

How to rename Abstract title in Memoir?

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 ...
12
votes
3answers
2k 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 ...
12
votes
1answer
608 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
4answers
18k 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 ...
11
votes
3answers
555 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?
11
votes
2answers
10k views

Problem with command \captionsetup from package caption

The following MWE: \documentclass[11pt]{memoir} \usepackage{caption} \captionsetup[table]{ listformat=empty, tablename=Table, justification=justified, ...
11
votes
1answer
1k 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 ...
11
votes
2answers
506 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
1answer
119 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
1answer
2k 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 ...
11
votes
2answers
315 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 ...
11
votes
1answer
4k 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
602 views

Conditional figure environment (sideways, bottom captions)

For my phd dissertation I would like to have a new environment for figures that gives me the possibility to either place the caption sideways if there is enough space (say the figure width is < 0.6 ...
10
votes
4answers
9k 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' ...
10
votes
2answers
584 views

How do I get section headings to extend into the margin (using the Memoir class)?

I’m writing a document that uses a rather small text block (\textwidth), with the margin holding footnotes, figures and various other material. Because of the narrow text block, section headings ...
10
votes
2answers
12k 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 ...
10
votes
2answers
787 views

How can I create a decoration that runs down one side of each page?

Hi I'm writing an ebook in org-mode that includes a separate .tex file for styles. What I'd like to do is create a box that contains the current chapter and section name on a background image that ...
10
votes
1answer
218 views

\AtBeginChapter?

Are there any hooks that work like \AtBeginDocument for chapters, sections, etc.? Something like \AtBeginChapter? I would like to have the following code: \AtBeginChapter{% ...
10
votes
3answers
498 views

Tighter-spaced bulleted list should have ordinary line spacing to paragraphs/lines above and below

To get tighter line spacing (my document's main spacing is 1.5-spacing, and I'm using memoir), I normally use a self-defined "tight list" (tightlist in the code below). This works well. However I ...
10
votes
1answer
706 views

Redefine memoir Part to allow image

I am preparing a book with memoir. The book has three parts. I would like to have the Part title raised and to insert an image directly below the title. I am able to raise the Part title to the upper ...
10
votes
2answers
182 views

\paragraphfootnotes with text colour

I am having some trouble with my footnotes becoming coloured in certain situations. In particular, I am wanting to use memoir's \paragraphfootnotes, but all the footnotes for a page become coloured if ...
10
votes
1answer
222 views

How do I get an empty box on each page?

I'd like to have an empty box on the bottom of my pages in a certain chapter. I've messed around with wrapfigure and kinda sorta gotten something that looks okay, but I'd like to do it properly so I ...
9
votes
2answers
2k views

Aliasing a command to another

I have the command \DoubleSpacing within the caption of many of my figures throughout my document. This command is provided by memoir. ... \caption[]{\DoubleSpacing Here is a figure caption} ... I ...