我正在写硕士论文,论文结构还不错(我感觉...),但我有一个问题。我希望我的章节从右侧开始,这本身并不难做到。但是,我将摘要(其中 2 个,一个英文版和一个挪威语版)和致谢归类为章节,并且 /listoffigures 和 /listoftables 也受命令中此右侧规则的影响:\documentclass[twoside,openright,11pt,a4paper]{report} 因此,我的问题是:有没有办法在设置页面后或设置章节后开始右侧章节?
我在 .tex 文件上使用的实现是这样的:
\documentclass[twoside,openright,11pt,a4paper]{report}
\usepackage{Chapters/myStyle}
\pagestyle{fancy}
\fancyhead[LE]{\thepage}
\fancyhead[RE]{\leftmark}
\fancyhead[LO]{}
\fancyhead[RO]{\thepage}
%\fancyfoot[LO[{}
\cfoot{}
%-----------------------------------------------------------------------------------
\begin{document}
\begin{titlepage}
\begin{center}
%
\includegraphics[width=0.25\textwidth]{img/Universitas.jpg} ~\\[1cm]
\textsc{\LARGE University of ...}\\[1.5cm]
\textsc{\Large Masterthesis}\\[0.5cm]
%
\rule[0.4cm]{14cm}{0.2pt}\\
{ \huge \bfseries Title... \\[0.4cm] }
\rule[1.5cm]{14cm}{0.2pt}\\
%
\begin{minipage}{0.4\textwidth}
\begin{flushleft} \large
\emph{Author:}\\
Firstname \textsc{Lastname}
\end{flushleft}
\end{minipage}
%
\begin{minipage}{0.4\textwidth}
\begin{flushright} \large
\emph{Supervisor:} \\
Prof.~Firstname \textsc{Lastname}\\
\end{flushright}
\end{minipage}
%
\vfill
{\large \today}
%
\end{center}
\end{titlepage}
\input{Chapters/Abstract}
\input{Chapters/Abstrakt}
\input{Chapters/Acknowledgements}
\tableofcontents
\listoftables
\listoffigures
\input{Chapters/Introduction}
\input{Chapters/Theory}
\input{Chapters/Method}
\input{Chapters/Results}
\input{Chapters/Summary}
\input{Chapters/Future_work}
\input{Chapters/AppendixA}
\input{Chapters/AppendixB}
\input{Chapters/AppendixC}
\input{Chapters/AppendixD}
\bibliographystyle{plain}
\bibliography{Chapters/Bibliography}
\end{document}
我还有一个 .sty 文件,它看起来像这样:
\usepackage{subfigure}
\usepackage{a4wide}
\usepackage{epsfig}
\usepackage{SIunits}
\usepackage{amsmath}
\usepackage[nooneline]{caption}
%\usepackage[norsk]{babel} %For implementation of norwegian letters æøå
\usepackage[T1]{fontenc}
%\usepackage[utf8]{inputenc}
\includeonly{biblio}
\usepackage{url}
\usepackage{hyperref}
\usepackage{enumitem}
%\usepackage{anysize}
\setlength{\parindent}{0in}
\usepackage{multirow}
\usepackage{caption}
\usepackage{lipsum}
\usepackage{fancyhdr}
\fancyhead[LE]{\thepage}
\fancyhead[RE]{\leftmark}
\fancyhead[LO]{}
\fancyhead[RO]{\thepage}
%------------------------------------------------------------------------------------
\makeatletter
\def\thickhrulefill{\leavevmode \leaders \hrule height 1ex \hfill \kern \z@}
\def\@makechapterhead#1{%
%\vspace*{50\p@}%
\vspace*{10\p@}%
{\parindent \z@ \centering \reset@font
\thickhrulefill\quad
\scshape \@chapapp{} \thechapter
\quad \thickhrulefill
\par\nobreak
\vspace*{10\p@}%
\interlinepenalty\@M
\hrule
\vspace*{10\p@}%
\Huge \bfseries #1\par\nobreak
\par
\vspace*{10\p@}%
\hrule
%\vskip 40\p@
\vskip 100\p@
}}
\def\@makeschapterhead#1{%
%\vspace*{50\p@}%
\vspace*{10\p@}%
{\parindent \z@ \centering \reset@font
\thickhrulefill
\par\nobreak
\vspace*{10\p@}%
\interlinepenalty\@M
\hrule
\vspace*{10\p@}%
\Huge \bfseries #1\par\nobreak
\par
\vspace*{10\p@}%
\hrule
%\vskip 40\p@
\vskip 100\p@
}}
任何帮助都将不胜感激。问候,T
答案1
当您不想要这种行为时,解决方案可以是重新定义\cleardoublepage
为本地到这些章节。\clearpage
所以只要写
{\let\cleardoublepage\clearpage%
\input{Chapters/Abstract}
\input{Chapters/Abstrakt}
\input{Chapters/Acknowledgements}
\tableofcontents
\listoftables
\listoffigures
}
你就会得到你想要的。