I change some of my titles fontsize, for instance, the first chapter and first appendix
\documentclass[11pt,a4paper,oneside,titlepage]{report}
\usepackage{amssymb,amsthm,amsmath,amsfonts,mathrsfs,syntonly}
\usepackage{mathtools}
\usepackage{graphicx}
\usepackage{verbatim}
\usepackage{color}
\linespread{1.4}
\usepackage{hyperref}
\usepackage{epstopdf}
\usepackage{multirow}
\usepackage{booktabs}
\title{\textbf{My Title}}
\author{John Smith\\[5pt]
University of XXX\\[15pt]}
\date{\today}
\begin{document}
\maketitle
\tableofcontents
\chapter{\LARGE My first chapter}
Here is my first chapter
\chapter{My second chapter}
Here is my first chapter
\chapter{My third chapter}
Here is my first chapter
\appendix
\chapter{\LARGE The first appendix}
\end{document}
However, these commands affect my Table of Contents, this line of content also change the font size. Would anyone tell me how to avoid this?
I am using TeXnicCenter and MiKTeX distribution.
\documentclass{...}and ending with\end{document}. – jub0bs May 05 '13 at 06:56\titleformatfrom thetitlesecpackage. See this. – jub0bs May 05 '13 at 07:11\chapter{{\LARGE My first chapter}}(note the double braces), to contain the font change. – Ryan Reich May 05 '13 at 07:12\chapter(and also in\titlein the MWE) is just the wrong thing to do. – David Carlisle May 05 '13 at 10:34