目录标题Content的字体改为18pt加粗
\renewcommand{\contentsname}{\fontsize{18pt}{\baselineskip}\selectfont \textbf{Content}}
修改section级别的标题字体
\usepackage{titlesec}
\usepackage{titletoc}
\titlecontents{section}[1cm]{\fontsize{12pt}%
{\baselineskip}\selectfont}{\hspace*{3em}\contentslabel{2em}\ }%
{}{\titlerule*[0.5pc]%{$\cdot$}\contentspage\hspace*{1cm}}%
\titlecontents{subsection}[1cm]{\fontsize{10pt}%
{\baselineskip}\selectfont}{\hspace*{3em}\contentslabel{2em}\ }%
{}{\titlerule*[0.5pc]%{$\cdot$}\contentspage\hspace*{1cm}}%
以下是一个完整的MWE:
\documentclass[utf-8]{article}
\usepackage{titlesec}
\usepackage{titletoc}
\titlecontents{section}[1cm]{\fontsize{12pt}{\baselineskip}\selectfont}{\hspace*{3em}\contentslabel{2em}\ }%
{}{\titlerule*[0.5pc]{$\cdot$}\contentspage\hspace*{1cm}}%
\titlecontents{subsection}[1cm]{\fontsize{10pt}{\baselineskip}\selectfont}{\hspace*{3em}\contentslabel{2em}\ }%
{}{\titlerule*[0.5pc]{$\cdot$}\contentspage\hspace*{1cm}}%
\renewcommand{\contentsname}{\fontsize{18pt}{\baselineskip}\selectfont \textbf{Content}}
\begin{document}
\tableofcontents
\newpage
\section{First section}
\subsection{First subsection of first section}
\newpage
\subsection{Second subsection of first section}
\newpage
\section{Second section}
\subsection{First subsection of second section}
\newpage
\subsection{Second subsection of second section}
\end{document}
结果如下: