My University's thesis requirements for margins (letter paper 8.5in x 11in) are as follows:
Top: 1 inch; Left: 1.25 inch; Right: 1.25 inch; and Bottom: 1.0 inch
I was/am having difficulty fulfilling these requirements using LaTeX. It's unclear to me whether or not the page numbering is pushing the first line of text further than the 1 inch top margin (e.g., 1.2 inches down?). I would like the first line of text to begin EXACTLY 1 inch below the top of the page and would like the page number to fit within the top margin space, so that it fits neatly there without sitting too close to the body of the text.
When you compile my MWE, look at pages 3 & 4. The manner in which these are displayed show the layout/spacing I have in my thesis. I would like more space between the page number and the body of text while preserving the 1 inch top margin.
\documentclass[man,12pt,floatsintext,longtable,noextraspace,natbib, tmargin=1in, lmargin=1in, rmargin=1in, bmargin=1in, tmargin=1in, lmargin=1.25in, rmargin=1.25in, bmargin=1in]{apa6}
\usepackage{layouts}
\usepackage{lipsum} % for dummy text only
%geometry and fancyhdr packages loaded automatically by apa6 document class.
@R. Shumacher showed me the layouts package to allow me to see my page defaults, which was helpful.
I set some page layout parameters manually in the preamble:
\setlength{\voffset}{0.0in}
\setlength{\topmargin}{0in}
\setlength{\headsep}{0in}
\setlength{\headheight}{0in}
\setlength{\textheight}{9in}
\begin{document}
\titlepage
% Create Header information for Arabic Arabic Numbering.
\fancyhf{} % clear all header and footers
\renewcommand{\headrulewidth}{0pt} % remove the header rule
\setcounter{page}{1}
\pagenumbering{arabic}
\fancyheadoffset{0cm} % This is so page number does not extend into right margin (thesis requirements).
\rhead{\thepage} % Center the page number at the Footer
\pagestyle{fancy}
% Below uses commands from the "layouts" package in order to determine exact margin setup.
\drawdimensionstrue
\printinunitsof{in}
\pagediagram % draws diagram with all layout vernacular identified (except bottom margin)
\pagevalues
\currentpage

\vspace{0.5in}
\lipsum
\end{document}
MWE is below. I would like more space between the page number and the body of the text WITHOUT pushing the body of the text greater than the required 1 inch margin.
\documentclass[man,12pt,floatsintext,longtable,noextraspace,natbib, tmargin=1in, lmargin=1in, rmargin=1in, bmargin=1in, tmargin=1in, lmargin=1.25in, rmargin=1.25in, bmargin=1in]{apa6}
\usepackage{layouts}
\usepackage{lipsum} % for dummy text only
\setlength{\voffset}{0.0in}
\setlength{\topmargin}{0in}
\setlength{\headsep}{0in}
\setlength{\headheight}{0in}
\setlength{\textheight}{9in}
\begin{document}
\titlepage
\fancyhf{} % clear all header and footers
\renewcommand{\headrulewidth}{0pt} % remove the header rule
\setcounter{page}{1}
\pagenumbering{arabic}
\fancyheadoffset{0cm} % This is so page number does not extend into right margin (thesis requirements).
\rhead{\thepage} % Center the page number at the Footer
\pagestyle{fancy}
\drawdimensionstrue
\printinunitsof{in}
\pagediagram % draws diagram with all layout vernacular identified (except bottom margin)
\pagevalues
\currentpage
\vspace{0.5in}
\lipsum
\end{document}



showframetogeometryto see the "frame" of the various text elements. – jon Jun 20 '15 at 02:04apa6document class? This is designed for submission to APA journals, and I suspect will have other issues that your university will not like (e.g. unnumbered sections) and you will spend a lot of time undoing the class functionality. If you need APA bibliography formatting, I recommend usingbiblatex-apaand then building your thesis document using either the KOMA class ormemoir. – Alan Munn Jun 20 '15 at 02:07\geometry{}, which is another way to load options for thegeometrypackage, which (I assume) this class loads behind the scenes. – jon Jun 20 '15 at 02:38layoutsThis is a link to a TeX.SE question and answer http://tex.stackexchange.com/questions/42371/margins-and-text-position/42381#42381 And the documentation, note pg 3, provides needed details, especially getting dimensions in inches or millimeters. http://ctan.sharelatex.com/tex-archive/macros/latex/contrib/layouts/layman.pdf – R. Schumacher Jun 20 '15 at 03:04layoutwhich is more current. – R. Schumacher Jun 20 '15 at 03:11apa6document class assumes you're using letter paper.) If so, try adding the optiona4paperto the\geometryinstruction. – Mico Jun 20 '15 at 03:57geometryabout them if you are usinggeometry! (Which you are since the class loads it.) Use\geometry{}to set the dimensions you need. Also, in your console output or log, you (presumably) have a message fromfancyhdrtelling you that the header height is too small and that it is changing it, but that this may lead to inconsistent layout. It will also tell you how large it needs to be. Tellgeometrythis as well. – cfr Jul 12 '15 at 00:12apa6is designed to limit your freedom to change stuff. You need to change stuff. Why useapa6? It is hard enough to comply with thesis formatting requirements without making life more difficult for yourself ;). – cfr Jul 12 '15 at 00:32apa6mine.cls, in TEXMFHOME or your working directory. Then you can edit the bit which is making this difficult. That is, if everything else is fine and it is just this which is a problem, that is what I would do. – cfr Jul 12 '15 at 00:33ackage Fancyhdr Warning: \headheight is too small (0.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.Your layout is bound to be inconsistent with this set up. – cfr Jul 12 '15 at 00:36apa6user76245version.clsand make changes to that. Then you can use that class in your thesis, changing it minimally to meet the requirements. This is not uncommon. I have an adulterated and renamed copy ofamsbook.clsin TEXMFHOME for just this reason. (Originally courtesy of the maths department.) – cfr Jul 12 '15 at 00:38\setlength{\topmargin}{-0.5in} \setlength{\headsep}{\dimexpr 0.5in - 15pt\relax} \setlength{\headheight}{15pt}. I'd want to double check, however. – jon Jul 12 '15 at 00:39apa6.clsusingkpsewhich apa6.cls. Found the path and made a copy of this calledapa6_myedits.cls. Investigating this file, I find that for thedocor "Regular Format" layout in apa6 lingo, there's info pertaining tofancyhdr. For instance, it has\setlength{\headheight}{15.2pt}. Do you think this is what should be changed? – Edward Jul 12 '15 at 01:02kpsewhich -var-value=TEXMFHOMEand then runningsudo mktexlsr. When I compile my TeX file, how does one get it to find the custom class file? – Edward Jul 12 '15 at 01:02geometryhas aresetoption ;). I didn't realise this until I was trying to figure out how to alter the class and make it work with your MWE. See if my answer works first as it just adds a line to the preamble (and deletes a few). – cfr Jul 12 '15 at 01:11.texfile or you could put it in TEXMFHOME. No need to runsudo mktexlsrfor your home tree, though. It is searched directly and does not rely on a database to look up filenames. – cfr Jul 12 '15 at 01:14