Hot answers tagged

29 votes
Accepted

Tufte layout in "Painless Memoir?"

Initial remarks Firstly, consider what elements of Tufte's book design you want to emulate (the page geometry, the styling of running heads and headers, side notes, different widths and position of ...
user avatar
28 votes

Examples of simple beautiful PhD theses

Aaron Turon created a beautiful thesis. His colophon: This document was typeset using LATEX, with a mixture of classicthesis developed by André Miede and tufte-latex, which is based on Edward Tufte’s ...
user avatar
  • 433
28 votes
Accepted

Is memoir class like an extended version of book class?

Yes, memoir is ideal for a humanities thesis. I am using it for mine. The memoir class incorporates the functions of a large number of commonly used packages to provide a more consistent interface, ...
user avatar
  • 11.8k
20 votes

Why are the standard document classes not being developed further?

Three aspects here, one on design, one on macro programming, one policy. At the design level, it's well-known that the standard classes are somewhat esoteric without modification. However, there are ...
user avatar
  • 243k
19 votes
Accepted

how to implement something that looks like email in memoir class

This is my favorite kind of question! Update If you get some nice icons related to emails, then you can add them to the design (I got some icons from iconfinder for my example). Here's the tcolorbox ...
user avatar
19 votes
Accepted

How to set margins in memoir class?

The main issue here is that memoir has two ways of setting margins. One where iøyou set the margins and let that dictate the text block. And one where you specify the text block and then place that on ...
user avatar
  • 49.5k
18 votes
Accepted

Is there a way to center align chapter titles?

This answer assumes you are using the report or book document classes. i.e. \documentclass[...]{report} or \documentclass[...]{book} is at the top of your document. The Easy Way The easiest way to ...
user avatar
17 votes

How to remove the self-reference of the ToC from the ToC?

I suggest you, if using the tocbibind package: \usepackage[nottoc]{tocbibind}
user avatar
17 votes

Why are the standard document classes not being developed further?

I am the author of the memoir class. I had used the standard classes for my documents, usually with some added packages or preamble code to get the look I wanted, often writing new packages for that ...
user avatar
  • 25.6k
16 votes
Accepted

How to eliminate over-specification in h and v warning in Geometry package?

You're probably misunderstanding what total= is for: it specifies the width and height of the text block, not the paper size. The paper size is already specified by the global option a4paper (you don'...
user avatar
  • 993k
16 votes
Accepted

How to position a figure enviroment above footnote?

