{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

20
votes
3answers
5k 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 ...
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 ...
13
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
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, labelsep=...
11
votes
2answers
214 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
1k 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
1answer
2k views

Memoir parskip package

How do I get the same effect as using the parskip package when using the memoir class. I want no indents, and spaces between paragraphs. What is the proper way to do this in the memoir class?
10
votes
2answers
236 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
2k 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
0answers
673 views

proper alignment of pdfpages import in memoir typeblock

Finding the solution to Setting up pdfpages with memoir? turned out not to be as simple as adding the right layout parameter as an offset. The first finding was that if a twoside documentclass is ...
9
votes
1answer
1k views

Default spacing after periods

In LaTeX, what is the default space that is inserted after a period . inside a block of text? What if I press enter (to start a new line in my GUI) after the period? Is it any different in the ...
7
votes
2answers
6k views

Suppress page numbers when using \addcontentsline

I have a table of contents in my memoir book. I want there to be one line for each chapter, in addition to headings for each set of similar chapters. However, I do not want any page numbers to be ...
7
votes
1answer
2k views

Is there an easy way to change the font and size for Chapter Heading in Memoir?

I'm a total TeX newb - please be nice! :-) How can I change the font and size of Chapter headings? I don't mind where it's placed on the page - but would like it to be a sans-serif font and perhaps ...
6
votes
1answer
527 views

Ensure figures are placed on an odd page

Is there a way to ensure that figures (or other floats) are always displayed on an odd page? I'm using memoir for writing my thesis, which can be set to automatically place e.g. chapter beginnings on ...
6
votes
1answer
571 views

Incorrect ToC/Index cross-references when resetting memoir class counters

The quasi-MWE below uses the memoir class and works fine. It produces a document with the following structure: ToC Book Part1 Chapter1 Part2 Chapter2 Index Here, cross-references in the ToC and ...
5
votes
1answer
2k views

How to force a picture's location and still use overpic

I want to insert a picture, and use overpic to label it, in between two paragraphs of text, like so: Here is my first paragraph of text. \begin{figure}[htb] \centering \begin{overpic}[width=0.5\...
5
votes
2answers
2k views

List of appendices with tocloft and memoir

I found a very nice example showing how to create a list of appendices here: How to get a list of appendices? but it doesn't seem to work with the memoir document class. I get the error message "...
5
votes
1answer
2k views

Memoir Page Layout doesn't work as expected: Text shifted right

I'm trying to setup the layout as a one-sided A4 page, with 2.5 cm equal left & right margins. Since the width of A4 is 21cm, then I'm trying to do this with the following 2 steps: Set the ...
5
votes
1answer
446 views

memoir headers with starred chapter

I need help with page layout in memoir. I want to have an unnumbered chapter0 (i.e. introduction) but when using the \chapter starred version the chapter headers is wrong. This is my example source: \...
5
votes
1answer
396 views

Line numbering the whole mainmatter in memoir

Ok, now I am panicking, since lineo cannot be used with memoir (using \RequirePackage{lineno}). The specifications for the paper I am writing are numbering the mainmatter, footnotes included for ...
4
votes
1answer
210 views

Justify chapterstyle (Number) to the left

How do I justify the chapternumber in the MWE below to the left? Thanks \documentclass[11pt, a4paper, oneside]{memoir} \usepackage{color,calc,graphicx,soul,fourier} \definecolor{wine}{rgb}{.5,0,0} \...
4
votes
1answer
258 views

How to keep footnotes to the bottom of the page with \sloppybottom in memoir?

I am using the the memoir class to typeset a book, where the text has many footnotes. To avoid widows and orphans I use the option \sloppybottom. That has the result of under full pages. memoir ...
4
votes
2answers
2k views

Error when trying to use \MakeTextUppercase to customize the table of contents

I get the following error when trying to use \MakeTextUppercase to customize the table of contents: ! Undefined control sequence. \find@pdflink ...ode \protected@edef \Hy@testname ...
4
votes
2answers
596 views

memoir: sidecaption: ragged against the text block not working

I want to use the sidecaption environment in a figure with memoir and have the caption text be ragged against the text block. But when the figure is moved to the next page, the caption is on the ...
4
votes
1answer
3k views

Memoir appendix

At the moment I have Appendix A when I start the appendix page. In the table of contexts I see the item A. How can I replace the "A" by "Appendix". I'm using the memoir class and I'm also using babel ...
4
votes
2answers
698 views

Typesetting formulas in section titles: Title bold, ToC entry isn't

I have a largeish document written with memoir, and I need mathematics formulas in section titles. The problem is that I can't get the formulas set in bold for the title, and non-bold for the table of ...
4
votes
1answer
431 views

Margin vertical rule on outside margin of twosided memoir

So I have found this code which puts a rule inside the left margin. How can I get the code to switch to the outside margin on a two sided document? I can't locate the original post, as it was on TeX....
4
votes
2answers
351 views

How do I draw a vertical dotted line separating two columns?

multicol or memoir would be preferred. \columnseprule, I understand, is responsible for drawing a solid vertical line between columns. Is there a parsimonious way to achieve the following? -----...
3
votes
0answers
374 views

How to insert Figure beside Text [closed]

As shown in attached I am using memoir class to create my book. What is the code should be?
3
votes
1answer
2k views

Set header and footer rule color in memoir

Is there a way to set color for header and footer rule in memoir class? Using the following code: \documentclass[ebook,12pt,twoside,openany]{memoir} \usepackage{lipsum} \usepackage{graphicx} \...
3
votes
1answer
2k views

Using small caps roman for chapter number with memoir class

I want to use small caps roman numbers for chapter numbering using memoir. So far I have tried the following: \documentclass[oneside]{memoir} \usepackage[osf]{mathpazo} \def\thechapter{{\scshape\...
3
votes
1answer
1k views

Using a different font in overpic

I'm using the overpic package in the memoir class to include figures and superimpose text on them. Is there a simple way to tell overpic to use a different font than the main font of my text? (I ...
3
votes
1answer
1k views

Adjust Format of List of Algorithms

I'm using an existing LaTeX template for a thesis and am trying to match the List of Algorithms to the List of Figures. I have already applied some formatting changes, but there are a few attributes ...
3
votes
2answers
406 views

Calc and \settocdepth break \tikzexternalize

This might well be the strangest TeX behaviour I've ever seen and that's saying a lot. The following really is a MWE as far as the header is concerned: \documentclass{memoir} \settocdepth{subsection} ...
3
votes
4answers
489 views

How to print the value of the last \refstepcounter in the first page in the memoir class?

I made an environment named sol, that has a \refstepcounter command. I want to print on the first page of my document how many sol environments I have made in my document. \documentclass[...
2
votes
1answer
407 views

Automatically change the text width for all table environments using memoir

I'd like to redefine the table environment in a document I'm writing so that the tables and captions are wider than the text block. I'm using the memoir class, and an example given in the manual is \...
2
votes
1answer
38 views

How do I cite a range of lines?

I want to be able to specify a short excerpt of text that can be cited as a range of lines in the output PDF, ideally with this kind of syntax: \documentclass{memoir} \usepackage{lineno} \begin{...
2
votes
1answer
2k views

Memoir custom title page and twocolumns.

Using the package memoir, I am having some trouble creating my (Oh so simple) custom title page. In the preamble, I have this: \documentclass[medievalpage,twosides,twocolumn,pdftex,final]{memoir} ...
2
votes
1answer
198 views

retain space before \section heading in Memoir class at top of page

I am using xelatex and the Memoir class. By default, the empty vertical space before the section heading does not show after a pagebreak. How do I modify it if I want it to show instead, even if it ...
10
votes
3answers
683 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 ...
9
votes
2answers
481 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
1answer
295 views

First paragraph indented after section title in margin

How do you keep the first paragraph from being indented, even when indentation is off, when using section titles in the margin? I'm pretty new to LaTeX, but I thought I was getting pretty good at it, ...
9
votes
3answers
220 views

How can I collect the contents of a LaTeX environment in a macro without the grouping?

It's a bit of a long story as to why I need to do this, but please bear with me. I have a fairly complicated custom class which expects documents to begin with a command: \coverandabstract{Abstract ...
9
votes
2answers
2k views

How do I remove spacing from before the table of contents in memoir class?

I am using memoir class to create a collection of short stories, and the default space before the table of contents and chapter titles is quite large. I have seen several posts on this site that show ...
9
votes
1answer
412 views

How to typeset the table of contents raggedright in memoir?

I basically have the same question as this one Table of contents: section titles ragged right but none of the two solutions there work with memoir. I want to typeset section etc. titles raggedright ...
8
votes
1answer
334 views

Are the datetime package and the memoir class known to conflict?

Using the \formatdate macro from the datetime package within a \date definition seems to break when using the memoir class. Is this just something strange that I'm doing because it seems reasonable. ...
8
votes
1answer
985 views

How to set Table of Contents page numbers ragged right?

First post and certainly a tyro at LaTeX. Thanks to all those who have made this site such a helpful resource. I'm using the memoir class to typeset a novel, and would like to have the Table of ...
8
votes
2answers
466 views

What's the chief advantage of Memoir over “standard Book” for a novel

Considering that the user wouldn't likely have equations, glossary, index, bibliography or double columns (but would perhaps need insets for monologues), and considering the popular novel formats of ...
8
votes
2answers
687 views

Increasing spacing between section number and title in the table of contents

I'm using the simple ordinary \tableofcontents command to produce a table of contents, and I find that the resulting spacing between the section number and the section title is too small: Can ...
7
votes
1answer
140 views

Can TeX know when it's at the top of a page?

I have a memoir project where the chapters run right after each other with a divider line between chapters. If the chapter falls at the top of a page there shouldn't be a line or a space. Is there any ...