머리글 및 바닥글 사용자 정의

머리글 및 바닥글 사용자 정의

저는 학사 논문을 작성 중이며 첫 페이지에 대한 요구 사항은 다음과 같습니다.

  • 헤더에 - 기관 이름
  • 중앙 - 논문 제목
  • 바닥글 - 마을과 연도

어떻게 해야 하나요?

패키지 를 사용하려고 시도했고 fancyhdr헤더를 변경했지만 이는 내 논문의 페이지에만 적용되고 첫 페이지에는 적용되지 않습니다. 헤더에 밑줄을 그을 필요는 없습니다. 또한 다음 페이지에는 헤더가 표시되는 것을 원하지 않습니다.

이것이 내가 지금까지 가지고 있는 것입니다:

\documentclass[a4paper,10pt]{report}
\usepackage{fancyhdr}

\pagestyle{fancy}
\lhead{}
\chead{Institution}
\rhead{}
\title{Title}
\author{Author}

\begin{document}
\end{document}

답변1

이 시도:

\documentclass[a4paper,10pt]{report}
\usepackage{fancyhdr}

% \pagestyle{fancy}
\fancypagestyle{empty}{%
    \fancyhf{}% removes h/f
    \fancyhead[c]{\Huge{Instituion}}% Your inst name
    \fancyfoot[r]{Town and year}
}
\renewcommand{\headrulewidth}{0pt}% removes header line

\title{Title}
\author{Author}

\begin{document}
\maketitle
    
\begin{abstract}
\thispagestyle{plain}
    Here goes your abstract
\end{abstract}
\end{document}

답변2

아니면 이런 식으로

\pagestyle{fancy} % options: empty , plain , fancy

\renewcommand{\headrulewidth}{0} % remove the line

\lhead{}\chead{Institution}\rhead{}
\lfoot{}\cfoot{}\rfoot{Town \& Year}

관련 정보