You can use \usepackage[bottom]{footmisc} or (only in memoir) the command \feetbelowfloat. \documentclass[article]{memoir} \feetbelowfloat \begin{document} Some text\footnote{The footnote} \begin{...
user avatar
16 votes

How to simulate old typewriter?

I've generated a lookup table of macros to print characters with a vertical offset that's random but consistent for each character. This covers all printable ascii characters except those that have ...
user avatar
  • 8,310
14 votes
Accepted

cleveref and amsthm -- incorrect environment name

You just need to move the definitions of your theorem-like environments to after the loading of cleveref package: \documentclass{memoir} \usepackage{amsthm} \usepackage[capitalise]{cleveref} % ...
user avatar
14 votes
Accepted

Insert extra blank pages after title

Two empty pages without headers and footers, and without increasing the page counter (\null is short for \hbox{}): \shipout\null \shipout\null With headers and footers of page style empty and ...
user avatar
14 votes
Accepted

Class memoir Error: Font command \it is not supported

The Plain-TeX font-switching commands -- \rm, \sf, \tt, \bf, \it, \sc and \sl -- are not defined in the LaTeX kernel, and they are considered badly deprecated in LaTeX documents. One should use \...
user avatar
  • 439k
13 votes
Accepted

Disable `colorlinks` locally (or just for the ToC)

You could use locally \hypersetup{hidelinks}
user avatar
13 votes

Is memoir class like an extended version of book class?

From the memoir manual: The memoir class is an attempt to integrate some of the more design-related packages with the LaTeX book class.[...] The memoir class effectively incorporates the ...
user avatar
  • 73.4k
12 votes
Accepted

Set precise font size in memoir class

First of you will need the extrafontsizes class option to activate the very large huge data. It is not well described in the manual. I've added that to my TODO list. To change the font sizes to ...
user avatar
  • 49.5k
12 votes
Accepted

Handling optional commas in text

Unobtrusive parts in a TeX file can be made with a single character if it is an active character. Here is how you can do it with ; for \optionalcomma (if you don't need real semicolons). \...
user avatar
  • 4,158
11 votes

error in memoir: Command \newfloat already defined

Just for the record, I had the same problem, using memoir and floatrow together. Removing pdflatex from the preamble did not solve it. I compiled the document successfully by adding the following ...
user avatar
  • 390
11 votes
Accepted

What's the use of an empty mbox{}

Probably \mbox is used to get out of the vertical mode because of the \parbox to switch to paragraph mode. For example, #1 may start with a \color command. In vertical mode, the color whatsit is set ...
user avatar
11 votes
Accepted

Uneven Line Spacing for Arabic Text using xelatex + memoir + plyglossia

What you are trying to do can be achieved but it will be difficult and frustrating. Questions tagged grid-typesetting contain many details on the matter. Long story short, (Xe)LaTeX is the wrong tool ...
user avatar
11 votes
Accepted

Making the font size larger than \HUGE in chapter headings with memoir?

You're free to create a new macro called, say, \YUGE (sorry, I couldn't resist!), as \newcommand\YUGE{\fontsize{48}{60}\selectfont} or, if you want to go overboard completely, as \newcommand\YUGE{\...
user avatar
  • 439k
11 votes

Handling optional commas in text

Piece of cake if you're free to use LuaLaTeX. :-) The code below sets up two Lua functions, called functionA and functionB, and two LaTeX utility macros, called \OptionA and \OptionB to activate the ...
user avatar
  • 439k
11 votes

Handling optional commas in text

You might (ab)use \, for the purpose. Use \thinspace if you really need the original meaning of \, in text mode. \DeclareRobustCommand{\,}{\ifmmode\mskip\thinmuskip\else\optionalcomma\fi} \newcommand{...
user avatar
  • 993k
11 votes
Accepted

TeX Live 2021, memoir, chemmacros and float conflict

The problem is that memoir does \AtBeginPackage{float}{\let\newfloat\relax} which effectivly undefines \newfloat. Now, when float is loaded the \newfloat definition of float is valid and not the one ...
user avatar
  • 64.6k
10 votes

How to use \usepackage[parfill]{parskip} in memoir class?

You don't use the parskip package in memoir: it's listed among the ones that the class emulates (page xxix of the manual). In section 3.3.1 it is explained how to set a nonzero \parskip, but I'd like,...
user avatar
  • 993k
10 votes
Accepted

Modify ToC Backmatter Entry Distance

Load the package etoolbox and issue \preto{\backmatter}{\addtocontents{toc}{\protect\addvspace{16pt}}} In this way, when you issue \backmatter a 16pt skip is added in the ToC. MWE: \documentclass[...
user avatar
10 votes
Accepted

Is it possible to typeset with angled margins?

If you're patient enough: The code: \documentclass{memoir} \usepackage{fontspec} \usepackage{polyglossia} \usepackage{lipsum} \setmainlanguage{latin} \nonzeroparskip \begin{document} \parshape ...
user avatar
10 votes
Accepted

"Incompatible list can't be unboxed" with memoir class and many box registers

Sorry this is a latex bug, it's bad style to use a \new... in a local group, but the behaviour if you do it is not supposed to be that bad, This adds two \global which get things back on track. I ...
user avatar

Only top scored, non community-wiki answers of a minimum length are eligible