我想写我的硕士论文并使用以下设置:
\documentclass[a4paper,
12pt,
bibliography=totoc,
index=totoc,
abstracton,
headsepline,
%footnosepline,
]{scrartcl}
\usepackage{latexsym}
\usepackage[latin1]{inputenc}
\usepackage[ngerman,english]{babel}
\usepackage{subfig}
\usepackage{float}
\usepackage{graphicx}
\usepackage{rotating}
\usepackage{mathrsfs}
\usepackage{eurosym,bm,amsmath,amssymb,verbatim}
\usepackage{listings}
\usepackage[T1]{fontenc}
\usepackage{setspace}
\usepackage [round,authoryear] {natbib}
\usepackage{amsmath}
\usepackage{graphicx,eso-pic,lipsum}
\usepackage[automark]{scrpage2}
\usepackage{url}
\usepackage{tocstyle}
\usetocstyle{noonewithdot}
\usepackage[bookmarksopen,hyperfootnotes=false,pdftitle=test, pdfauthor=test,pdfsubject=Project]{hyperref}
\usepackage{listings}
\lstset{
language=R,
basicstyle=\scriptsize,
showstringspaces=false,
showspaces=false,
keywordstyle=\color{blue},
commentstyle=\color{green},
stringstyle=\color{black}
}
%------------------------------------------------------------------------
\parindent0em
\topmargin-20.4mm
\textheight245mm
\textwidth157mm \oddsidemargin11mm \evensidemargin11mm
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\pagestyle{scrheadings}
\ifoot[]{My Name}
\AddToShipoutPicture{%
\hspace{16cm}
% {\includegraphics[scale=1]{Logowatermark.jpg}}}
\begin{document}
\begin{titlepage}
%\hspace{2cm}\scalebox{1}{\includegraphics{Logo.jpg}}
\vspace*{1cm}
\large\textbf{Title}\\[0.5cm]
\normalsize description\\
subtext\\
Degree Course: enter here\\
\textbf{School of \mbox{test}}\\[0.8cm]
Name of Chair \\[1.5cm]
%
%
\noindent\begin{tabular}[h]{@{}ll}
%\begin{tabular}{l l}
Chairholder: \\
\\
Supervisors: \\
\\
Author: &My Name \\
\\
%Address: & \\[0.2cm]
% &1 \\
\\
Matriculation Number.: & \\
\\
Email: & \\
\\
\end{tabular}
\vfill
Place, Date
\end{titlepage}
\newpage
\pagenumbering{Roman}
\clearpage
\pagenumbering{arabic}
\onehalfspacing
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\tableofcontents
\newpage
\listoffigures
\newpage
\listoftables
\newpage
\setcounter{page}{1}
% \input{Chapter1}
%\newpage
%\input{Chapter2}
\newpage
\part{Description}
\section{Description}
test test test test test test
%\input{Chapter3}
\newpage
%\input{Appendix}
\newpage
\end{document} % Ende des Dokuments
我对我的页眉不满意:正如您在第一页(罗马数字 1)上看到的,页眉中没有文本。所以只有下一页才会出现这种情况。但我希望每页都有页眉文本,其中包含章节描述和部分描述。其次,我希望在页眉黑线的左侧和右侧有一条额外的垂直线。我附上了一个屏幕截图链接,说明了我的意思(我的信誉不够,无法附加图片 :-( )