I am trying to make the text in my document to align with the margins of my document. Here's a MWE
\documentclass[12pt]{report}
\usepackage[top=1.0in,hmargin=1.25in,height=9.0in,letterpaper,showframe]{geometry}
\usepackage{setspace}
\usepackage{titlesec}
\usepackage{blindtext}
\titleformat{\chapter}{\bfseries}{\thechapter}{1em}{}{}
\titlespacing{\chapter}{0pt}{0pt}{12pt}
\titleformat{\section}{\bfseries}{\thesection}{1em}{}{}
\titlespacing{\section}{0pt}{12pt}{12pt}
\begin{document}
\doublespace
\chapter{Chapter 1}
\blindtext
\section{This is a section}
\Blindtext
\end{document}
There are two issues. The first, on the first page with the chapter title, it is very far from the top margin:
I was under the impression that using the titlesec package and setting the spacing as 0pt would remove the space before, but it doesn't. I found here that the report class uses 50pt of spacing, but using -50pt in the \titlespacing section moves the chapter title too much. I can play with it so it gets to the line, but I am wondering if there's a proper way to do this.
Second, you can see that there is a space between the text and the bottom and top margins:
I have no idea how to remove that space from the top margin. I am less concerned about the bottom margin since one can argue that that spacing will change depending on how much text the page contains, but I am also curious if it is possible to remove that space.
Edit: I fixed the separation from the chapter title according to the solution given. The space between text and margin I'm talking about is this one:
Is this something that can be changed?



head=10ptingeometryoptions. Also, there isheadsep. – Sigur Feb 14 '19 at 19:40top=0in,includeheadandtop=0into see the behaviour. – Sigur Feb 14 '19 at 19:44-1.1\baselineskipit would be almost there. But remember that there could be some glyph taller than capital letters. – Sigur Feb 14 '19 at 19:52