Podcast #128: We chat with Kent C Dodds about why he loves React and discuss what life was like in the dark days before Git. Listen now.

Questions tagged [memoir]

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

Filter by
Sorted by
Tagged with
24
votes
1answer
2k 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. ...
136
votes
5answers
21k 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.
11
votes
1answer
2k views

When using a book class (memoir), text shifts from left to right on each page

I'm very new to latex, and I've noticed that using a book class causes the text on one page to be on the right and then left on the next and so on. I'd like for it to all to be on the left or centered....
40
votes
4answers
33k 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 ...
33
votes
5answers
26k 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 \...
51
votes
4answers
59k 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 ...
12
votes
2answers
7k 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 ?
48
votes
3answers
6k 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 ...
19
votes
2answers
7k 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 ...
55
votes
3answers
22k 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 ...
37
votes
3answers
7k views

How can I force ToC not to end with a chapter?

So I am writing a programming book and I decided to include \sections in the ToC as well (see picture below). The problem I am having is that I have ugliness where \chapter is the last item on the ...
9
votes
1answer
1k views

Theorem decorations that stay with theorem environment

I am typesetting a document using the memoir documentclass. Currently, my theorems have the following definition (using macros provided by the ntheorem package): % THEOREMS \theoremheaderfont{\...
3
votes
1answer
2k views

How to remove double “Contents” heading generated by memoir? [duplicate]

Possible Duplicate: How to remove the self-reference of the ToC from the ToC? I am using memoir with the article setting. For some reason my table of contents has a double "Contents" heading: ...
21
votes
2answers
6k 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
3k 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} \...
61
votes
4answers
7k 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. ...
20
votes
2answers
697 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 ...
13
votes
2answers
525 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 ...
17
votes
2answers
5k 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 someone ...
5
votes
2answers
1k 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? -----...
4
votes
1answer
2k views

Placing listing and figure side by side in memoir

I am writing a document using the memoir class where I want to place listings (with the listings package) and figures side by side. My first approach was to save the listing in a box and use subbottom ...
3
votes
1answer
700 views

Book template for tex4ebook

I am trying to set up a book template for tex4ebook using memoir and Texlive. The MWE that has everything I want is: \documentclass[ebook,12pt,oneside,openany]{memoir} \begin{filecontents}{test.bib}...
1
vote
1answer
618 views

How to auto adjust my last table column width, and why is there Underfull \vbox badness on this table?

Currently the table is throwing this warning, but I have no idea from where it is coming from: \documentclass[ 10pt, a5paper, twoside ]{memoir} \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} \...
6
votes
2answers
3k views

Subfigure label position and visibility in memoir

I am writing my master thesis using Memoir. I want all subfigures to have their labels in the top left corner. I have so far done this with tikz, but I would like to find a more elegant solution as my ...
6
votes
1answer
1k views

\pagestyle{ruled} adds superfluous text in glossary

I'm writing my thesis using the memoir package, using \pagestyle{ruled}, and have created glossaries for a glossary and an acronym list. The resulting pdf, contains the superfluous text "Glossary" and ...
7
votes
2answers
3k views

Modify default memoir chapter style

I'm using memoir and using its default chapter style. what I'm looking to do is to change the format from chapter 1 chapter title to something like this: chapter 1: chapter title I'm new ...
4
votes
2answers
1k views

Dot between chapter number and figure number disapear after update

After a recent update the dot between chapter numbers and figure numbers disappeared. Here is a minimal example. \documentclass[]{memoir} \begin{document} \frontmatter Some text \mainmatter \chapter{...
4
votes
1answer
653 views

Letterspacing memoir section headers

I'd like to add letterspacing to the \section commands with \setsecheadstyle in a memoir book. I tried using soul: \sodef\soSection{}{.1em}{.5em plus.1em}{.1em plus.1em minus.1em} \setsecheadstyle{\...
0
votes
1answer
172 views

What is the equivalent to `\Sectionformat` on memoir class for `\Chapterformat`?

I tried following the same as in How to automatically put a [Go To Summary] | [Go Back] on each section?: \documentclass{memoir} \usepackage{etoolbox} \usepackage[T1]{fontenc} \usepackage[utf8]{...
10
votes
3answers
23k views

subcaption package incompatible with memoir class?

When I try to compile a document with the memoir class and the subcaption package I get the following error: ! Package subcaption Error: This package can't be used in cooperation with the subfig ...
18
votes
4answers
50k 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
1answer
12k views

Memoir Headings

What is the best way to customize the headings at the top of each page in a memoir document? For example, if I want just the page number at the top of every left page, and just the chapter title (say,...
19
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 =...
12
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 ...
6
votes
1answer
3k views

Latex and Thai language

I try to use Latex with Thai language. I found a few problems. \usepackage[Lenny]{fncychap}does not completely support Thai font. (TH Sarabun New is an opentype font) \bibliography{bib} do not ...
18
votes
2answers
1k 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 ...
8
votes
2answers
2k views

Change vertical space of chapters temporarly in Table of Contents

I have grouped sections nicely below of chapters in ToC, so that there is no space between chapter and following sections, but there is some space between last section and following chapter. All this ...
8
votes
2answers
5k views

memoir class with subcaption and hyperref packages

This is similar to this question about using subfigures in memoir class and this one about using subfigure memoir and hyperref together Is it possible to use memoir class with sucaption package? I ...
14
votes
1answer
7k views

two chapters on same page in memoir

I am writing a preface, which consists of roughly ten sentences describing my work. I have to write this in both English and Swedish. Same content, merely different languages. I have chosen to have ...
12
votes
2answers
2k 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 ...
6
votes
2answers
705 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} ...
12
votes
5answers
3k views

\newenvironment issues with environment comment

I am trying to setup the formatting for a LaTeX document (it's got the class memoir), so that it would be fairly simple to add to it in the future. Two of the features I'd like are: Be able to mark ...
7
votes
1answer
862 views

How do I get multiple ToC entries in the same line?

I need that, in the ToC, all the \paragraph references appear in the same line, like. 1 First Chapter................................................1 1.1 First Section..................................
5
votes
1answer
1k views

Hyperref breaks my all-caps ToC entries

I started out on this earlier question. I now have a simple and elegant etoolbox solution to making all-caps chapter entries, but leaving appendix entries untouched. Simple, elegant, and incompatible ...
4
votes
2answers
12k views

How to remove “Contents” line from table of contents [duplicate]

Possible Duplicate: Hiding the “Table of Contents” page from Table of Contents How to remove the self-reference of the ToC from the ToC? I have a table of contents in my memoir book....
4
votes
2answers
4k views

Remove dots for chapters in ToC with memoir

I have seen similar posts but none seem to work. I simply need to remove the dots in the ToC between the chapter titles and the page numbers. I think the page numbers should line up (as if there were ...
2
votes
2answers
248 views

Lowercase TOC with memoir and hyperref

When using memoir and hyperref I can't make chapters lowercase in the TOC or I get all sorts of errors. Here's a MWE: \documentclass{memoir} \usepackage{lmodern} % \renewcommand{\cftchapterfont}{\...
1
vote
0answers
426 views

\DoubleSpacing not working as described [closed]

Page 48 of the memoir manual states this about using \DoubleSpacing: The spacing in footnotes and floats (e.g., captions) is un- altered, which is usually required once the controllers see what a ...
9
votes
1answer
4k views

Yet another “perhaps a missing \item” error

In the following, I get a perhaps a missing \item error each time a chapter is processed. This occurred only after the second compilation, once the table of contents information is built. Below I ...
8
votes
1answer
687 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 ...