# Tag Info

18

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 version (see below) with an icon bar added: The code: \documentclass{memoir} \usepackage{graphicx} \usepackage[many]{tcolorbox} ...

6

I'd suggest you to use either the mdframed or the tcolorbox packages; both offer you an easy key-value interface to define decorated theorem-like structures that will automatically include numeration (and easy control over the counter used). In the following example code I show a comparison between the environment that Herbert provided in his answer with ...

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

6

You cannot test if your macro is processed right now the page is empty because the processing is asynchronous. But when the page is empty, TeX is in special state in which it ignores all vertical spaces (glues). This means you need to make the rule as "vertical space". This is possible by \leaders primitive: it is only a special type of the vertical or ...

5


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

5

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

5

As mentioned in the comments, microtype is your friend here, and produces nicer output for the rest of the document as well. Because all of these options depend on your reference list/reference style/margin settings/font choices (which we do not have), I've listed a few options and compared them using a sample text (\lipsum) and sample reference list ...

4

\documentclass[12pt,twoside,openright,a4paper]{memoir} \newcounter{FrameCnt} \setcounter{FrameCnt}{0} \newcommand{\FrameTitle}[2]{% \fboxrule=\FrameRule \fboxsep=\FrameSep \fbox{\vbox{\nobreak \vskip -0.7\FrameSep \rlap{\strut#1}\nobreak\nointerlineskip% left justified \vskip 0.7\FrameSep \hbox{#2}}}} ...

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

3


3

OK, let be my comment transformed to the answer. The memoir is very advanced document class, which among many improvements of book class also provide addition ability to define appearance of chapter, section etc title in TOC, heading and in the text. So, for chapter one can say: \chapter[<toc-title>][>head-title>]{<title>}; ...

3

Short question, short solution: The easiest way, unless there is no option within the memoir class, is to redefine the tableofcontents and disable any bold font within a \begingroup...\endgroup, i.e. \renewcommand{\bfseries}{\relax} This solution does not rely on particular memoir commands or external packages. Code \documentclass[12pt]{memoir} ...

2

Memoir includes many parts of other packages, including tocloft, so it will be better to search the memoir manual for the specific commands used in that class. Where K stands for the name of an item type entered into the contents lists (see memoir manual table 9.3), use \cftKfont to adjust the section titles and \cftKpagefont to set the page numbers. I ...

2

\documentclass[a3paper, 14pt, twoside, showtrims]{memoir} \settrimmedsize{340mm}{210mm}{*} %\settrims{10mm}{10mm} %\settypeblocksize{261.8mm}{140mm}{*} %\setlrmargins{23.3mm}{46.7mm}{*} \setlrmarginsandblock{23.3mm}{46.7mm}{*} \setulmarginsandblock{23.3mm}{54.9mm}{*} \setmarginnotes{2.8mm}{23.3mm}{1em} \settypeoutlayoutunit{mm} % <-- remember ...

2


2

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

2

I no longer have the Mona Lisa font, but here’s an example of modifying the code for fonts other than those Peter Wilson used. The code is simpler with fontspec: % xetex or luatex \documentclass[12pt,twoside,openright]{memoir} \usepackage{fontspec,xcolor} \newfontface\bmb{Bembo Book MT Pro}[Numbers=OldStyle]% or use \setmainfont if the main matter will be ...

2

This compiles just fine \begin{landscape} \marginpar{Again: \lipsum[11]}%% goes one page before the figure \begin{figure} But of course \begin{landscape} \begin{figure} \marginpar{Again: \lipsum[11]}%% goes one page before the figure will not work as both figure and \marginpar are floats and they do not mix. In the last example, \sidebar (similar to ...

1

Here's a first cut, but the OP would need to provide more information if he/she would like further refinement. Changes from what the OP provided in his/her MWE are as follows The blue box is moved left by placing it in an \llap The blue margin on either side of the chapter number (argument #2 of \BuildChpNum) was increased from 1ex to 2ex The actual ...

1

In order to get the glossaries into the document, this setup requires the external tool makeglossaries and for the acronyms the \printacronyms command: \documentclass[10pt]{memoir} \usepackage[acronym,toc]{glossaries} %%%%%%%%%%%%%%%%%%%%%%%%%%% \newglossary[slg]{symbols}{sym}{sbl}{List of Symbols} \makeglossaries % The following definitions will go in ...

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.

1

It is not in the manual as it might not be that common, plus it is not that easy to do with a simple configuration. Here is a suggestion \makeatletter \renewcommand*{\l@chapapp}[3]{% \ifnum \c@tocdepth >\m@ne \cftchapterbreak \vskip \cftbeforechapterskip {%\leftskip \cftchapterindent\relax \memRTLleftskip \cftchapterindent\relax %%% ...

1

I tried some more and found the following solution. It is not perfect since I do not have direct control of the size and location of the text block, but it fits the large table almost where I want it. \documentclass[b5paper,10pt]{memoir} \settypeblocksize{*}{11.5cm}{1.61803} \setulmarginsandblock{3.2cm}{*}{*} \checkandfixthelayout[nearest] ...

1

Due to the \oddsidemargin/\evensidemargin problem, \PFwidth is calculated as the largest possible width that will fit on both odd and even pages. I found it easier to emulate sidewaystable than use it. The key is that \caption will only work in a minipage. The table will automatically be centered on the page. No additional \centering is required. ...

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