{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

10
votes
4answers
8k 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' ...
5
votes
4answers
1k views

Booklets in memoir class

I was just reading this question about using pdfpages to create twoup effects in memoir. This worked great for me, but I am wondering how I can get the page order to set up a booklet, so that it can ...
2
votes
1answer
442 views

Zero margins with memoir

I am trying to set up custom page size with zero margins. Here is the example \documentclass[oneside,final,12pt]{memoir} \usepackage{lipsum} % just for sample text \usepackage[T1]{fontenc} ...
3
votes
3answers
2k views

Place two A5 pages on A4 using memoir

I was trying ConTeXt out and found out about imposition. I'm specifically interested in the 2UP schema, so I can just print on a regular A4 and trim. I have a book typeset using LaTeX and memoir. ...
2
votes
1answer
310 views

memoir: spacing changed in new version

I just updated from memoir 3.6g to 3.6j and it broke spacing in my documents. In 3.6g, I used: \setlength{\parindent}{0em} \setlength{\parskip}{0.6\baselineskip} \setbeforesecskip{1.5ex} ...
4
votes
1answer
707 views

First paragraph of section becomes indented after setting \setbeforesecskip (memoir class)

I am trying to adapt my thesis draft to the format specifications of my university, which mandates among other things the number of line skips before and after section and subsection titles. I am ...
5
votes
1answer
171 views

Is it possible to add hooks to the three main logical divisions in memoir?

I want to prepare a style based on memoir that executes code immediately before and after frontmatter, mainmatter, and backmatter (§6.1, pg.71). Without hooks, I have to insert the code in the Latex ...
3
votes
1answer
961 views

Memoir class and textblock configuration for A4 paper

I'm using the memoir class to write my master thesis that should be printed on A4 paper. Altough I'm quite happy with the configuration I did for many aspects of the document, I'm still confused with ...
3
votes
2answers
1k views

Subsections in the ToC when using memoir

Following on from Turn on subsection numbering in memoir, having numbered my subsections, how can I get them to appear in the ToC?
3
votes
1answer
1k 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} ...
3
votes
1answer
606 views

Changing the font of the numbers in the ToC in the memoir class

I found these rows of code in this thread: \renewcommand{\cftchapterfont}{\normalfont\sffamily} \renewcommand{\cftsectionfont}{\normalfont\sffamily} which changes the font for the listings but ...
2
votes
1answer
421 views

Varying images at varying positions in Book and Memoir class chapter styles

I'm working on a chapter style: link (pdf) I want to use a different image at different positions in each chapter, sometimes even hanging into the title line (after the text), but the title line ...
8
votes
2answers
512 views

In memoir, can I number abstracts as sections in the toc?

I'm writing up my thesis right now, using memoir, and I have a problem with abstracts. Each chapter - besides the intro and conclusion - is an article published in a journal, and has its own abstract ...
3
votes
2answers
589 views

Use of pdftricks with memoir

below is a (long, non-working) minimal example for use of pdftricks with the memoir document class. It is based directly on the (shorter, working) minimal example of use of pdftricks found at ...
2
votes
1answer
1k views

Short List of Figures in Memoir

I really like the appearance of the short list of contents, introduced in the memoir manual. What I want is a short list of figures command changing the LoF style similarly. Centered captions followed ...
0
votes
1answer
552 views

Memoir suitable amsthm customization

I'm using the memoir class to write my master thesis. It's math related so there are lot's of Theorems, Definitions and stuff. I know how to customize theorems by using amsthm. e.g. ...
3
votes
3answers
254 views

memoir `\sideparfont undefined` on my Ubuntu machine but not on my Mac

When I run a tex file containing \renewcommand*{\sideparfont}{\small\itshape} on my MacBook it works perfectly but when I am running it on my Ubuntu 10.10 machine I get: !LaTeX Error: \sideparfont ...
6
votes
1answer
266 views

Using ted (or another package) instead of etoolbox for patching commands in memoir?

Another question related to my university's odd ToC style requirements. Regular chapters in the ToC need to have all-caps titles, and appendices need regular-case titles. I have a perfectly elegant ...
4
votes
2answers
989 views

How to change looks of margin notes using memoir?

I have spent some time now trying to figure out how to change the looks of the margin notes produced by the memoir class. I would like to try ragged right and ragged left in italics (so they align ...
2
votes
1answer
1k views

Memoir: no space after section heading

How do I set zero space after a section heading using memoir.cls? If I use the following: \setbeforesubsubsecskip{-\baselineskip} \setaftersubsubsecskip{0pt} I get a run-in heading. This is only ...
6
votes
1answer
669 views

memoir: different pagesizes

I am using the memoir class and have my textblock set to a value so there are about 11 words on one line. This is great for the mainmatter of the report. But for some other pages (list of acronyms for ...
4
votes
2answers
759 views

Memoir class — Displayed heading for subsubsection

I am trying to make a subsection heading with the memoir class. The problem is the following: I want to have a displayed heading for my subsubsection. The text should begin right after the subsubsec ...
6
votes
4answers
2k views

Elements of TOC styling using memoir class

I have yet another (baffling) question. Suppose I have the figure attached The question is how can I move the chapter numbers to align with the first line of the chapter title ? i.e using the ...
5
votes
1answer
2k views

Simple footers with only a page number

I'm using a memoir template with page header defined. In the appendix, I maximize the geometry to print a lot of tables with narrow margins. I currently disable the memoir header with ...
2
votes
2answers
487 views

Whitespace in memoir titles

I am unhappy about the whitespace before and after my chapters, sections, and subsections etc. Using the memoir class I tried to find out on how to reduce this. For my chapters it says I should use ...
5
votes
3answers
882 views

memoir class - Mixed portrait and landscape pages

Section 4.2.2. in Notes on book design makes a reference to mixed portrait and landscape pages. I am aware of pdflscape, that allows such a mixing, but as this manual is written by the author of ...
4
votes
1answer
578 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 ...
6
votes
1answer
854 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 ...
4
votes
1answer
367 views

Marginnote with geometry package

In my document i'm using the packages geometry and marginnote. The problem ist the following: If I use a newgeometry, the marginnote will stay on odd pages at same horizontaly position as by the ...
4
votes
1answer
1k views

How to get the veelo chapter style of the memoir class to pick up trimmed paper sizes?

I have defined how I want to cut my paper and I was planning on using the veelo chapter style. However it doesn't pick up the trimmed paper size correctly. See this example: ...
7
votes
1answer
995 views

How to make memoir not put bibliography on next recto page

I am using two columns in a memoir document and when I place a bibliography using bibtex for some reason it ends up on the next recto page. I am writing a book with multiple chapters and I want each ...
2
votes
1answer
642 views

Subbottom giving weird errors when I use captions for my subfigures

I have a figure with the following syntax: \begin{figure}[h!] \centering \subbottom[$H_n = A_n / e$]{ \begin{tikzpicture}[every node/.style=defnode] ... \end{tikzpicture} } \subbottom[$S_n = A_n - ...
20
votes
3answers
7k 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 ...
3
votes
1answer
545 views

The quickindex option is not working with xepersian package

I have installed TeXLive 2010 on Ubuntu 10.10, when I try to compile a LaTeX file such as: \documentclass{memoir} \usepackage{makeidx} \makeindex \usepackage[Kashida,quickindex]{xepersian} ...
5
votes
1answer
421 views

How can I restore Chapter page numbers in minitoc with memoir?

Here's my minimal example: \documentclass{memoir} \usepackage{minitoc} \usepackage{lipsum} \doparttoc \begin{document} \tableofcontents \part{The Only Part} \parttoc \chapter{The Only Chapter} ...
8
votes
1answer
452 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 ...
2
votes
1answer
1k views

Change font colour of bringhurst chapterstyle in memoir

I would like to change the colour of chapter titles in bringhurst chapterstyle. The following should work, but apparantly I have misunderstood something and am not able to get it to work, and would ...
7
votes
1answer
528 views

pagenote: Adding a cross-referencing mechanism

This question originates from a bug report at SourceForge.net: biblatex from April 2010. A user pointed out that a certain biblatex style (verbose-inote) produced wrong references when used together ...
6
votes
1answer
831 views

Hang section number, but not subsection number in Memoir

I use the memoir class to control my document. I have placed the section numbering in the margin with \hangsecnum, but I don't want the subsection and subsubsection numbering in the margin. How do I ...
13
votes
1answer
5k 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 ...
9
votes
1answer
1k 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 ...
8
votes
1answer
2k views

LaTeX and Mathematica

Does anyone any have experience with writing large works (fx. a thesis, BA, ...) in Mathematica and then successfully converting it to LaTeX code of reasonably quality or should I just stick to my ...
74
votes
5answers
8k 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.
2
votes
1answer
478 views

how to use memoir \ifoddpage

Why does \ifoddpage seem to always return false in the following example? This is related to question 6143 on this same forum. I'm using XeLaTeX to produce a pdf file (i.e., xelatex test.tex) ...
16
votes
1answer
3k views

memoir without chapters

Is it possible to use memoir without having chapters?
11
votes
2answers
504 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.
6
votes
1answer
1k views

pagestyle and chapterstyle design

I am using memoir class for my thesis and I would like some help. Am fairly new to LaTeX but I am not new to programming so I can pick up easily. I will appreciate some help in pointing me in the ...
9
votes
2answers
3k 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 ?
6
votes
2answers
906 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 ...
7
votes
1answer
346 views

Incompatibility between memoir and pdfpages ?

I am including a single pdf page (the title of my thesis) with the package pdfpages : \begin{document} \includepdf{title.pdf} ... But since I switched from report to memoir the page is ...