I have the following code in my report document:
\pagenumbering{roman}
\setcounter{page}{2}
\include{Abstract}
\include{Dedication}
\include{Acknowledgements}
\tableofcontents
......
and the file dedication includes
\chapter*{Dedication}
\addcontentsline {toc}{chapter}{Dedication}
To Someone
I am using hyperref
\hypersetup{
colorlinks,
citecolor=black,
filecolor=black,
linkcolor=black,
urlcolor=black}
My question is how I can remove the chapter header only for this file, or perhaps change its setting, while leaving other chapter headings as they are.
If I remove \chapter*{Dedication}
, I have a problem with TOC, where clicking dedication does not take me to the correct page. Another option would be if I write \chapter*{To Someone}
, but in this case I need to change the size of chapter header only for this page, and I do not know how.
Your help is greatly appreciated
[Added Code]
\documentclass{report}
\usepackage{comment}
\usepackage{amssymb}
\usepackage{xspace}
\usepackage{graphicx}
\usepackage{amsmath}
\usepackage{enumerate}
\usepackage{amssymb}
\usepackage{multirow}
\usepackage[letterpaper,left=1in,right=1in,top=1in,bottom=1in]{geometry}
\usepackage{tocbibind}
\usepackage[title,titletoc,toc,page]{appendix}
\usepackage[doublespacing]{setspace}
\usepackage{hyperref}
\hypersetup{
colorlinks,
citecolor=black,
filecolor=black,
linkcolor=black,
urlcolor=black}
\setcounter{secnumdepth}{3}
\begin{document}
\pagenumbering{roman}
\setcounter{page}{2}
\include{Abstract}
\include{Dedication}
\include{Acknowledgements}
\tableofcontents
\listoffigures
\clearpage
\pagenumbering{arabic}
\setcounter{page}{1}
\include{someChapter}
\bibliographystyle{plain}
\bibliography{MyLib}
\begin{appendices}
\include{Ap1}
\clearpage
\include{Ap2}
\end{appendices}
\end{document}
\documentclass{...}
, the required\usepackage
's,\begin{document}
, and\end{document}
. That may seem tedious to you, but think of the extra work it represents for TeX.SX users willing to give you a hand. Help them help you: remove that one hurdle between you and a solution to your problem.\cleardoublepage \phantomsection \chapter*{Dedication} \addcontentsline{toc}{chapter}{Dedication}
?