{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

1
vote
1answer
209 views

Set custom page text/line width in memoir for sidepars

I wish to lay out a page using the memoir package so it has dimensions something like this: # <-- 21.6cm (Letter stock) --> # # Margin | Content | | Note | Margin # ...
2
votes
1answer
364 views

Centering the frontpage using memoir

I'm using memoir (two-side layout). I have the problem that my front page is centered with respect to the margins, which are not equal in left and right side. \begin{center} will not solve this, since ...
10
votes
0answers
187 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 ...
4
votes
1answer
120 views

Extraneous empty line within memoir's list environment (for very tight lists) if used with memoir's Spacing environment (for single-spacing)

In order to typeset lists with very tight interline spacing, I normally define my own tightlist using memoir's list environment. Even though my definition (see shortly) (1) ensures that all vertical ...
6
votes
2answers
254 views

Centered Footnotes

I would like my footnotes to be centered but couldn't find any literature on this. Here is a MWE. \documentclass[lettersize,14pt,twoside,openright]{memoir} \usepackage[symbol,perpage]{footmisc} ...
4
votes
1answer
91 views

Can I prevent endfloat from changing \leftmark and \rightmark?

I am working on a thesis with floats at the end of each chapter. endfloat lets me keep the figs/tables near their first callouts while writing so the order is correct, but I don't want to use the ...
1
vote
1answer
183 views

Getting subcaptions into the list of figures without having a real subfigure

I gave searching my best shot, but no luck. Here's my problem: I use \phantomsubcaption from the subcaption package to do referencing, but I also want some sort of marker in the List of Figures with a ...
1
vote
0answers
32 views

Problem with \section[][]{} when using memoir [duplicate]

I am writing a book using the memoir document class. When I use \chapter[ToC title][Header title]{Division title}, at the chapter level everything works correctly. At the section level however things ...
1
vote
2answers
119 views

Oversize table with nested tabularx->minipage->tabular* has columns that are too narrow (Memoir)

I am trying to lay out a table heading that looks something like this: TITLE --------------------- subtitle Name Value description Name A value of Name Value ...
9
votes
2answers
167 views

Placing a bar/graphic before the section headers

I've used the titlesec package to produce section headers like this: Click for a full-resolution version. Using this minimal code: \documentclass{article} \usepackage[compact]{titlesec} ...
2
votes
0answers
130 views

Clear Option Clash error [closed]

I'm working with a template to create a course syllabus. The package requires an .sty file, which I have in the same folder. No matter what I try, I can't clear an error: "Option clash for package ...
1
vote
0answers
76 views

Using multiple bibliography files [closed]

Related to my previous question about Latex and Thai language, now I have another one: How can I use multiple bibliography files in my document? \bibliography{sample,ref,etc} It did not work. I ...
2
votes
2answers
441 views

Changes in spacing (“Spacing” environment) for a block should not affect the line spacing of the block to the material above and below

When I use memoir with \OnehalfSpacing and I temporarily set things within \begin{Spacing}{1}[...]\end{Spacing} (\SingleSpacing for some reason leads to looser spacing elsewhere in my document), I get ...
12
votes
1answer
461 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 ...
8
votes
1answer
142 views

Incompatibility between amsrefs and memoir?

I am having trouble trying to use amsrefs together with the memoir class. Here is a minimal example: \documentclass{memoir} \usepackage{amsrefs} \begin{document} Some text. \end{document} LaTeX ...
3
votes
1answer
428 views

LyX: Problems with title line breaks when writing in Memoir document style

I am pretty new both to LyX and to TeX.SX, and have no LaTeX background. I'm writing my master's thesis in LyX and have just changed the document style from book to book (Memoir). When I try to export ...
7
votes
4answers
134 views

Know the width of the widest section label in memoir

I'm using memoir class to write my master's thesis, and my university asks to align all section labels to the left. I say section, but I really mean all levels, as chapters, sections, subsecs and so ...
4
votes
2answers
270 views

Continuous numbering of figures and tables changes not working

I'm aware of the topic: Continuous v. per-chapter/section numbering of figures, tables, and other document elements and I tried use the options given, but none worked for me. I'm using memoirclass. ...
3
votes
1answer
280 views

Incompatibility between memoir and appendix package option titletoc

I'm trying to get "Appendix A" instead of just "A" for my appendix in the table of contents, and one solution to this seems to be \usepackage[titletox]{appendix}. However, it doesn't work with memoir. ...
1
vote
2answers
181 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} ...
2
votes
1answer
134 views

Package footnotebackref conflict with memoir

I'm using footnotebackref with memoir. The footnote is generated and the link from the text works (from hyperref presumably), but no link is created from the footnote back to the text. This appears ...
2
votes
2answers
132 views

Document Class Memoir Headers

I'm using the document class memoir, and in the header for each chapter, it keeps reading 'Chapter 1. The Title of the Chapter'. Is there any way to remove the 'Chapter X' from the header? I've ...
8
votes
3answers
111 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 ...
4
votes
2answers
137 views

tableofcontents* still numbers ToC

