Hot answers tagged

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)


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} ...


2

Something like this? Define a hypertarget first, being the \tableofcontents* position and add a \pdfbookmark for this then. The default bookmark level is 0, seems to be alright for a ToC. \documentclass{memoir} \usepackage[bookmarksopen=true,bookmarksopenlevel=2]{hyperref} \usepackage{blindtext} \setcounter{tocdepth}{2} \begin{document} \phantomsection ...


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

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 ...


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, ...


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

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

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 ...


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 ...



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