New answers tagged

1

Using \renewcommand{\thesection}{\arabic{section}} is similar to \makeatletter \renewcommand{\thesection}{\@arabic\c@section} \makeatother so use the former. Sectional numbering is defined recursively by default, meaning that if its removed from \section, it'll be removed from \subsection, \subsubsection, ... However, the chapter number may show ...


1

Because of the asynchronous nature of the headers and footers, \currenttitle is not a good choice for the header. More traditionally \leftmark and \rightmark are used. Also note that these marks are uppercase in memoir by default. If interested you can have a look at the headings style code in the memoir sources, \makepsmarks and how it is used might be ...


0

First of read what I say, you should only have ONE \checkandfixthelayout! this is the macro that checks the values. Sendcondly, plesae always post something we can use, we do not have all the files you include (the kantlipsum package can be used for filler text) Third, why are you changing the stock size from a5paper (210mm by 148mm) to 210mm by 140mm, ...


2

I put in a save/restore for all such "bare" counters derived from the datamodel. This doesn't seem to impact anything as far as I can tell - all test docs generate identical output. The problem was larger than \theauthor as the default datamodel also generates \thetitle etc. DEV version 3.4 has this fix.


1

Rob Oakes says that; The memoir class, by Peter Wilson, may be the Great Start of Africa of LaTeX document classes. In the right hands, it can be used to typeset nearly any type of book imaginable. And it turns out, that with a little bit of trickery, you can use its \marginpar and sidecaption environments to automatically incorporate ragged marginalia ...


0

There you go... I could configure it by including the ... \package{}leading \begin{document} \leading{14,5pt}.... Although the \fontsize{12pt}{14,5pt} did not seem to work.


3

If it is just for the formatting in the text, this is enough (it will also hit subsection and subsubsection \setsecnumformat{\csname the#1\endcsname.\quad} The default is the same (without the dot)


1

Erh, one can just do this via \setsecnumformat{\llap{% \makebox[\chapindent][l]{% \csname the#1\endcsname\hfill% }% }} instead of issuing \hangsecnum, which by default is the same as \setsecnumformat{\llap{\csname the#1\endcsname\quad}}} @Ruben Does this still fail at your end? I should be using the same memoir version, but is using ...


2

Here is a possibility, though it is very dirtily hacked: \documentclass{memoir} \usepackage[usehighlevels]{alnumsec} \alnumsectionlevels{1}{section,subsection,subsubsection,paragraph} \alnumsecstyle{aaaa} \surroundarabic[{.}][]{}{} \otherseparators{1} \alnumsecstyle{aaaa} \usepackage{marginnote} \reversemarginpar \usepackage{xpatch} ...


1

Something like this \documentclass[11pt,a4paper]{memoir} \usepackage[utf8]{inputenc} % Tikz is used to draw the figure \usepackage{tikz} % Just some changes to the margins \setlrmarginsandblock{3cm}{*}{0.875} \setulmarginsandblock{3cm}{*}{1.2} \checkandfixthelayout[nearest] \usepackage{caption} % The new floating environment ...


1

The easiest way is to 'gooble' the chapter number away with \def\cftchapterpresnum #1\@cftasnum{} In addition, I suggest to reduce the chapter indent to 0pt as well as the numwidth. \cftsetindents{chapter}{0pt}{0pt} Here's the file: \documentclass[statementpaper,11pt,openany,twoside,extrafontsizes,final]{memoir} \usepackage{palatino} ...


1

Here is one way of doing it. Natbib does it thing by defining a special macro the first time each key is cited. Subsequent citations check for this macro. We thus need two things: (1) to undefine these macros at the start of each chapter and (2) know a list of all the possible keys. The later is gathered via knowing that the cited keys are in the aux file, ...



Top 50 recent answers are included