我将此模板用于硕士论文,如何更改字体大小以及在每章标题页的中心排名,如图所示。
我想将章节标题移到页面中间,并在第 2 章和章节标题之间留出空格
和
我使用 的包\fancyhdr
在页面顶部放一行章节标题。但是字体很大。如何像图片中那样缩小字体大小
问题是章节标题超出了目录页的页数限制。页面顶部的体积很大。有解决办法吗?
\documentclass[14pt,a4paper,twoside,openright]{extreport}
\usepackage[utf8]{inputenc}
\renewcommand{\baselinestretch}{1.5}
\usepackage[a4paper,width=150mm,top=25mm,bottom=25mm,bindingoffset=6mm]{geometry}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\usepackage{microtype}%
\usepackage{titlesec}
\usepackage{lipsum} % dummy text
\usepackage{fancyhdr}
\pagestyle{fancy}
\fancyhead{}
\fancyhead[RO,LE]{\leftmark }
\usepackage[utf8]{inputenc}
\usepackage{graphicx}
\graphicspath{ {images/} }
\usepackage{titlesec}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\usepackage{color}
\usepackage{float}
\usepackage[none]{hyphenat}
\usepackage{amsfonts}
\usepackage{graphicx}
\usepackage{amsthm}
\usepackage{amsmath}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\begin{document}
\tableofcontents
\assignpagestyle{\chapter}{empty}
\titleformat{\chapter}[display]{\thispagestyle{empty}\sffamily\bfseries\Huge\centering}{\thechapter}{1em}{\textls[40]}[\clearpage]
\titleformat{\chapter}
[display]
{\centering\Huge\bfseries}
{\chaptername\ \thechapter}
{12pt}
{\Large}
[\clearpage]{0pt}
\chapter{EXACT METHODS TO COMPUTE SYSTEM RELIABILITY}
%\input{chapters/chapter02}
\chapter{EXACT METHODS TO COMPUTE SYSTEM RELIABILITY POLYNOMIAL}
%\input{chapters/chapter03}
\chapter{Chapter Four Title}
%\input{chapters/chapter04}
\end{document}