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
4
votes
2answers
76 views

Polyglossia v1.46 modifies font family in header

This is my first question, please let me know if I am doing something incorrectly! After updating polyglossia to version v1.46 (from 2019/11/15) there seems to be a clash with memoir to version 2019/...
3
votes
1answer
624 views

Make footnote span entire text width in `twocolumn` mode in `memoir`

I am trying to use the twocolumn option from memoir but it is also formatting the footnotes into two columns. \documentclass[12pt,twocolumn]{memoir} \usepackage{lipsum} \begin{document} \chapter{The ...
0
votes
1answer
39 views

How memoir prints the titles of the content pages?

On the question How to dynamically calculate the height of an empty list of things?, I learned I am required to now how my class calculates its contents page title in order to make the answer to works....
0
votes
0answers
33 views

Junk with per-cent signs on pages at end of index

For a book-length document, using the memoir documentclass, inputting many files, and using many packages, the pdf index has two pages of utter junk, consisting of per-cent signs and spaces, as shown ...
0
votes
1answer
33 views

How to stop \newsavebox giving me bad boxes warnings or how to use better names with \setbox?

The original answer from list of figures and tables when there are no figures or tables?, does not give me any bad box warnings: \def\wheninteresting#1{% \setbox0\vbox{#1}% \ifdim\ht0>35pt \...
2
votes
1answer
28 views

Misplaced \noalign. \captionsetup ->\noalign when using \captionsetup inside memoir \legend command

I am trying to set up the memoir \legend command to use colon : as the caption separation label, while using dash -- on all other captions. The problem happens when I use my custom memoir \legend ...
2
votes
2answers
57 views

How to disable shorthands inside my command?

On the question, How to have a dynamic \cft numwidth, i.e., accordingly to the number size?, I got an answer to automatically calculate the width of my List of Listings number, so the next figure does ...
0
votes
1answer
27 views

How to set minted listing table of contents numwidth?

I managed to change my lstlinsting numwidth with \setlength\cftlstlistingnumwidth. But when I try to do the same with minted listing, I got Undefined control sequence: \cftlistingnumwidth \...
3
votes
1answer
341 views

filehook error with memoir after update texlive 2019 in Oct 15

After the new LaTeX2e <2019-10-01> version, I got this error: ! Package filehook Error: Detected 'scrlfile' package with unknown definition o f \InputIfFileExists. It seems related with ...
1
vote
1answer
39 views

How to have a dynamic \cft numwidth, i.e., accordingly to the number size?

For example, when this listing example, reaches up to 10000 items (listings) on the table, the number is hidden behind the hyphen, i.e.: You can do this by either creating 10000 listings in the ...
0
votes
3answers
42 views

fully justified verse in memoir with \obeylines

I want to typeset text in verse environment in memoir, where each line is fully justified without the need of adding \\ after each line. So, basically I want a way to combine the answers in \...
2
votes
1answer
73 views

How to vertically align text to the middle of page

I want to vertically align the text to the middle of the page, if the text is not long enough to fill out the page. For example if I write 1,5 pages: The first page is full and therefore the text is ...
2
votes
0answers
29 views

Uneven margins memoir class

I'm having trouble with the margins of my report. The report is set up with memoir class: \documentclass[a4paper,12pt,fleqn,dvipsnames,twoside,openright]{memoir} \setlrmarginsandblock{3.5cm}{2.5cm}{*...
0
votes
0answers
25 views

How set page style headers for nomenclature with memoir?

Question How do I get the indicated page style mypage to apply to the nomenclature section of the following memoir MWE source? That is, odd-numbered pages of the nomenclature ("Index of Notation") ...
2
votes
2answers
82 views

Make longtable captions single spaced using memoir class

I am having a nightmare trying to solve this problem. It seems standard captions for figures and tables using memoir class are single spaced, but for tables created using longtable package they are ...
1
vote
1answer
86 views

memoir: headers for short and detailed tables of contents

The following memoir documentclass source produces two tables of contents -- a short one and a detailed one. (The difference is that only the latter includes subsections.) Question: How do I get the ...
0
votes
1answer
52 views

memoir + biblatex + 2 TOCs error

In https://tex.stackexchange.com/a/512752/13492, it was shown how to produce both a short and a detailed table of contents (TOC) in a memoir document. And so that each of the two TOCs is listed as an ...
4
votes
1answer
221 views

Hyperref not jumping to the appropriate location for memoir's subbottom

I'm trying to utilize native Memoir subbottom command. However, I'm unable to make hyperref links jump "to the picture", rather than "to the caption". Only links to (a) and (d) work as desired. \...
2
votes
0answers
69 views

Can footnotes be printed on-demand as part of the main text?

Solved with parnotes package. ... Is there a command for printing footnotes as part of the main text? I seem to remember a way of doing that with endnotes, where the accumulated notes would show up ...
1
vote
0answers
41 views

memoir: Exclude entry of other TOC from each of two TOCs

I'm using the etoc package with the memoir document class to get two tables of contents (TOCs): a Short Contents listing only chapters and sections, and a Detailed Contents also including subsections. ...
0
votes
1answer
20 views

How to increase memoir table of contents spacing between appendix and its hyphen?

After patching (manually, i.e, directly editing memoir's code), this: It should look like this: I tried to patch the memoir using xpatch. This patch I did would work if it was finding the correct ...
0
votes
2answers
25 views

The appendix word disappears from the table of contents when using \include

If you compile the following minimal example which uses the abntex2 class, which is just a wrapper around memoir class: \documentclass[ 12pt, ]{abntex2} \begin{filecontents*}{beauty.tex} \chapter{...
0
votes
1answer
43 views

Memoir pagestyle problem

For a memoir document, I'm trying to get even and odd page headings for ordinary chapters to have the forms such as 2 1 One and 1.1 A section ...
2
votes
0answers
22 views

Memoir class \paragraphfootstyle: Can paragraphed footnotes be split?

I am trying to get footnotes typeset in paragraphs, but with more than one paragraph of footnotes per page. This is to achieve a layout common in critical editions of Latin liturgical texts, such as ...
0
votes
1answer
25 views

How get “Section x.y” in header using \createmark with memoir?

The code \createmark{section}{right}{shownumber}{\@secapp}{\ } in the following source gives error that \@secapp is undefined. I tried to use that by analogy with the use of \@chapapp in the ...
2
votes
1answer
37 views

memoir: Adding text below part title?

I would like to be able to add a bit of text below the title on a part page. Based on this answer to this question, I came up with \documentclass{memoir} \usepackage{lipsum} \usepackage{ragged2e} \...
0
votes
1answer
31 views

Have section headers be dependent upon recto vs verso pages

Would it be a typographical abomination to have section headers be mirrored of the verso pages on the vecto pages? ie, if the verso page looks like: Verso: 1.1 Some header Then, Recto: Some ...
0
votes
1answer
26 views

How change memoir header chapter element to omit “Chapter”

With memoir, how do I change the following source so that the word "Chapter does not appear in the header on even-numbered pages? That is, where I now get Chapter 1. The Fall of Humpty-Dumpty I ...
1
vote
0answers
75 views

Reledmac and Very Big Footnotes

I'm writing a commentary on some manuscript. Since it's not small as footnotes, and I'm trying to keep it in footnote so that I get running text above and running commentary below. Sometimes, the ...
0
votes
0answers
16 views

How can I add an image at top border using /paperwidth in just one specific page?

I need to put one image at top of one page that spans through all paperwidth, I've tried the next command in memoir: \newcommand{\adjustimg}{ \checkoddpage \ifoddpage\hspace*{\dimexpr\evensidemargin-\...
0
votes
1answer
77 views

Memoir and resize box in LyX

I am using memoir in Lyx and would like to use resizebox for one of my tables, but it does not seem to work. I have written the following \resizebox{\textwidth}{!}{% HERE I HAVE INSERTET THE TABLE ...
2
votes
1answer
29 views

Ordering items in index

An unexpected (to me!) index ordering in memoir. Here's a MWE. \documentclass[11pt]{memoir} \usepackage{makeidx} \makeindex \begin{document} Aristotle \index{Aristotle} (CP) \index{:@(CP)} $\...
6
votes
4answers
8k views

How can I remove the blank page after the main title Appendix

I am using a thesis template. My problem is similar to How to remove empty page after appendix and the next chapter? Yes, I have tried all those solutions but no one works for my template. The ...
3
votes
2answers
164 views

Avoid page breaks after parts{..} command in memoir

I am using the memoir class. I am curious whether I am misunderstanding something from the manual. I am trying to create a book where a \part(...) command does not force a new page immediately after ...
0
votes
1answer
24 views

Customize Appendix numbering in memoir class

In memoir class how can I have numbered appendices (APPENDIX 1 instead of APPENDIX B) both in the body of the document and in ToC? I have read the memoir user manual and could not find how
0
votes
2answers
55 views

How to change the table of contents' style?

I would like to give a custom style to my table of contents, in a memoir document. My goal is to make it look like in the image below, more specifically underline the entire line for sections and ...
0
votes
1answer
154 views

Using arydshln, tabu and X columns with memoir

This question is related to: Conflict between arydshln and tabu and X column type? The following works with the article class, but not with memoir: \documentclass{article} \usepackage{arydshln} \...
0
votes
1answer
38 views

Style end of chapter in memoir?

memoir provides various ways in which the beginning of a chapter can be styled. I cannot find anything in the manual that lets me style the end of a chapter, like adding a fleuron. Is this possible?
1
vote
2answers
193 views

Design \chapter*, toc and shorttoc {memoir}

Documentclass memoir. Did the design of the head thus: \documentclass[a4paper,12pt,small, openany,twoside]{memoir} \usepackage[T2A]{fontenc} \usepackage[utf8]{inputenc} \usepackage[english,russian]{...
3
votes
1answer
46 views

How to change caption style for new float in memoir?

i defined a new float in memoir class. everything works fine, except i can't manage to change the caption font style. if i declare \captionnamefont{\bfseries}, the font changes only for default float ...
1
vote
0answers
66 views

What is the best class for writing a PhD thesis? [closed]

What would you say: book, memoir, classicthesis...? I want to read as much as I can on the class documentation before I start writing, so I avoid problems in the future, when I should be focussing on ...
4
votes
1answer
246 views

Memoir: treating a section as an appendix

We have an in-house document class which is based on memoir. For some smaller documents we don't want chapters so we effectively promote sections to be chapters as in my MWE. My question is how can I ...
5
votes
3answers
436 views

Remove List of [newfloat] from TOC

I'm using the package newfloat and I've added a new figure: \DeclareFloatingEnvironment{dirfigure} Now when I use \listofdirfigures - the list is added to the Table of Contents. With normal ...
0
votes
1answer
27 views

How to change the chapter name from Chapter to Module in Memoir documentclass?

I want chapter name Chapter to be replaced by Module in Memoir document. Any suggestions to achieve this.
1
vote
1answer
159 views

Memoir class \pfbreak spacing inconsistency

I am using XeLaTeX and the Memoir class, and the xeCJK package for typesetting Chinese. The space taken up by \pfbreak is two lines by default, and it's the same for both the "plain" break in the ...
0
votes
1answer
136 views

Memoir class - bibliography environment reference to wrong bibunit

I am writing my thesis using the memoir class. I have a main which calls all the needed files. One of these files is the "summary" which calls two different tex files with respective bibliographies (...
0
votes
1answer
44 views

Customize ToC page layout

I am using memoir, in the document the ToC is inserted after the Introduction chapter. My problem is that the pages occupied by the ToC change the layout, headers and footers disappear, also I have ...
0
votes
1answer
45 views

Calling nested indexing macros

Here is my simplified document sample which is failing with the errors mentioned in the comments. I tried to enclose the nested macro with { and } and it didn't work, same with enclosing it with \...
0
votes
1answer
27 views

How to reset setting of multi-column footnote to its default case

I had a page with many footnotes. Therefore to make the page in better shape, I used \twocolumnfootnotes command to have the footnote in two columns. But for other pages, I don't want the footnotes to ...
2
votes
1answer
45 views

Fix unwanted spacing between list items and paragraphs in memoir class

When writing a document in the memoir class I am getting some unwanted spacing between lists and paragraphs etc. If there isn't a full page of content then instead of placing the blank space at the ...