How to change vertical spacing on frontmatter chapters

by José Manuel Slater Carrasco   Last Updated January 20, 2018 06:23 AM

I'm new to latex, and I'm writing a document (book), since vertical space above \chapter is to big I want to reduce it, for chapters in the mainmatter I have no problem, because I use

\documentclass [12pt,oneside]{book}

\titleformat{\chapter}{\Huge\bfseries}{\chaptername\ \thechapter}{0pt}{\vskip40pt\raggedright}

   good ones...

where the "-50pt" is my desired vertical space above chapter. The problem arises when I try to do the same on the frontmatter chapters (abstract, toc, dedication, etc), since the code above does not affect them. Is there a way to achieve this?

Thanks in advance.

Related Questions

Insert text line in array

Updated June 10, 2017 21:23 PM