When I run your code, an error
Package Fancyhdr Warning: \headheight is too small (12.0pt):
Make it at least 14.49998pt.
We now make it that large for the rest of the document.
This may cause the page layout to be inconsistent, however.
is thrown out.
To correct it, make headheight
somewhat larger as in
\usepackage[margin=1.87 cm,headheight=18pt]{geometry}.
I have also adjusted the headsep
to reduce some space above.
\documentclass[12pt,letterpaper]{article}
%Set the margins
\usepackage[margin=.75in,showframe,headheight=18pt,headsep=\baselineskip]{geometry}
%Customizing the header
\usepackage{fancyhdr}
\pagestyle{fancyplain}
\fancyhf{}
\renewcommand{\headrulewidth}{0pt} % remove lines as well
\rhead{Canageek}
\chead{B.Sc (Honours Chemistry)}
\lhead{PIN: 314159}
%End footer
\begin{document}
Scholarship application that will give me lots of money.
\end{document}
Here, showframe
is used just to show the borders.
Update
From the comments, it is understood that you want to include head and foot inside text area. This can be done by adding includehead
and includefoot
in the options for geometry.
\documentclass[12pt,letterpaper]{article}
%Set the margins
\usepackage[margin=.75in,showframe,headheight=15pt,headsep=\baselineskip,includehead,includefoot]{geometry}
%Customizing the header
\usepackage{fancyhdr}
\pagestyle{fancyplain}
\fancyhf{}
\renewcommand{\headrulewidth}{0pt} % remove lines as well
\rhead{Canageek}
\chead{B.Sc (Honours Chemistry)}
\lhead{PIN: 314159}
%End footer
\begin{document}
Scholarship application that will give me lots of money.
\end{document}
As a side note, if you do not want margin notes you may add marginparwidth=0pt,marginparsep=0pt,
in to the options of geometry.
After several comments the problem seems to be rather on the side of createspace. There is a package available on github, that was made for creating books with LaTeX for publishing on createspace. Hopefully this helps:
https://github.com/aginiewicz/createspace/blob/master/createspace.sty
Reading the package contents is seems like
\usepackage[size=pocket]{createspace}
is better than all the geometry
-stuff. Page size will be calculated automatically. In addition you might also want to play with the additional options trim
and bleed
.
Making the borders visible
Add showframe
when you are loading the package geometry
, then you can see for yourself:
\usepackage[showframe]{geometry}
This picture shows your settings on a A4-page:
As you can see, the marginpar is leaking outside of your original dimensions, to remove it, add marginpar=0cm
in your geometry
-settings.
Best Answer
The
createspace
package seems to clash with some options of thegeometry
package. However, the verycreatespace
documentation you link to shows how to customize the geometry of the document by passing options to thecreatespace
package.Do you not get the desired result with the code below? The Inspector tool in Mac OS Preview indicates that the output document has the desired width and height (the figures given are rounded to the nearest 0.01 inch).
Or did you simply overlook that feature in the
createspace
documentation?