{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

4
votes
1answer
359 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 ...
4
votes
2answers
502 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
1k 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 ...
3
votes
4answers
358 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. ...
3
votes
2answers
342 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
0answers
285 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
1k 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

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 ...
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} ...
2
votes
1answer
34 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} ...
2
votes
1answer
345 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 ...
1
vote
1answer
967 views

How to indent chapter headings in a TOC (memoir class)

The current formatting of my TOC is: TABLE OF CONTENTS LIST OF TABLES....................................................... Page No LIST OF ...
1
vote
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} ...
11
votes
2answers
15k 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
3answers
610 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
264 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
1answer
835 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 ...
9
votes
1answer
278 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 ...
9
votes
3answers
170 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
1k 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
2answers
421 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 ...
8
votes
1answer
177 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, ...
8
votes
2answers
381 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
1answer
284 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
814 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
1k views

Exact centering of full-page background image

Here's the situation: I have to use memoir (v3.6j), with geometry (v5.6) and LuaTeX, version beta-0.70.1-2011061410 (rev 4277) in an A5 project which, in the final output have to be 3mm larger from ...
7
votes
1answer
130 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 ...
7
votes
1answer
187 views

include document title in memoir class header

Using memoir class on a (lengthy) document, I want to customise headers, however (having spent several hours of trial and error) I'm presently stumped when it comes to the nuances required. Can anyone ...
7
votes
2answers
287 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
383 views

how to import images into Memoir chapter style

Another Memoir style I'm trying to create... I grabbed bits of code from here and there and I almost have it working, but the imported image isn't centered over the chapter title... spent many hours ...
7
votes
2answers
839 views

How do I put a musical clef in a memoir-class document?

I've got a lot of questions about preparing a book layout, but as I'm slowly going through the various books and other documents out there, I think most of the questions are being answered. However, ...
7
votes
2answers
2k views

Uppercase pagenumbering (roman) using \frontmatter

I am using \frontmatter, \mainmatter and \backmatter so my pagenumbering is correct. However, i would like my roman pagenumbering in \frontmatter to be uppercase. Is there any easy way to do so? ps: ...
6
votes
1answer
140 views

How do I find memoir's margin settings for twocolumn mode?

I have a long document that I don't want to use twocolumn mode for, but I like the margins it uses. I'm going to manually use multicol to create two columns instead (so I can easily have footnotes and ...
6
votes
1answer
192 views

One column text under chapter title in memoir twocolumn mode?

I want to have one column text underneath the chapter name in twocolumn mode (where the majority of the text is in twocolumn). I can't. Even using onecolabstract doesn't do it. ...
6
votes
1answer
214 views

Loss of figure subsection numbers when using mainmatter

I recently added \frontmatter, \mainmatter, etc. with the \numberwithin setting for my figures and tables into a document, but now my figures are no longer numbered by subsection on export. Inside ...
6
votes
2answers
346 views

Hyperlinks in section name

I am trying to use the memoir class to typeset a document in which the section headings function as hyperlinks to other locations in the document, using the hyperref package. One of the ways that ...
6
votes
2answers
1k views

Setting up pdfpages with memoir?

I am using memoir for writing my PhD thesis. In my university we have to include submitted, accepted, and prepared drafts of related papers as appendices. These papers have all been previously ...
6
votes
1answer
2k views

Set caption font size in memoir

How do I set the default caption font in a memoir? I tried: \documentclass{memoir} \usepackage[font=small]{caption} But that gives me a warning: Class memoir Warning: You are using the caption ...
6
votes
1answer
201 views

Add text at an optional page-break only when breaking occurs

I have two tables (created with tabularx in the memoir class): [ Table 1 ] [ Table 2 ] They may be adjacent on the same page, or split across two pages like this: [ Table 1 ] ---- page break ---- ...
6
votes
1answer
409 views

How can I reset sectional counters in memoir class to avoid breaking ToC cross-referencing in a complex document?

I have already asked a similar question here: Incorrect ToC/Index cross-references when resetting memoir class counters and received a satisfactory answer. Now, I wish to apply the chapter counter ...
6
votes
1answer
989 views

Making memoir Chapter entries in ToC all-caps and Appendix entries regular case, without breaking hyperref

I have a thesis style working, but around 10% of my code is a copy of memoir's \def\@chapter that lets me put all regular chapter entries in all caps, and keep appendix entries in regular case. This ...
6
votes
2answers
1k views

Are ae and aeguill only needed when using CM fonts?

I am using the memoir class with the option extrafontsizes so as I understood this uses the LM fonts and at the same time set the T1 encoding. If this is correct, are the packages ae and aeguill ...
5
votes
1answer
107 views

How to apply Memoir manual's fix to allow \MakeTextUppercase in toc with hyperref

There is a known conflict between the memoir class and the hyperref package. hyperref cannot process Table of Contents headings that include the \MakeTextUppercase macro. The memoir manual (texdoc ...
5
votes
1answer
94 views

etoc and memoir compatibility isuues

I was just doing some test with the etoc package and as soon as I changed the document class from book to memoir, errors appeared. This simple document %\documentclass{book} \documentclass{memoir} ...
5
votes
1answer
231 views

include section name, as well as number in mdframed (theorem) header

In a memoir class document, I am using the following mdtheorem definition to provide a heading inside an mdframe, which has the effect of providing an increasing count(er) to each new reference to ...
5
votes
2answers
199 views

Horizontal alignment of subfigure edges

I am using the memoir class and I have two subfigures of different width that I would like to lay out vertically. Ideally, these two subfigures should be aligned so that The widest subfigure is ...
5
votes
1answer
226 views

Add box to labeled sections

I want to add a box to a repeated section of a textbook, which provides question discussions. Is it possible to do it by adding "tex style setting" command(s) to the preamble? I am using the memoir ...
5
votes
1answer
122 views

How to automatically color a string that starts by a specific character (@)?

Using the memoir class, I'm looking for a way to automatically color any string that starts whith an @ character, whether it be in the main text or in a footnote. Any idea how to do that? Update : I ...
5
votes
2answers
376 views

hyperref and xr-hyper break memoir's \titleref

I have one document that has hyperref loaded, and works fine. I have a second document that I am using xr-hyper to reference the first. If I remove hyperref from the first document, the \titleref{} ...