I use a memoir class template as the basis for my own thesis. It includes the geometry package. This produces a warning but do not appear to impact on the compiling of a pdf. I use pdfLaTeX.
Here is a MWE
\documentclass[11pt, a4paper, oneside, oldfontcommands]{memoir}
\usepackage[a4paper]{geometry}
% PDF VIEW
\geometry{total={210mm,297mm}, left=25mm,right=25mm, bindingoffset=0mm, top=25mm,bottom=25mm}
% PRINT
%\geometry{total={210mm,297mm},left=20mm,right=20mm,
%bindingoffset=10mm, top=25mm,bottom=25mm}
\begin{document}
hello there
\end{document}
The errors I get are;
Package geometry Warning: Over-specification in
h'-direction.
width' (597.50787pt) is ignored. Package geometry Warning: Over-specification inv'-direction.
height' (845.04684pt) is ignored.
I read some of the package documentation but can't seem to see what is going on here.
Can someone tell me what this warning is about and how to eliminate it if possible.
Edit 1: I see from some of the answers that there is some debate as if geometry package is needed at all. I am using a template that is not from my Department(just one I found on the web) as I am in the Humanities and no-one in the department uses LaTeX. I am editing it to meet my university’s style-guide, so it is not essential for me to use the package if not needed. In relation to the margins this is what my university guidelines say;
text must be left justified with a left-hand margin of 4 cm and may be right justified. An easily-readable layout and double-sided printing are recommended for the body text.
A4 Paper size is required and although my MWE didn't have it (my bad) double sided printing is recommended (as above).
a4paper
(globally and to geometry) and later adding this information once again using absolute values. Once should be anough.