更改字體並為論文製作標題

更改字體並為論文製作標題

我想在我的碩士論文中將字體設定為14pt,並使標題包含以下內容:

第#章 章節名稱

我使用一個樣式檔案和一個 .cls 檔案。

我在 中問過另一個問題: CHAPTERS 一詞:在附錄之前的目錄中

那裡的答案可能對這個問題有幫助。

一個MWE如下

\documentclass[ms]{osudissert96}
\usepackage{amssymb,amsfonts,amsmath,amscd,mathrsfs}
\usepackage{url}
\usepackage[dvips]{color}%colortext
\usepackage{longtable}% Using longtable environment
\usepackage{ifthen}% Gives \ifthenelse
\usepackage{graphicx}
\usepackage[labelfont=bf]{caption}
\usepackage{algorithm}
\usepackage{algorithmicx}
\usepackage{multirow}
\usepackage{tablefootnote}
\graphicspath{{figures/}}% Define the path to the figures colorlinks,
\usepackage[]{mcode}
\usepackage{subcaption}
%\usepackage[toc,page]{appendix}
\usepackage[titletoc,toc,page]{appendix}
\newtheorem{mydef}{Definition}
\usepackage{acronym}
\usepackage{booktabs}


% Fix referencing of nested enumerations (put a dot between counters)
\makeatletter
\renewcommand{\theenumii}{\arabic{enumii}}
\renewcommand{\labelenumii}{\theenumi.\theenumii}
\renewcommand{\p@enumii}{\theenumi.}
\makeatother


\makeatletter \@addtoreset{footnote}{chapter} \makeatother % Clear the footnote counter at every new chapter

% The following adds the hyperlinks and makes the page navigator in the pdf viewer cool
\usepackage[breaklinks, hyperindex,pdfborder={0 0 0}]{hyperref}

% This will make chapter titles show up in uppercase (however, they will be normal case in the TOC)
\renewcommand\typesetChapterTitle[1]{\uppercase{#1}}

% Notation:
%\def\listofnotation{\input symbols.tex \clearpage}
%\def\addnotation #1 #2#3{#1\> \parbox{5in}{#2 \dotfill  \pageref{#3}}\\}
%\def\newnot#1{\label{#1}}





%% To speed up compilation, you can comment all commands that include chapters you're interested in till you finish each chapter separately, or use the includeonly command
%\includeonly{ch1-intro}

\include{commands}


\begin{document}

\setcounter{tocdepth}{3}

\tableofcontents
\listoffigures
\listoftables
\newpage


\chapter{CH1}

\renewcommand\pagenumbering[1]{}
\begin{appendices}

\chapter{MATLAB Code}\label{App:Matlab_Code}
\end{appendices}
\end{document}

相關內容