{memoir} is a document class designed especially for book-length documents. It incorporates the functions of many independent packages into one class.
53
votes
5answers
4k 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.
39
votes
4answers
988 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. ...
25
votes
3answers
978 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 ...
22
votes
3answers
5k 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 ...
18
votes
3answers
353 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
3answers
4k 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
...
17
votes
1answer
240 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 ...
16
votes
2answers
426 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
1answer
648 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
1answer
446 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
1answer
186 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 ...
14
votes
3answers
915 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 ...
14
votes
2answers
273 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 ...
13
votes
1answer
458 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 ...
13
votes
1answer
679 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
477 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.
...
12
votes
3answers
1k 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 ...
12
votes
4answers
4k 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 ...
11
votes
3answers
419 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
4answers
727 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 ...
11
votes
2answers
675 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 ...
11
votes
1answer
335 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
3answers
3k 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 ...
11
votes
2answers
430 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 ...
11
votes
1answer
3k 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 ...
10
votes
2answers
361 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
6k 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
252 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 ...
10
votes
1answer
363 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 ...
10
votes
1answer
440 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
143 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 ...
9
votes
2answers
3k views
Problem with command \captionsetup from package caption
The following MWE:
\documentclass[11pt]{memoir}
\usepackage{caption}
\captionsetup[table]{
listformat=empty,
tablename=Table,
justification=justified,
...
9
votes
2answers
105 views
\raggedyleft in memoir?
In memoir instead of \raggedright, you can use \raggedyright[<space>] which is much more beautiful in narrow columns. However what I also need is \raggedyleft which does not exist and I don't ...
9
votes
2answers
242 views
Stop memoir from making mathmode section names uppercase in header
I'm typesetting my thesis with memoir and in general I'm happy with the result. However, some of my section headers have math mode text like \section{The $\phi_{ij}$ matrix} which memoir comically ...
9
votes
2answers
105 views
Using memoir, how do I number paragraphs?
I am trying to implement paragraph numbering with memoir. I would like the numbers to be
in the outside margin,
flush against the text block, and
vertically aligned with the first line of the ...
9
votes
2answers
600 views
How to get headings to be an integral number of lines high (using the memoir class)?
I use the memoir class and the \checkandfixthelayout command to calculate the \textheight so that an integral number of lines will fit. This works very well:
But now I want to add a few section ...
9
votes
3answers
873 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
...
9
votes
3answers
730 views
How to put section number into the right side of section title in LaTeX?
I am a novice for LaTeX, so need you guy's help.
I am wondering how to change section style in order to put the section number into the right side of section title in LaTeX, especially memoir class. ...
9
votes
2answers
426 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.
9
votes
3answers
215 views
Uppercase until end of group
In LaTeX, all font commands have two versions, one requires an argument (\textbf, \textit, \textsc etc), other changes the font until the end of group (\bfseries, \itshape, \scshape etc). The latter ...
9
votes
1answer
114 views
Indent or not based on section depth
I would like to know how to set it up so that a \subsubsection{} will indent the first paragraph but all other sectioning command of a higher level (\chapter{}, \section{}, and \subsection{}) will NOT ...
9
votes
2answers
178 views
Running headers for endnotes: Notes to pp. xx–yy
Many books have running headers from which you can conveniently find the endnotes and the pages to which they refer. They may be at the end of each chapter, or at the end of the book. The running ...
9
votes
1answer
140 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{%
...
9
votes
1answer
186 views
Missing space when using memoir's \newfloat and \newlistof
I've created a new float environment and new list-of as described in the memoir manual. My issue is that the spacing between the title of the list and its items isn't the same as for list of figures. ...
9
votes
2answers
1k views
Is it possible to use hyperref, subfigure, and memoir together?
I asked a question about how to use subfigure with memoir. I got some great tips, but now pdflatex is making all subfigure hyper-refs point to the first couple subfigures. It also gives me this ...
9
votes
1answer
152 views
Layout for longer chapter title in Memoir class
I am using \chapterstyle{section} with \Huge\sffamily font. This means that some longer chapter titles spread over two lines. I get (a larger version of!)
2 A long title splitting as illustrated ...
9
votes
1answer
165 views
suppress lot/lof entry in memoir
Using the caption package, one can suppress lot/lof entry with an empty optional argument for \caption.
But the caption package is incompatible with memoir. How can I suppress lot/lof entries in ...
9
votes
1answer
1k views
Author(s) per chapter - short story collection
I'm trying to use LaTeX to typeset a collection of short stories. I need something that lets each chapter have its own author or authors, with the author name(s) listed along with the chapter title, ...
9
votes
1answer
2k 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 ...
8
votes
2answers
687 views
How to set two types of appendixes on memoir class?
I need to set up two types of appendixes: Appendixes and Annexes
They must appear as "Appendix A - Title of Appendix A", etc, and "Annex A - Title of Annex A", etc. in the chapter head (which I ...