为什么我的论文字体从 12pt 变为 17pt?

为什么我的论文字体从 12pt 变为 17pt?

你能帮助我解决我的代码中出现的将字体大小从 12pt 更改为 17pt 的问题吗,我不知道在添加(考试委员会)页面后字体大小会发生什么变化,我的代码是:

\documentclass[12pt]{report}
\UseRawInputEncoding % to solve the problem of UTF-8 error in jabref.
\usepackage{times} %Times new roman font
%\usepackage{mathptmx}

\usepackage[top=2.5cm, bottom=2.5cm, left=3.5cm, right=2.5cm]{geometry}
\usepackage{amsfonts,amsmath,amssymb}

\usepackage{setspace} % to change space between lines

\usepackage{fancyhdr} 
\pagestyle{fancy}
\fancyhead{}
\fancyfoot{}
\fancyhead[L]{Chapter \thechapter}
\fancyhead[R]{\leftmark}
\renewcommand{\chaptermark}[1]{\markboth{#1}{}} 
\fancyfoot[C]{\thepage}

\usepackage{sectsty}
\chapterfont{\huge\sc\centering}
\chaptertitlefont{\centering}

\begin{document}
\pagestyle{plain}
\pagenumbering{Roman}
\setstretch{1.5}

\chapter*{Copyright}
Copyright 2018.All rights reserved, no part of this thesis may be reproduced in any form, electronic or mechanical, including photocopy, recording scanning, or any information, without the permission in writhing from the author or the Directorate of Graduate Studies and Training university.\\
\newpage

% Examination Committee
\Large\textbf{University \hfill Faculty of Engineering}
\vspace*{-6mm}
\begin{center}
\Large\textbf{Department of Electrical and Electronic Engineering}\\
\vspace*{6mm}
\setstretch{1.3}
\LARGE\textbf{Maximum power point tracking  }\\
\vspace*{4mm}
\Large{By}\\
\Large\textbf {Joun}\\
\vspace*{2mm}
\Large {This Thesis was Successfully Defended and Approved on \textbf{2018}}\\
\vspace*{2mm}
\Large{Supervisor}\\
\Large\textbf {Dr.  }\\
\Large{Signature:\dots\dots\dots\dots\dots\dots\dots\dots\dots\dots\dots\dots\dots\dots}\\
\vspace*{2mm}
\Large{Dr\dots\dots\dots\dots\dots\dots\dots\dots\dots\dots \textbf{(Internal examiner)}}\\
\Large{Signature:\dots\dots\dots\dots\dots\dots\dots\dots\dots\dots\dots\dots\dots\dots}\\
\Large{Dr\dots\dots\dots\dots\dots\dots\dots\dots\dots\dots\textbf{(External examiner)}}\\
\Large{Signature:\dots\dots\dots\dots\dots\dots\dots\dots\dots\dots\dots\dots\dots\dots}\\
\vspace*{1mm}
\large\textbf {(Dean of Faculty)\hfill(Director of Graduate studies and training)}
\end{center}
\newpage

\setstretch{1.5}
\chapter*{2nd Copyright}
Copyright 2018.All rights reserved, no part of this thesis may be reproduced in any form, electronic or mechanical, including photocopy, recording scanning, or any information, without the permission in writhing from the author or the Directorate of Graduate Studies and Training university.\\
\end{document}

在此处输入图片描述

答案1

您只需将字体大小改回 即可\normalsize。顺便说一句,请注意,诸如\Large等大小命令是开关,不接受参数。

在此处输入图片描述

\documentclass[12pt]{report}
\UseRawInputEncoding % to solve the problem of UTF-8 error in jabref.
\usepackage{times} %Times new roman font
%\usepackage{mathptmx}

\usepackage[top=2.5cm, bottom=2.5cm, left=3.5cm, right=2.5cm]{geometry}
\usepackage{amsfonts,amsmath,amssymb}

\usepackage{setspace} % to change space between lines

\usepackage{fancyhdr} 
\pagestyle{fancy}
\fancyhead{}
\fancyfoot{}
\fancyhead[L]{Chapter \thechapter}
\fancyhead[R]{\leftmark}
\renewcommand{\chaptermark}[1]{\markboth{#1}{}} 
\fancyfoot[C]{\thepage}

\usepackage{sectsty}
\chapterfont{\huge\sc\centering}
\chaptertitlefont{\centering}

\begin{document}
\pagestyle{plain}
\pagenumbering{Roman}
\setstretch{1.5}

\chapter*{Copyright}
Copyright 2018.All rights reserved, no part of this thesis may be reproduced in any form, electronic or mechanical, including photocopy, recording scanning, or any information, without the permission in writhing from the author or the Directorate of Graduate Studies and Training university.\\
\newpage

% Examination Committee
\Large\textbf{University \hfill Faculty of Engineering}
\vspace*{-6mm}
\begin{center}
\textbf{Department of Electrical and Electronic Engineering}\\
\vspace*{6mm}
\setstretch{1.3}
\LARGE\textbf{Maximum power point tracking  }\\
\vspace*{4mm}
\Large By\\
\textbf {Joun}\\
\vspace*{2mm}
This Thesis was Successfully Defended and Approved on \textbf{2018}\\
\vspace*{2mm}
Supervisor\\
\textbf{Dr.} \\
Signature:\dots\dots\dots\dots\dots\dots\dots\dots\dots\dots\dots\dots\dots\dots\\
\vspace*{2mm}
Dr\dots\dots\dots\dots\dots\dots\dots\dots\dots\dots \textbf{(Internal examiner)}\\
Signature:\dots\dots\dots\dots\dots\dots\dots\dots\dots\dots\dots\dots\dots\dots\\
Dr\dots\dots\dots\dots\dots\dots\dots\dots\dots\dots\textbf{(External examiner)}\\
Signature:\dots\dots\dots\dots\dots\dots\dots\dots\dots\dots\dots\dots\dots\dots\\
\vspace*{1mm}
\large\textbf {(Dean of Faculty)\hfill(Director of Graduate studies and training)}
\end{center}

\newpage

\setstretch{1.5}
\chapter*{2nd Copyright}
\normalsize Copyright 2018.All rights reserved, no part of this thesis may be reproduced in any form, electronic or mechanical, including photocopy, recording scanning, or any information, without the permission in writhing from the author or the Directorate of Graduate Studies and Training university.\\
\end{document}

相关内容