我有一个使用该软件包的论文模板,fancyhdr
其中章节和标题以粗体显示,并具有较大的边距。由于我正在做论文,我的学校格式要求中心页面标题和顶部 1 英寸,我尝试调整文件.cls
但无法获得它,请帮助我找到任何其他方式来编写,如下所示的示例图像,
这是其中的一部分.cls
:
\usepackage{setspace}
\onehalfspacing
\setlength{\parindent}{0pt}
\setlength{\parskip}{2.0ex plus0.5ex minus0.2ex}
%\usepackage{vmargin}
%----------------------------------------------------------------------------------------
% MARGINS
%----------------------------------------------------------------------------------------
%\setmarginsrb { 1.0in} % left margin
% { 1.0in} % top margin
% { 1.0in} % right margin
% { 0.8in} % bottom margin
% { 0pt} % head height
% {0.25in} % head sep
% { 0pt} % foot height
% { 0.3in} % foot sep
%----------------------------------------------------------------------------------------
\usepackage[top=1in,bottom=1in,left=1in,right=1in]{geometry}
\footskip 0.5in %not fully tested, but I think this is the thing to modify.
%\raggedbottom
\setlength{\topskip}{1\topskip \@plus 5\p@}
\doublehyphendemerits=10000 % No consecutive line hyphens.
%\brokenpenalty=10000 % No broken words across columns/pages.
%\widowpenalty=9999 % Almost no widows at bottom of page.
%\clubpenalty=9999 % Almost no orphans at top of page.
%\interfootnotelinepenalty=9999 % Almost never break footnotes.
%\usepackage{fancyhdr}
%\lhead[\rm\thepage]{\fancyplain{}{\sl{\rightmark}}}
%\rhead[\fancyplain{}{\sl{\leftmark}}]{\rm\thepage}
%\chead{}\lfoot{}\rfoot{}\cfoot{}
%\pagestyle{plain}
\renewcommand{\chaptermark}[1]{\btypeout{\thechapter\space #1}\markboth{\@chapapp\ \thechapter\ #1}{\@chapapp\ \thechapter\ #1}}
\renewcommand{\sectionmark}[1]{}
\renewcommand{\subsectionmark}[1]{}
%\def\cleardoublepage{\clearpage\if@twoside \ifodd\c@page\else
%\hbox{}
%\thispagestyle{empty}
%\newpage
%\if@twocolumn\hbox{}\newpage\fi\fi\fi}