Hullo all. I am typing/editing a doc using the memoir class and Bjornstrup fancy chapter headings. Whenever I try to adjust [shrink] the margins using the geometry package, 'odd' things happen: the bottom right corner of the greyed-in header which is 'behind' [for lack of a better word] the chapter number starts to disappear: bit-by-bit. Here is my attempt to reproduce a MWE:

The first is my ruleofprayer.tex file:


Then, here is my preamble.tex file:

% % % % % % % % % % % % % % % % % % % % % % % % % % % % % %


{0pt}{3.25ex plus 1.0ex minus 0.2ex}{1.5ex plus 0.2ex}

{0pt}{3.25ex plus 1ex minus .2ex}{1.5ex plus .2ex}

% % % % % % % % % % % % % % % % % % % % % % % % % % % % % % 
% % % % % % % % % % % % % % % % % % % % % % % % % % % % % % 

And finally a brief portion of chapter1.tex:

\chapter{Saturday Evening Prayers}
Towards evening, we stand before the holy icons (having lit a candle and   maybe some incense), with reverence and fear of God; we gather our thoughts, make the Sign of the Cross, and say:

In the Name of the Father, and of the Son, and of the Holy Spirit. Amen.

From St. Thomas Sunday until Ascension, instead of \textbf{O God, cleanse me, a sinner \ldots we say:}
Christ is risen from the dead, trampling down death by death, and upon those in the tombs bestowing life.

Afterwards, we collect our thoughts, and make seven prostrations (or metanoias), saying:

\section*{The Seven--Bow Beginning}

If I leave the geometry package alone (i.e. without any values assigned to it) the greyed-in background turns out as a nice rectangle as it should; only when I attempt to 'meddle' with the geometry and mess with the margins do I encounter the problem. Thanks!

I apologize for not properly splitting the files up before. I hope this clarifies the MWE.

  • Can you please correct the MWE, since it's not compilable as it stands?
    – egreg
    Feb 21 '13 at 16:43
  • Put the settings for geometry just after the package is loaded, so that the other packages are aware of the changes it makes. Don't use fncychap: just the fact that the chapter issues an overfull \hbox message no matter the settings is a clear indication that the package is buggy.
    – egreg
    Feb 21 '13 at 17:03
  • If I add the settings for geometry after the package loads, then delete the fncychap - How do I obtain the desired chapter heading styles? Also, when I do that I get an error at the line that reads: \ChNumVar{\fontsize{76}{80}\usefont{OT1}{pzc}{m}{n}\selectfont} Feb 21 '13 at 17:56
  • There are many chapter heading styles available in the documentation of memoir. The \ChNumVar and \ChTitleVar commands are specific of fncychap.
    – egreg
    Feb 21 '13 at 18:03
  • Please forgive my ignorance here, but I just tried to use the {\jenor} chapterstyle, and I keep getting an undefined control sequence. I am not sure how to proceed, and (again forgive my lack of knowledge or remembering) I cannot remember how to include some of that code here. Thanks so much! Feb 21 '13 at 18:12

You have an ordering problem: you are changing the margins after loading fncychap, which messes up its calculations. Reordering to


fixes the issue.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.