I am using the titlesec package to adjust the chapter titles/headings of my text. Yet, I have trouble with the resulting distance between these new titles and the body of the text. Namely, the distance becomes substantially smaller than what it is when no adjustment is made, i.e., chapter titles are the default ones.
I have noted that this decreament of the distance, probably has to do with the text body moving "upwards".
Here is what I have compiled:
\documentclass[12pt, twoside, a4paper]{book}
\usepackage{graphics}
\usepackage[dvips]{graphicx}
\usepackage{fancyhdr}
\usepackage[namelimits]{amsmath}
\usepackage[mathcal]{euscript}
\usepackage{blindtext}
\usepackage{amsmath}
\usepackage[textheight=630pt]{geometry}
\topmargin -0.1in
\setlength{\headheight}{14.71pt}
\parskip=3pt
\addtolength{\parindent}{2pt}
\usepackage{titlesec}
\titleformat{\chapter}[display]
{\bfseries\Large}
{\filright\MakeUppercase{\chaptertitlename} \Huge\thechapter}
{.5ex}
{\titlerule[.1ex]\filleft}
\begin{document}
\chapter*{Introduction}
\blindtext[3]
\blinddocument
\end{document}
Any ideas of how to restore this distance back to the default? The titlesec documentation is not of great help (to me at least) on this issue.
\titlespacing
command intitlesec
. A tip: don't loadgraphics
and remove thedvips
option fromgraphicx
.titlesec
manual.geometry
, why don't use all its options to specify the page dimensions? Like\usepackage[textheight=630pt, headheight=14.71pt, tmargin=0.9in, includehead]{geometry}
(And please take my and @egreg's comments as friendly advices, we're just wanting to make your LaTeX life a bit easier;)
)\titlespacing*{\chapter} {0pt}{50pt}{40pt}
(since it seems the only relevant; Ihave not adjusted sections, subsections etc.) but the problem persists.\titlespacing*{\chapter}{0pt}{80pt}{50pt}
, is it better?