早上好,
我正在使用 classicthesis 和 arsclassica 模板撰写我的硕士论文。我想在标题中显示章节/部分名称和页码,但我找不到让它出现在那里的方法。这是我的序言
\documentclass[10pt,a4paper,twoside,openright,titlepage,fleqn,%
headinclude,footinclude,BCOR5mm,%
numbers=noenddot,cleardoublepage=empty,%
]{scrreprt}
\usepackage[english]{babel}
\usepackage[T1]{fontenc}
\usepackage{amsmath,amssymb,amsthm,amsfonts}
\usepackage{bm}
\usepackage{varioref}
\usepackage[backend=bibtex,style=philosophy-modern,hyperref,square,natbib]{biblatex}
\usepackage{chngpage}
\usepackage{calc}
\usepackage{listings}
\usepackage{graphicx}
\usepackage{multicol}
\usepackage{makeidx}
\usepackage{fixltx2e}
\usepackage{relsize}
\usepackage{lipsum}
\usepackage[eulerchapternumbers,linedheaders,subfig,beramono,%
eulermath,pdfspacing,listings]{classicthesis}
\usepackage{arsclassica}
\input{arsclassica-settings}
\numberwithin{equation}{chapter}
\usepackage{caption}
\usepackage{subcaption}
\usepackage{geometry}
\geometry{a4paper,left=3cm,right=4.5cm,%
heightrounded,bindingoffset=5mm}
\usepackage{epstopdf} % Pakke der konverterer EPS til PDF
\usepackage{float}
\usepackage[overload]{empheq}
\usepackage{color}
\usepackage[right]{showlabels}
\usepackage{titlesec}
\usepackage[export]{adjustbox}
你能告诉我我哪里做错了吗?
谢谢!
答案1
默认情况下scrreprt
没有标题。
添加行
\pagestyle{scrheadings}
就在之前
\begin{document}
你就会拥有它们。
平均能量损失
\documentclass[10pt,a4paper,twoside,openright,titlepage,fleqn,%
headinclude,footinclude,BCOR5mm,%
numbers=noenddot,cleardoublepage=empty,%
]{scrreprt}
\usepackage[english]{babel}
\usepackage[T1]{fontenc}
\usepackage{amsmath,amssymb,amsthm,amsfonts}
\usepackage{bm}
\usepackage{varioref}
\usepackage[backend=bibtex,style=philosophy-modern,hyperref,square,natbib]{biblatex}
\usepackage{chngpage}
\usepackage{calc}
\usepackage{listings}
\usepackage{graphicx}
\usepackage{multicol}
\usepackage{makeidx}
\usepackage{fixltx2e}
\usepackage{relsize}
\usepackage{lipsum}
\usepackage[eulerchapternumbers,linedheaders,subfig,beramono,%
eulermath,pdfspacing,listings]{classicthesis}
\usepackage{arsclassica}
%\input{arsclassica-settings}
\numberwithin{equation}{chapter}
\usepackage{caption}
\usepackage{subcaption}
\usepackage{geometry}
\geometry{a4paper,left=3cm,right=4.5cm,%
heightrounded,bindingoffset=5mm}
\usepackage{epstopdf} % Pakke der konverterer EPS til PDF
\usepackage{float}
\usepackage[overload]{empheq}
\usepackage{color}
\usepackage[right]{showlabels}
\usepackage{titlesec}
\usepackage[export]{adjustbox}
\pagestyle{scrheadings}
\begin{document}
\chapter{Test chapter}
\lipsum[1-6]
\section{Test section}
\lipsum[1-10]
\end{document}