Tag Info

New answers tagged

2

Indeed, fixltx2e overwrites \@xfloat. The assumption is that it fixes content in the standard document classes, of which memoir is not. Since memoir manages things on its own, best would be to save-and-restore the memoir-specific version of \@xfloat, or just redefine it: \documentclass{memoir} \usepackage{fixltx2e} \makeatletter % Restore original memoir ...


2

The memoirclass uses pagestyle chapter for the first page of the chapter. So you can do ... \pagestyle{mystyle} \aliaspagestyle{chapter}{mystyle} \begin{document} ... I'm not sure why you redefined the plain page style to be the same as mystyle, but it would be better to replace that with \aliaspagestyle{plain}{mystyle} if you still need it.


4

As a memoir chapter style \documentclass[a4paper,draft]{memoir} \setlrmarginsandblock{3cm}{3cm}{*} \checkandfixthelayout \usepackage{tikz} \usetikzlibrary{decorations.text} \def\startang{170} % title on curve \newcommand\ToC[1]{ \begin{tikzpicture} % depends on the chosen font size \clip (-1.1em,0.05) rectangle (9,4.5); \path ...


1

\documentclass{article} \usepackage{tikz} \usetikzlibrary{decorations.text} \begin{document} \begin{tikzpicture} \node (One) at (-4,0) [shape=point] {}; \node (Two) at (4,0) [shape=point] {}; \draw [hidden,postaction={decorate,decoration={raise=1ex,text along path,text align=left,text={|\sffamily|How to make this as a memoir chapterstyle?}}}] (One) to ...


1

I believe the \ldots command is eating the following space. You can replace your \ldots with \ldots{}. sample\ldots{} text


6

There is no feasible line break point after \ldots You can define your own version of dots with possible line break with \newcommand{\bdots}{\textellipsis\linebreak[0]} Example: \documentclass{memoir} \newcommand{\bdots}{\textellipsis\linebreak[0]} \begin{document} ``It was fine.'' she said, defensively. ``Just\bdots more\bdots and\bdots more\bdots ...


2

One way to go is the XePersian package which has excelent support for both right-to-left and left-to-righ texts. Although it is primarily developed for Persian language, it can be used for Arabic text as well, since both languages share the same alphabet. It is possible to be used with memoir and in case you have function plots and other vector graphics, it ...


1

The problem is that the pagenote counter is bonded to changes in the chapter counter, and \chapter* does not touch the chapter counter. Either use \newcommand\resetPagenotes{ \setcounter{pagenote}{0} } and \chapter*{...} \resetPagenotes or somehow hook into starred chapters to add it automatically.


2

The command \sfl should have an argument (the label); \raggedright does nothing, because the label is typeset in a \makebox, use \hfill to force left alignment. \documentclass[article]{memoir} \usepackage{polyglossia} \usepackage{siunitx} \setdefaultlanguage[variant=uk]{english} \setmainfont{Linux Libertine O} \setsansfont{Open Sans}[Scale=MatchLowercase] ...


2

\linespread expects a multiple of the \baelineskip, so here i used .83, or in other word 83 % of the usual baselineskip. If this is what you are looking for, not sure. \documentclass[12pt]{memoir} \usepackage{blindtext} \usepackage{fouriernc} \usepackage[scaled=0.83]{helvet} % \usepackage[scaled=0.82]{luximono} \usepackage[T1]{fontenc} ...


3

The usage in the memoir documentation is incorrect. This becomes apparent when you look at the definition of \newleadpage (and \renewleadpage): \newcommand*{\newleadpage}[3][empty]{% \@namedef{#2}{\@ifstar{\dlfm@msapppage{#1}{#2}{#3}}% {\dlfm@mapppage{#1}{#2}{#3}}}} \newcommand*{\renewleadpage}[3][empty]{% ...


3

I'm not sure this is really what you want: the result is just wrong, nobody will understand why the text in the second and third footnote is shifted right. \documentclass{memoir} \setlength{\footmarkwidth}{\leftmargin} \setlength{\footmarksep}{0em} \footmarkstyle{#1\hfill} \newenvironment{fnquote} {\par \setbox0=\lastbox \setbox2=\hbox{\unhcopy0}% ...


5

In order to make use of things like the \medievalpage[] layout, you need to follow memoir's documentation. On their own, such commands will either have no effect or cause havoc. Moreover, combining them with geometry won't work. You must use memoir's commands to layout the page. It will also be better to avoid the conflict with fancyhdr by not using it. ...


1

As far I know there is nothing wrong setting a negative \parindent and \lefskip, but another control sequence that you can use is \hangindent at the begining of one paragraph. Note that you cannot set this by default in the preamble for all the document because it is reseted after \par, but you can use some like \everypar{\hangindent3em} after ...


1

Use \renewcommand*{\memUChead}[1]{\textsc{\MakeTextLowercase{#1}}}. Instead of using \textsc and \MakeTextLowercase, you could also just use a smaller size macro, e.g. \small, to make the all caps headings smaller. This produces fake small caps, which normally are not equal to real small caps, but this could produce similar results when using a font that ...


2

As told in comments, avoid tabu for this and use tasks package. Here is an example. \documentclass{article} \usepackage[more]{tasks} % new list-like environment % \NewTasks[options]{name}[separator](default number of columns) \NewTasks[style=enumerate,counter-format=tsk[1]),label-width=2ex]{myenumerate}[\item](3) \usepackage{kantlipsum}% insert text ...


5

Add also \renewcommand{\cfttableleader}{} \renewcommand{\cftfigureleader}{} \renewcommand{\cfttableafterpnum}{\cftparfillskip} \renewcommand{\cftfigureafterpnum}{\cftparfillskip} MWE \documentclass{memoir} % Put TOC page numbers after title, not on right margin % No dotted leaders % Set number left-aligned in a box starting 1 em to the right of title ...


3

Maybe you can use \renewcommand\printtoctitle[1]{\section*{#1}} \renewcommand\aftertoctitle{} Code: \documentclass{memoir} \renewcommand\printtoctitle[1]{\section*{#1}} \renewcommand\aftertoctitle{} \usepackage{lipsum} \begin{document} \chapter{Name of my Article} \tableofcontents* \section{A Section} \lipsum{} \subsection{A Subsection} \lipsum{} ...



Top 50 recent answers are included