I have a tried several different codes from this forum to remove the vertical space between the CHAPTER header and the top of the page border. Also I like to remove the space between CHAPTER and the first line from the paragraph following. But because I am using special code for a custom Chapter style I cannot remove this particular space waste. Can someone assist? Thank you very much. Here is the code.
Code: Select all
\documentclass[11pt,oneside,a4paper]{report}
\usepackage{amsmath,amsthm,amssymb,amsfonts,appendix,booktabs, courier, caption, float, glossary, graphicx, hyperref}
\usepackage{listings, longtable, lscape, mdwlist, multicol, multirow, natbib, pdfpages, rotating, setspace, tabulary, titletoc, url, verbatim}
\usepackage[Glenn]{fncychap}
%\usepackage[left=2.5cm,top=2cm,right=2cm]{geometry}
\usepackage[lmargin=1in, rmargin=1in,tmargin=3cm,bmargin=3cm]{geometry}
\onehalfspacing
\lstset{language=C}
%\makeglossary
\setlength{\parindent}{0pt}
%\renewcommand{\contentsname}{Table of Contents}
\renewcommand{\contentsname}{\vspace*{-.5in}Table of Contents}
%\ChNumVar{\fontsize{62}{65}\usefont{OT1}{pzc}{m}{n}\selectfont}
\ChNumVar{\fontsize{62}{65}\selectfont}
\ChNameVar{\centering\Huge\rm\bfseries}
\ChTitleVar{\bfseries\Large\rm}
\ChNameAsIs
\begin{document}
\tableofcontents
\chapter{One}
Text
\chapter{Two}
Glossary and Facts:
\end{document}