如何修改页眉以插入长论文标题?

如何修改页眉以插入长论文标题?

我正在 Overleaf 上撰写我的硕士论文,使用模板toptesi(https://it.sharelatex.com/templates/thesis/italian-thesis-template-(toptesi))我正在使用以下模式:

\documentclass[12pt,twoside,cucitura,oldstyle,autoretitolo,classica,greek]{toptesi}

因此,我在页眉的一页上写上论文标题,在下一页上写上章节标题。

论文标题太长,因此我想知道是否可以在标题上使用两行,以便显示所有标题。我想避免使用缩短的标题。

以下是我的问题的屏幕截图:

**在此输入图片描述**

以下是我的文档的摘录(与文件toptesi.sty,toptesi.cls,toptesi.cfg,topfront.sty,topcoman.sty一起使用,可在以下位置获取https://it.sharelatex.com/templates/thesis/italian-thesis-template-(toptesi)):

\let\oldbreve\breve
\documentclass[12pt,twoside,cucitura,oldstyle,autoretitolo,classica,greek]{toptesi}
\usepackage[or]{teubner}
\usepackage{hyperref}

\hypersetup{%
    pdfpagemode={UseOutlines},
    bookmarksopen,
    pdfstartview={FitH},
    colorlinks,
    linkcolor={blue},
    citecolor={red},
    urlcolor={blue}
  }

\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}\usepackage{lmodern}
%-----------------------------------------%
\ateneo{University}
\nomeateneo{}
\FacoltaDi{}
\titolo{very very very very very very very very very very very very very very very long title }
\sottotitolo{subtitle}
\corsodilaurea{Engineering}
\candidato{Candidate Name}
\relatore{prof.\ bla bla}
\tutoreaziendale{bla bla}
\sedutadilaurea{\textsc{Academic~Year} 2222}
%\logosede{} 
%------------------------------%
\newtheorem{osservazione}{Remark}
\usepackage{array}
\usepackage{wrapfig}
\usepackage{multirow}
\usepackage{tabu}
\usepackage[flushleft]{threeparttable}
\usepackage{import}
\usepackage{booktabs}
\usepackage{multirow}
\usepackage{makecell}
\usepackage[table,xcdraw]{xcolor}
\usepackage[toc,page]{appendix}
\usepackage{notoccite} 
\let\breve\oldbreve
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage{siunitx}
\usepackage{enumerate}
\usepackage{rotating}

\makeatletter
\newcommand*{\rom}[1]{\expandafter\@slowromancap\romannumeral #1@}
\makeatother

% Nomenclature:
\usepackage[intoc, english]{nomencl}
\renewcommand{\nomname}{Acronyms}

\renewcommand{\nomgroup}[1]{%
\if#1A%
 \formattitle{Abbreviation}%
\else
  \if#1S%
    \formattitle[0pt]{Symbols}%
  \else
    \if#1P%
      \formattitle{Subscripts}%
    \else
      \if#1N
        \formattitle{Notation}
      \else
        \GenericError{\string\nomgroup}{The argument can be only A, S, N or P}{}{}%
      \fi
    \fi
  \fi
\fi}
\newcommand{\formattitle}[2][15pt]{\vspace{#1}\item[\sffamily #2]}%o 10pt
\makenomenclature
%------------------------------------------------------%
\begin{document}\errorcontextlines=9
\english
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
    \iflanguage{english}{%
    \retrofrontespizio{This work is subject to the Creative Commons Licence}
    \DottoratoIn{PhD Course in\space}
    \CorsoDiLaureaIn{Master degree course in\space}
    \NomeMonografia{Bachelor Degree Thesis}
    \TesiDiLaurea{Master Degree Thesis}
    \NomeDissertazione{PhD Dissertation}
    \InName{in}
    \CandidateName{Candidate:}
    \AdvisorName{Supervisor}
    \TutorName{Tutor}
    \NomeTutoreAziendale{Internship Tutor:}
    \CycleName{cycle}
    \NomePrimoTomo{First volume}
    \NomeSecondoTomo{Second Volume}
    \NomeTerzoTomo{Third Volume}
    \NomeQuartoTomo{Fourth Volume}
    }{}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\expandafter\ifx\csname StileTrieste\endcsname\relax
    \frontespizio
\else
    \paginavuota
    \begin{dedica}
        ...
        \textdagger\ ....
    \end{dedica}
    \tomo
\fi
%%%%%%%%%%%%%%%%%%
\sommario

summary
%%%%%%%%%%%%%%%%%%%
\ringraziamenti

bla bla
%%%%%%%%%%%%%%%%%%%%%%%
\tablespagetrue\figurespagetrue 
\begingroup\let\mainmatter\relax
\printnomenclature
\endgroup
\indici

\expandafter\ifx\csname StileTrieste\endcsname\relax
\else
    \begin{citazioni}
        \textit{testo testo testo\\testo testo testo}

        [\textsc{bla bla}, test]

        \textgreek{>all'a p'anta <o k'eraunos d'' >oiak'izei}

        [Eraclito, fr.\ D-K 134]
    \end{citazioni}

\fi
%%%%%%%%%%%%%%%%%%%%%%%
\mainmatter
\chapter*{Introduction}
\addcontentsline{toc}{chapter}{Introduction}
.....................
The contents...
\clearpage
The contents...
\clearpage
The contents...
\clearpage
The contents...
\chapter{Test}
The contents... The contents... The contents... The contents...
The contents...
The contents...The contents... The contents...

The contents... The contents...
The contents... The contents... The contents... The contents...
The contents...
The contents...The contents... The contents...
\clearpage
The contents... The contents...The contents... The contents... The contents... The contents...
The contents...
The contents...The contents... The contents...

The contents... The contents...The contents... The contents...The contents... The contents... The contents... The contents...
The contents...
The contents...The contents... The contents...

The contents... The contents...
\clearpage
The contents...

The contents... The contents...
\clearpage
The contents...
\clearpage
The contents...

\begin{thebibliography}{1}
\bibitem{gal} G.~Galilei, {\em Nuovi studii sugli astri medicei}, Manunzio,
        Venetia, 1612.
\end{thebibliography}
%----------------- Appendices-------------------%
\begin{appendices}

\chapter{Some Appendix}
The contents...

\end{appendices}

\nomenclature[S]{a}{prova}
\nomenclature[P]{b}{prova}
\nomenclature[N]{c}{prova}
\end{document}

相关内容