Tag Info

New answers tagged

4

That would take a lot of work. It would be easier to use a two macro approach. I usually do this independently of \chapter using \chapterprecis. If you wanted it directly into the chapter style it might be better to use an approach like \setchapterdesc{....} \chapter{....} and then let the chapter style use the macro that the imaginary macro ...


5

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, first, to quote from the manual: 3.3.1 Paragraphs In traditional typography the first line of a paragraph, unless it comes immediately after a chapter ...


4

Here are the necessary definitions (except for the exact font used, this can be solved using WhatTheFont or elsewhere). Basically, a new chapter style (a variation of the predefined dowding style) and some redefinitions affecting the formatting of the the built-it \epigraph: \documentclass{memoir} \makeatletter \makechapterstyle{mystyle}{% ...


1

Since it is not a Chinese document, I think xeCJK should be your first choice to support typesetting Chinese characters. Say, \usepackage{xeCJK} \setCJKmainfont{some Chinese font you use} % ... However, there is no babel/polyglossia equivalent for Chinese. Roughly speaking, I think it is better to define a set of macros yourself. It won't be difficult ...


6

Like this? The only change was in \renewcommand\printchapternum{\null\hfill\feline@chm[2.5cm]\par} deleting the \null\hfill. The code: \documentclass{memoir} \usepackage{color,calc,graphicx,soul,fourier} \usepackage{lipsum} \definecolor{nicered}{rgb}{.647,.129,.149} \makeatletter \newlength\dlf@normtxtw ...


1

I guess I answered my own question this time. I tried to not "require biblatex package" in my package document, but instead used "usepcakge" in the actual thesis document. That seemed to solve the problem. Now everything works brilliantrly.


2

It uses the same page style as chapter so make a different alias for the chapter style. Perhaps use \aliaspagestyle{chapter}{myheadings} Though, I find it strange to have a chapter first page with headers (which is why chapter is an alias for plain)


1

As I said it is easy. Please do not make us do your work for you. At least post a minimal example of what you have tried. \documentclass[a4paper]{memoir} \addtopsmarks{headings}{}{ \createmark{section}{both}{shownumber}{}{. \ } } \pagestyle{headings} \usepackage{kantlipsum} % provides sample text \begin{document} \section{Test} \kant \end{document}


1

You set up the page layout correctly, but then you load the geometry package, which makes a new page layout based purely on the paper size a5paper. Removing the geometry package fixes the problem. In fact, I could not see where any of the packages in that used package statement were used in the example, so I have removed them all below: ...


2

Besides defining the sectional unit, you also need to define how the entry will be typeset in the ToC; this can be achieved using \newlistentry and \cftsetindents (this is the memoir's way of doing it). A complete example (adjust the settings according to your needs): \documentclass{memoir} \usepackage{titlesec} \setcounter{secnumdepth}{6} ...


0

You can try to add something like \setcounter{minitocdepth}{3} (and change the "3" as desired) in your preamble.


5

This can be done with titlesec, as one of the tags in the question suggests, but I wouldn't recommend this due to some know incompatibilities; see About memoir and titlesec incompatibility, for example. Here's one possibility using memoir's methods only: \documentclass{memoir} \usepackage{ulem} \usepackage{lipsum} ...


2

For each mark there are three variables set by TeX: \botmark, \firstmark and \topmark. While \leftmark uses \botmark (the last set mark on the current page) \rightmark uses \firstmark (the first set mark on the current page). But you want to use the \topmark which is the last mark of the previous page. Based on the definition of \rightmark in latex.ltx ...


0

Here is one option which uses the following (I only show the changes to your MWE): % From p.96 - Memoir Manual \newcommand{\marginbox}[1]{% \parbox[t][0pt]{10em}{\upshape\sffamily\raggedright #1}} %... \setsechook{\setsecnumformat{\csname the##1\endcsname\par}} Another option: % From p.96 - Memoir Manual \newcommand{\marginbox}[1]{% ...


4

You are almost there: \documentclass[article]{memoir} \usepackage{lipsum} % Layout \settrims{0pt}{0pt} \settypeblocksize{562pt}{330pt}{*} \setlrmargins{200pt}{*}{*} \setulmargins{114pt}{*}{*} \setheadfoot{12pt}{24pt} \setheaderspaces{*}{24pt}{*} \checkandfixthelayout % Remove chapter number \renewcommand*\printchapternum{} % From p.96 - Memoir Manual ...


1

The blank page between the abstract and the acknowledgements appears because you are using \chapter* for the latter. This executes the \cleartorecto macro, which inserts the blank page, so that the acknowledgements start on a recto page. The simplest thing to do is temporarily change the meaning of \cleartorecto so that it just starts a new page. ...



Top 50 recent answers are included