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.
2,228
questions
0
votes
1
answer
20
views
How to make the entire TOC of class memoir in sans-serif and in `light_blue`?
I have a tex file in class memoir
\documentclass{memoir}
\usepackage{hyperref,xcolor}
\hypersetup{
colorlinks=true,
linkcolor=blue,
filecolor=blue,
urlcolor=red,
citecolor=magenta,
...
2
votes
1
answer
60
views
How to make the title "Chapter 1" in class memoir sans-serif and `light_blue`?
I have a tex file
\documentclass{memoir}
\usepackage{xcolor,hyperref}
\hypersetup{
colorlinks=true,
linkcolor=blue,
filecolor=blue,
urlcolor=red,
citecolor=magenta,
bookmarksopen=true,
...
2
votes
1
answer
23
views
How to change the font of TOC in class memoir to sans-serif?
I have a tex file
\documentclass{memoir}
\usepackage{xcolor,hyperref}
\hypersetup{
colorlinks=true,
linkcolor=blue,
filecolor=blue,
urlcolor=red,
citecolor=magenta,
bookmarksopen=true,
...
3
votes
1
answer
53
views
How to replicate the font and color in TOC of the documentation of class memoir?
I am writing my thesis in class memoir:
\documentclass{memoir}
\setcounter{secnumdepth}{3}
\setcounter{tocdepth}{3}
\begin{document}
\chapter*{Acknowledgment}
\chapter*{Abstract}
\tableofcontents
\...
1
vote
1
answer
23
views
How to replicate the sans-serif fonts (text and math) from `beamer` into `memoir`? [duplicate]
I have a beamer tex file:
\documentclass{beamer}
\begin{document}
\begin{frame}
This is a Fokker-Planck equation:
$$
\partial_t \mu_t=\gamma_t \operatorname{div}\left(\mu_t \nabla V\right)+\Delta \...
2
votes
1
answer
37
views
How to highlight a subsection without destroying the referencing system?
I have to use the following template (all unneeded is removed for the question):
\documentclass{memoir}
\usepackage{hyperref}
\begin{document}
\part{Regelungstechnik}
Text.
\chapter{...
0
votes
0
answers
30
views
Colored chapters in memoir cause page breaks before lists
Imagine that I try to make my chapter titles red in memoir. Then by inserting appropriate skips, I can get a page break between the heading and a list environment coming after (see example below). By ...
0
votes
0
answers
35
views
Split book into several volumes
Sometimes it is not possible to print a book as a single volume because it is too large. This is common with university reprography services, which often limit bound volumes to around 300 sheets (...
2
votes
1
answer
28
views
ms option in memoir class
Using the memoir class with the ms option I get the error "Underfull \hbox (badness 10000)" on basically every line. A minimal working example of this happening is
\documentclass[ms]{memoir}
...
1
vote
1
answer
27
views
Formatting chapters in the toc in memoir
Good evening,
to meet the requirements of my university, I got to do some changes to the way chapters are displayed in the Toc. I read the corresponding memoir documentation but couldn't figure how to ...
2
votes
2
answers
46
views
change font for section title but not section number in memoir class
Say you have numbered section titles, so that when you write \section{Foo} you typeset "1. Foo". I don't see how with the memoir class facilities I can change the font of the title ("...
0
votes
0
answers
31
views
Remove "Chapter" for some chapter in TOC memoir (some chapters after no adding to TOC)
I have a trouble with adding to TOC some unnumbered chapters and removing Chapter #1 for some chapters in memoir class... I need to create my custom chapter styles, based on bianchi.
For example, I ...
1
vote
1
answer
53
views
Check if a partial list created with titletoc is empty
I’m using the titletoc package with the memoir class, and I want to conditionally hide the titles of partial lists (e.g., \listtablename) if they are empty. Currently, I have the following setup.
\...
1
vote
0
answers
22
views
beforesecskip occasionally failing in memoir
I'm typesetting a long and complex book with memoir class. In two cases, \beforesecskip seems to be ignored, in a rather random way which wonders me (I have been using memoir for a couple of years now,...
1
vote
0
answers
31
views
Styling of TOC, List of Figures, List of Tables,... heading
I am using the memoir class and the titlesec package to style my chapter & section headings. However these don't seem to be used for the headings of the Table of Contents, the List of Figures etc. ...
1
vote
1
answer
34
views
Position equation number always on the edge side of the page
Is it possible to switch equation numbers from leqno/reqno depending on whether the page is even or odd? I'd like equation numbers to never appear on the spine side of my twoside memoir document, and ...
2
votes
1
answer
56
views
Can you get a full bleed image with memoir without using geometry?
Is it possible to add a full bleed image to a page, using the memoir class, without resorting to using the geometry package or to manual adjustment?
The best option I've found so far is to manually ...
0
votes
0
answers
29
views
Memoir header marks are blank when page style is changed within the document
I copied from the Memoir documentation some very simple and working code to modify headings. It seems like \rightmark and \leftmark fail to resolve if the page style is set temporarily or changed in ...
1
vote
0
answers
31
views
Memoir class - I would like to have footnotes without indentation on the first line, but no formatting options seem to work
I am using the memoir class and I am trying to get rid of the space before footnote marks. I would like to have the whole paragraph as a block, without indentation on the first line.
I tried changing ...
0
votes
1
answer
22
views
Aligning legend with figure width memoir class
I'm using the memoir class. Let's say I have a figure like this.
\begin{figure}[htbp!]
\centering
\caption{Super-cool Figure}
\label{fig:super_cool}
\includegraphics[width = 0.7\...
1
vote
1
answer
61
views
Can I use IfSubStr to search pgf key values that contain footnotes?
I would like to search some pgfkeys values for particular substrings. My attempt to locate such functionality in the manual didn't pan out, so I turned to using "\IfSubStr" from xstring. ...
1
vote
0
answers
55
views
How can I make my thesis 1.5 line spaced
I am currently compiling my thesis, and am having trouble making it 1.5 line spaced. As you can see below, I have loaded the setspace' package yet the onehalfspacing' command is not working as I get ...
2
votes
0
answers
43
views
Interference between color and geometry packages under memoir class [duplicate]
I have the following extra simple code (which I trimmed from larger code):
\documentclass{memoir}
\usepackage[paperheight=150mm,
paperwidth=100mm
]{geometry}
\usepackage{...
0
votes
1
answer
40
views
Removing empty page before acronyms list in openright memoir class
I am writing my thesis using the memoir class with the following options:
\documentclass[12pt,a4paper,twoside,openright,oldfontcommands]{memoir}
I am looking to print the acronyms list without a ...
1
vote
1
answer
35
views
Remove Part Page in Memoir Class
In the memoir class, is there a way to remove the part page entirely? That is, in the text there is no indication of a new part beginning. However, the part still appears in the ToC, and things like ...
1
vote
1
answer
37
views
Changing margins mid-document with memoir
I'm writing a one-sided book-type document using memoir and would like to change the size of the side margins for a few pages midway through.
I have tried using the \setlrmarginsandblock command but ...
3
votes
2
answers
102
views
`\\[len]` is ignored for rows with line breaks in `tabular` when using `memoir`
Consider the following table in my memoir article:
\documentclass{memoir}
\begin{document}
\begin{table*}[ht]
\scriptsize
\centering
\begin{tabular}{l p{2.5cm} p{9cm}}
\...
0
votes
0
answers
22
views
Memoir epihead command discards footer
I'm trying to use the memoir class for a document, but I can't add an epigraph in the header using epihead, as that discards a required footer
Is this command changing the style, I've seen \...
2
votes
1
answer
63
views
Number subappendices using lowercase small caps in memoir
I want sections in subappendices to be numbered using lowercase small caps in memoir. That is, I want all references to these sections to use lowercase small caps. From the top of my head, this ...
1
vote
2
answers
60
views
Table of contents doesn't display chapter names in memoir class after adding Hebrew as secondary babel language
I wanted to include a few Hebrew characters in the text of a memoir. If I write \usepackage[hebrew,english]{babel} in the preamble though, chapter's no longer have names in the table of contents. They ...
0
votes
1
answer
18
views
Forcing table on even page in memoir's subindices messes with amsmath's \numberwithin
When I use the Schweinebacke's solution to ensure that a table is placed on an even page inside memoir's subappendices environment together with amsmath's \numberwithin, then \numberwithin doesn't ...
0
votes
1
answer
25
views
How to add a custom ToC entry with a page number outside the document using memoir?
How can I add custom ToC entries that refer to pages after the last page of my document? The company that prints it requests the appendices as separate PDFs, but I'd like the ToC to refer to them ...
0
votes
0
answers
37
views
Alternate Flush Right Left in the text block
With this minimal example, the argument (text) of the \position command is placed inside a \marginpar. I would like to have the text of \position within the text block and NOT in the margin. \...
0
votes
0
answers
32
views
Restart poem numbering with each chapter
Using \PoemTitle in the memoir class results in continuous numbering of the poems across the entire book. I would like to restart the numbering in each chapter. Is this possible?
Here's an mwe:
\...
4
votes
2
answers
116
views
Memoir pagenote (endnote) id's all coming out the same
I am creating a document using the memoir package and specifically memoir's endnote facility (which is called pagenote to avoid naming conflicts). The document, when complete, will have an entry for ...
5
votes
2
answers
106
views
How to adjust spacing above table of content in memoir?
In this simple memoir table of contents, there appears to be spacing between the heading and the table of contents. That is, the vertical space between the "Contents" rule and "1 Lorem&...
0
votes
0
answers
20
views
How to prevent duplicate pdf bookmarks from \addcontentsline [duplicate]
I'm creating a LaTeX document with custom-defined sectional headers:
\newcommand{\headpart}[1]{\stepcounter{pt}\begin{center}\rule{1.75in}{1pt}\\\vspace{0.5\onelineskip}\Large{Part \thept}\\\vspace{0....
0
votes
0
answers
70
views
manually specifying some line numbers in verse
I'm typesetting a translation of some ancient Greek poetry into English, and want to have the usual verse line numbers that are generated by the verse environment in the memoir article class, but I ...
1
vote
1
answer
34
views
\hfill not aligning properly in verse environment in memoir
I'm typesetting a bunch of poetry some lines of which have what are essentially marginal labels, all of which I want to be right justified against the right-hand margin. When I use \hfill, they do ...
0
votes
1
answer
41
views
Getting rid of overfull in epigraph
I'm getting an overfull warning: Overfull \hbox (15.0pt too wide) in paragraph at lines 14--14. How may I get rid of the warning? I want to keep the epigraph alignment as "justified". I don'...
1
vote
0
answers
46
views
A sectioning scheme for a book with Memoir Class
I wrote a book with the DTP Adobe Frame Maker and I, myself, did the paragraph formatting and page layout. Now, I am translating the book to English and, this time, the book is being formatted and ...
0
votes
0
answers
24
views
Quotation marks left of line in `poemscol`?
I have been dabbling in using poemscol to typeset a poetry collection, having previously done most of my poetry in memoir class documents. poemscol is appealing mostly for its poetry sub-sectioning ...
1
vote
1
answer
166
views
Stock size, trim size, bleed area, safety margin -- Memoir
Problem: I'm self-publishing through BookVault (switched from Amazon KDP) and have the following BookVault template for the text:
Using the Memoir package I use \setstocksize{285mm}{222mm} to set the ...
0
votes
1
answer
44
views
System stalls using include files
With no style file the following MWE works as expected.
\documentclass[a4paper, 11pt, oneside, onecolumn]{memoir}
\usepackage{StyleFile}
\begin{document}
\include{Chap1}
\include{Chap2}
...
3
votes
3
answers
171
views
`\settocdepth` followed by `\include` incorrect order in ToC file
I can use \settocdepth to change the depth of the ToC min-document.
This works as expected in the MWE below when I comment out the \include statement.
However, when the \settocdepth command is ...
1
vote
1
answer
31
views
Strange line width in memoir
Here is the MWE:
\documentclass[a4paper, 12pt, oneside, openany]{memoir}
\AtBeginDocument{
\settrims{0pt}{0pt}
\settypeblocksize{257mm}{165mm}{*}
\setlrmargins{30mm}{*}{*}
\setulmargins{20mm}{*}{*}
\...
1
vote
1
answer
54
views
memoir, verbatim: how to remove blank space symbol in verbatim text
Why the following MWE produce the following result:
\documentclass{memoir}
\begin{document}
why in the verbatim text is shown blank space symbol \verb!verbatim text!?
\end{document}
How to remove ...
2
votes
2
answers
85
views
How to center align long titles that wrap in the TOC?
I have some section and subsection titles that span more than one line in my TOC. My TOC is center aligned but my titles that wrap aren't center aligning?
\documentclass{memoir}
\let\ordinal\relax
% ...
0
votes
1
answer
52
views
Chapter header bugged through document
I'm looking to make a new book-like chapter format in which there's an image before the chapter's name and came up with a code by redefining chapter to do just that through a tikzpicture but now the ...
0
votes
1
answer
56
views
Force two figure "floats" on the same page [duplicate]
In my memoir LuaLaTeX document, I have two figure floats that fit together on a single page if there is no other text.
\begin{figure}\centering%
\includegraphics{fig_a.png}%
\caption{My ...