\documentclass[12pt]{report}
\usepackage{setspace}
\usepackage{geometry}
\geometry{letterpaper, left=1.25in, right=1.0 in, top=1.0in, bottom=1.0in, includefoot}
\usepackage{amsmath, amsfonts, amssymb, amstext, amscd, amsthm, makeidx, graphicx, hyperref, url, enumerate, listings,multicol,capt-of,float, amsthm}
\usepackage{titletoc}
\usepackage[T1]{fontenc}
\usepackage{textcomp}
\usepackage{sectsty}
\usepackage[tiny]{titlesec}
\usepackage{indentfirst}
\allowdisplaybreaks
\newcommand{\doublesize}{\normalsize\fontsize{12pt}{25pt}\selectfont}
\allsectionsfont{\centering}
\chapter*{ACKNOWLEDGMENTS}
\addcontentsline{toc}{chapter}{\centering ACKNOWLEDGMENTS }
I've tried using \centering
and \sectsty
but neither work with titlesec
. Help please!
Best Answer
Use either
sectsty
ortitlesec
to change the layout of the section headings. Here is a suggestion usingsectsty
.