如何自定义论文的章节标题?

如何自定义论文的章节标题?

我需要帮助格式化我的论文。我正在使用结论类。我的大学指导方针与 isuthesis 章节标题样式和部分标题样式不匹配。

根据大学的说法,输入章节标题、部门标题和子部门标题的格式通过以下说明性示例进行解释。

章节标题(位于页面中央):第 1 章

                  INTRODUCTION

分部标题(左对齐):1.1 论文提纲

子标题(左对齐):1.1.2 文献综述。

我的论文代码片段在这里给出,输出我已附加为图像。我的 latex 代码给出的章节标题为 --
CHAPTER1。简介(希望用两行写成)

和部门标题为——1.1 在此处输入图片描述 简介(大写)

% Template file for a standard thesis
\documentclass[11pt]{isuthesis}
\usepackage[pdftex]{graphicx}
% Standard, old-style thesis
\usepackage{isutraditional}   \chaptertitle
% Old-style, thesis numbering down to subsubsection
\alternate

%Optional Package to add PDF bookmarks and hypertext links
\usepackage[pdftex,hypertexnames=false,linktocpage=true]{hyperref}
\hypersetup{colorlinks=true,linkcolor=blue,anchorcolor=blue,citecolor=blue,filecolor=blue,urlcolor=blue,bookmarksnumbered=true,pdfview=FitB}
\begin{document}

\newpage
\pagenumbering{arabic}
\include{Body/chapter1}

%\include{Reference/biblio}
\end{document

}

下面给出的是第 1 章的代码。

\chapter{OVERVIEW}

    This is the opening paragraph to my thesis which
    explains in general terms the concepts and hypothesis


    \section{Introduction}

    Here initial concepts and conditions are explained and


    \subsection{Hypothesis}

    Here one particular hypothesis is explained

请提出建议。

答案1

一般情况下我建议使用\uppercase{}-command。您可以直接输入此命令\section{}或定义自己的命令。使用 documentclass 的 MWEreport如下所示:

\documentclass[11pt]{report}

\usepackage{blindtext}

\newcommand{\upsection}[1]{\section{\uppercase{#1}}}

\begin{document}
\chapter{Chapter One}
\blindtext

\section{\uppercase{Section One}}
\blindtext

\upsection{Using own command}
\blindtext
\end{document}

不幸的是,我不知道这是否有效isuthesis

答案2

如果我理解正确的话,这应该能满足你的要求。但要小心,大学的要求很严格。我猜他们不会接受你的论文爱荷华州立大学

您可以使用类似的包,而不必修补类文件titlesec

\documentclass[11pt]{isuthesis}
\usepackage[pdftex]{graphicx}
\usepackage{isutraditional}   \chaptertitle
\alternate

\usepackage{etoolbox}
%\tracingpatches
\makeatletter
\patchcmd{\@makechapterhead}{~~~#1}{\\ \MakeUppercase{#1}}{}{}
\patchcmd{\section}{\bfseries}{\bfseries\MakeUppercase}
\makeatother

\usepackage[pdftex,hypertexnames=false,linktocpage=true]{hyperref}
\hypersetup{colorlinks=true,linkcolor=blue,anchorcolor=blue,citecolor=blue,filecolor=blue,urlcolor=blue,bookmarksnumbered=true,pdfview=FitB}
\begin{document}

\chapter{Overview}

This is the opening paragraph to my thesis which
explains in general terms the concepts and hypothesis


\section{Introduction}

Here initial concepts and conditions are
explained and


\subsection{Hypothesis}

Here one particular hypothesis is
explained

%\include{Reference/biblio}
\end{document}

isuthesisTitlesec

如果您希望章节标题左对齐,补丁会有所不同。但说实话,我认为使用实现特殊要求的模板并将其修补到几乎标准并不是一个好的做法。

\patchcmd{\section}{\centering\large\bfseries}{\large\bfseries\MakeUppercase}

相关内容