Book in memoir
memoir sets the trim size, margins and chapter style itself — for a book meant to be printed.
Create an account to use this
- Category
- Book
- Document class
memoir(memoir.cls) — ships with TeX Live- Workflow
- Book — submissions and revision rounds
- Author
- Manulyx
- Licence
- Manulyx's template: CC0 1.0 (free to use, no conditions). The memoir class keeps its own licence (usually the LaTeX Project Public License).
What you get
main.tex— the file that is compiled · 1 KBfront/preface.tex· 78 Bchapters/one.tex· 308 Bchapters/two.tex· 414 Breferences.bib· 178 B
These become your files. Editing them afterwards changes your project and nothing else — a project owns its files from the moment it is made.
Link to this template. Send it to a student or co-author: it starts a new paper in this template, through sign-up if they need an account.
https://manulyx.com/start/book-memoir
Source
main.tex — the file that is compiled · 1 KB
\documentclass[11pt,twoside,openright]{memoir}
% The page, as a physical object. memoir does this itself and does it well, which is why neither
% geometry nor fancyhdr appears here: loading them would be two packages fighting the class over
% the same decisions.
\setstocksize{234mm}{156mm} % the trimmed page: a common academic octavo
\settrimmedsize{\stockheight}{\stockwidth}{*}
\setlrmarginsandblock{22mm}{30mm}{*} % inner, outer — the inner is wider for the binding
\setulmarginsandblock{25mm}{30mm}{*}
\checkandfixthelayout
\chapterstyle{veelo} % one of memoir's own; swap for bianchi, dash, madsen, ...
\setsecnumdepth{subsection}
\settocdepth{section}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{amsmath,amssymb}
\usepackage{graphicx}
\usepackage{booktabs}
\usepackage[style=authoryear,backend=biber]{biblatex}
\addbibresource{references.bib}
% Some slack for the line breaker, so a reference with a long unbreakable title stays in the margins.
\setlength{\emergencystretch}{2em}
\title{Your paper}
\author{Author Name}
\date{\today}
\begin{document}
\frontmatter
\maketitle
\tableofcontents
\input{front/preface}
\mainmatter
\input{chapters/one}
\input{chapters/two}
\backmatter
\printbibliography
\printindex
\end{document}
front/preface.tex · 78 B
Loading…
chapters/one.tex · 308 B
Loading…
chapters/two.tex · 414 B
Loading…
references.bib · 178 B
Loading…
The first page, as this template compiles today. Click it to enlarge, and again to shrink. Open the file ↗