TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I've been using memoir for a while now, and have started facing problems with modified output routine, this has forced me to seriously consider switching (back) to report class. What I'm going to ask might seem like a case of "Do the research for me", so I hope I'm not asking for too much. I would like to know how to produce 'exactly' the same output with report given the following:

The preamble (up until now of course) Preamble.tex:


The main file:


I think the obvious issue is producing exactly the same headers/footers with fancyhdr instead of pagestyle, but of course I wouldn't really know what else would change, hence I've posted this question.

share|improve this question
You may want to explain in more detail which features of the memoir document class you want to retain after switching to report (or book, or whatever). Many -- but certainly not all! -- features embedded in the memoir document class can be replicated by loading various and sundry LaTeX packages. – Mico Feb 28 '12 at 2:53
@Mico Like I said, I wouldn't really know, although basically I would like to retain ToC/LoF/LoT style, page layout and header/footer setup, including pagination. – Ayman Elmasry Feb 28 '12 at 7:05
Please see my answer for some suggestions. – Mico Feb 28 '12 at 13:58

I would recommend to use the book class and the following setup for fancyhdr


and then




You might need to change some pagination parameters, use geometry.

share|improve this answer

My inclination would be not to give up prematurely on the memoir class, especially as it may be possible to figure out which parts are giving you problems because of interference with the output routine.

Quoting from p. xxix of The Memoir Class, the user guide to the memoir document class:

The memoir class includes code either equivalent to, or extensions of, the following packages; that is, the set of commands and environments is at least the same as those in the packages: abstract, appendix, array, booktabs, ccaption, chngcntr, chngpage, dcolumn, delarray, enumerate, epigraph, framed, ifmtarg, ifpdf, index, makeidx, moreverb, needspace, newfile, nextpage, parskip, patchcmd, setspace, shortvrb, showidx, tabularx, titleref, titling, tocbibind, tocloft, verbatim, verse.

Most of these packages do not modify the output routine. If you can figure out which packages are the ones that are giving you trouble, you could issue the following commands -- picking the packages chngpage and nextpage purely for sake of illustration:


Quoting some more from the manual:

The [memoir] class also provides functions similar to those provided by the following packages, although the commands are different: crop, fancyhdr, geometry, sidecap, subfigure, titlesec. You can use these packages if you wish, or just use the capabilities of the memoir class.

AFAICT, this is the exhaustive list of all LaTeX packages emulated by or incorporated in memoir.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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