Tag Info

New answers tagged

2

It's similar, but you need to let memoir know that you are going to have a subfloat, thus \subcaption and not \caption has to be used; this can be done using the optional argument for \newfixedcaption: \newfixedcaption[\subcaption]{\subfigcaption}{figure} A complete example: \documentclass{memoir} \usepackage{graphicx} \usepackage{lipsum} ...


2

I don't have the precise font installed, but here's the basic idea: \documentclass{memoir} \usepackage{sqrcaps} \usepackage[T1]{fontenc} \makechapterstyle{section}{% \renewcommand{\printchaptername}{} \renewcommand{\chapternamenum}{} \renewcommand{\chapnumfont}{\normalfont\Huge\sqrcfamily} \renewcommand{\chaptitlefont}{\normalfont\Huge\sqrcfamily} ...


3

Here's an example adapted from memoir's documentation just to give you some ideas. See titlepages.sty in the documentation directory for further examples. I used an example from there as the basis so I wouldn't have to type stuff from scratch since no text was provided in the question at the time. \documentclass[a4paper]{memoir} \usepackage[T1]{fontenc} ...


2

Something like this? Use \source{Some text} to add something to the los file. \documentclass[oneside]{memoir} \renewcommand{\insertchapterspace}{} \newcommand{\listsourcename}{Picture sources} \newlistof{listofsources}{los}{\listsourcename} \newcommand*{\source}[1]{\addcontentsline{los}{section}{\protect\numberline{\thefigure}#1}} \begin{document} ...


1

The exercise package offers the command \renewcounter{<counter>}[<resetcounter>] to modify the behaviour of predefined counters. So you need to add \renewcounter{Exercise}[section] to your preamble.


1

Use etoolbox for adding what you need. \documentclass{memoir} \usepackage{etoolbox} \setlength{\cftbeforechapterskip}{3pt} \pretocmd{\chapter}{\ojdospacing}{}{} \apptocmd{\mainmatter}{\let\ojdospacing\ojdospacingon}{}{} \apptocmd{\backmatter}{\ojdospacing\let\ojdospacing\relax}{}{} \newrobustcmd{\ojdospacingon}{% \addtocontents{toc}{\addvspace{6pt}}% } ...


3

You can add anything you like to the table of contents with \addtocontents. In the example, I add a \label in the page after which the photo will be inserted; with the help of \AtEndDvi, writing the entry in the .toc file is delayed until the end of the document. I think this is preferable to adding the code at the end, so everything related to the inset is ...


4

This is just a complement to Christians solution which can be made a bit simpler. \documentclass{memoir} \usepackage{xcolor} \newcommand{\epigraphrulecolor}{blue} \makeatletter \addtodef\@epirule{\color{\epigraphrulecolor}}{} \makeatother \begin{document} \epigraph{Some inspirational quote}{The Author (1900--2010)} \end{document} We simply prepend the ...


5

Looking into memoir.cls helps ;-) The command for drawing the rule is \@epirule, which is basically nothing different then a wrapper for a standard rule with some width etc. settings. However, there is no color, indeed. Using a grouped {\color{yourcolor}\rule...} (see code below) works. Grouping is necessary, otherwise the color setting would bleed into ...


1

It depends on your actual intent. If, as was mentioned in comments to the question, the desired change is to obtain a different vertical alignment for unnumbered chapters produced using \chapter* (such as the ToC, LoF, LoT), you can use \printchapternonum. A little complete example in which I changed the original ...


2

memoir pagestyles are quite easy to create. Use \makepagestyle{foo} and the commands \makeevenhead{foo}{left stuff}{center stuff}{right stuff} and \makeoddhead{foo}{left stuff}{center stuff}{right stuff} (and the similar commands \makeevenfoot and \makeoddfoot) To provide the pagestyle for the chapter start page, I kicked the \thispagestyle{chapter} out ...


1

You can use the \needspace macro (directly available in memoir, for other classes there's the needspace package). \documentclass[b5paper]{memoir} \usepackage{lipsum} \renewcommand{\clearforchapter}{} \pagestyle{plain} \chapterstyle{default} \renewcommand*{\chapterheadstart}{% \par \needspace{10\onelineskip} \vspace{\beforechapskip} ...


1

As it can be deduced from the name given to \abnormalparskip, the author of the memoir class doesn't like documents with a nonzero \parskip. And I heartily agree with him. If you want your document to be as ugly as possible (and possibly uglier), here's how you can do. \documentclass{memoir} \setlength{\parindent}{0em} \abnormalparskip{1em} \makeatletter ...


3

As Ulrike Fischer mentions in her comment, one option is to change \parskip inside the list internally used by quote; for consistency's sake, the same modification will be required for the quotation environment. The following example code shows the necessary redefinitions: \documentclass{memoir} \setlength{\parindent}{0em} \newlength\myparskip ...


2

There are several packages which can achieve this, cleveref seems to be the most advanced and most customizable one. At least if the chapter in their documentation fits: Given how useful automated cross-reference typesetting is, there are naturally a number of other LaTeX packages with similar goals to cleveref, most notably varioref, fancyref, ...


2

You should update two macros in order to achieve your desired output: \documentclass{memoir} \renewcommand{\chapternumberline}[1]{}% Gobble chapter number in ToC \renewcommand{\cftchapterdotsep}{\cftdotsep}% Chapter dots in ToC \begin{document} \tableofcontents \chapter{A chapter} \end{document} \chapternumberline formats the number associated with ...


4

Since you are using memoir, you simply have to redefine \clarforchapter using, for example \gdef\clearforchapter{} A complete example: \documentclass[french,12pt,openany,oneside,openright]{memoir} \usepackage{lipsum}% just for the example \gdef\clearforchapter{} \begin{document} \chapter{One} \lipsum[4] \chapter{Two} \lipsum[4] \end{document} The ...


1

The e acute has been added as UTF-8 encoding so you need \usepackage[utf8]{inputenc} in the preamble, or you could enter é as \'{e} .


2

How to do this is described in Section 8.1.1 of the manual (memman) for memoir by setting \parindent to 0em. This can be done by, for example, perhaps, \setlength{\parindent}{0em} The manual also suggests setting \parskip to a positive length to give some vertical space between paragraphs. However, consider what happens when a non-indented paragraph ends ...


0

The font settings of the reference heading are by default the same as the section headings, so you need to do something to make them different. \documentclass{article} \begin{document} \section{Timeline for completion} \cite{inbook-minimal} \bibliographystyle{plain} \bibliography{xampl} \end{document} Since you're not showing us with a MWE what you're ...


2

From the comments, the document seems to be based on University of Bristol Thesis Template. The template document defines and uses its own chapter style named daleifmodif. It's quite unusual to change the chapter style for the bibliography only in a complete different format (left vs. right aligned title). Nevertheless class memoir allows the switching of ...


0

I used the geometry to properly set the margin sizes (6 outer, 2 inner). Remember the \headwidth must come after the geometry margins definition. As pointed by daleif it's much easier and cleaner to do it with memoir companion style. If you want the first chapter page to have same style just add \aliaspagestyle{chapter}{companion} after the \pagestyle. ...



Top 50 recent answers are included