I am using \tableofcontents* to remove the page numbering from the ToC but it still continues to number the ToC. What I would like to happen is that there is no page numbering for the ToC and then ...
16
votes
4answers
4k 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 ...
2
votes
1answer
182 views

Setting memoir's \pagestyle within an environemnt

I am defining an environment with \newenvironment, and inside this environment, I want to change the memoir page style. For instance, I want to do \begin{myenvironment} and inside this environment, ...
2
votes
2answers
149 views

Add vertical line margin-aligned from a given point through subsequent pages

Using the memoir package, I would like to have a vertical line on my margin like this: Some leading content ... vertical space ... ---------------------------------- XYZ | Content A | ...
2
votes
1answer
291 views

Top margin, memoir class and geometry package

I'm trying to set a very basic front page for a document with the MWE below. I'd like to have a vertical stripe running along the left margin and have all the margins set to 0pt. The layout is based ...
1
vote
0answers
76 views

Remove the period at the end of the subcaption using \subbottom with memoir [closed]

I am using the memoir package (with hyperref package in case that makes a difference) and I am using \subbottom to place subfigures within a figure environment. I simply want the subcaptions to read ...
10
votes
2answers
173 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 ...
1
vote
0answers
159 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?
4
votes
1answer
284 views

Insert Picture on Titlepage

I have made a titlepage with a wide (104pt) vertical line and i want to place a logo on top of that line. I tried to do it with icluding a picture with tikzpicture, but it places the image at the ...
5
votes
1answer
511 views

Paper size with geometry in memoir: LaTeX vs PDFLaTeX

I have been searching for an answer to my problem, but my search did not yield any topics with the same problem, so hereby my question: I have created a document with the memoir package. The stocksize ...
5
votes
0answers
109 views

Different margins for odd and even pages, but not mirrored with memoir [duplicate]

I need a help with this page layout: top/bottom margins: 2cm for all pages on even pages: 3.5cm - 2cm on odd pages: 2cm - 2cm I tried: \setlrmarginsandblock{3cm}{2cm}{*} ...
2
votes
2answers
368 views

Memoir oneside/twoside question

I have a memoir-class document: \documentclass[oneside,letterpaper]{memoir} which I set to oneside or twoside depending on if I want to create either an electronic copy (one side) or printable copy ...
2
votes
1answer
118 views

Hyperref and Subfigure warning

I am using the memoir class, with the hyperref package. At one point, I have a couple subfigures: \begin{figure}[!ht] \centering %%% not \center ...
17
votes
4answers
12k 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 ...
3
votes
2answers
213 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 ...
8
votes
1answer
441 views

Recommendations for partial contents page arrangement in memoir

I'm writing a moderately large reference work using memoir. As it falls naturally into parts by audience, I'd like to include partial tables-of-contents, by part. I have managed to get my head round ...
4
votes
1answer
559 views

Appendix with titletoc and memoir

I'm trying to customize the TOC layout with titletoc in a memoir document. The chapter styling works well as below, but if I try the appendix section, I'll get an error for missing number. I think I ...
7
votes
2answers
292 views

Ensuring a paragraph uses at least a given height?

I'm making a custom document class based on memoir, and I don't know how to implement the chapter precis so that it does what I want (the chapter precis is a small optional paragraph that follows ...
2
votes
0answers
189 views

Changing TOC header mid-TOC

In my TOC, on pages where there chapter titles listed, the page header needs to contain the word "CHAPTER". However, on pages where only appendix titles are listed, the TOC header needs to read ...
10
votes
2answers
8k views

Problem with command \captionsetup from package caption

The following MWE: \documentclass[11pt]{memoir} \usepackage{caption} \captionsetup[table]{ listformat=empty, tablename=Table, justification=justified, ...
1
vote
2answers
33 views

Misplaced label mixing list environments

I am hacking the dramatist package. My aim is to get speech-prefixes to align with speeches for the verse environment, as they do for the prose environment. I've got it working except for a problem ...
0
votes
2answers
155 views

Memoir - change chapter header to native language

I have been given a preamble prepared for writing in English, but I am writing in Danish. And at the top of page there is a small header, e.g., Chapter 8. My native chapter title And I would like ...
6
votes
1answer
453 views

Annoying paragraph spacing issue with memoir

I have a spacing issue while using the memoir class. The main problem is that after the first paragraph there is a line skip and an indentation and afterwards, all the paragraphs are indented properly ...
3
votes
2answers
341 views

Chapterstyle Memoir: Picture on page left, chapter opening on page right

I am working on the layout of my dissertation and I would like to have the following design for all my chapter-openings: New chapters should always start on the left page, with a picturepage that ...
0
votes
1answer
137 views

float a wide ctabular in two columns

I have a very long table (slightly more than 2 pages) and so, am using the ctabular environment of the memoir class. I understand how a float defeats the purpose of a continuous tabular but I would ...
10
votes
4answers
6k 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' ...
2
votes
1answer
98 views

Chapter in memoir not displaying correctly in TOC

I'm having a little problem with a custom chapter style in memoir class. I want to have the chapter titles behaving like parts, i.e. having the title on a separate page. I can do it like so: ...