헤더에 저자의 성과 짧은 제목을 추가하는 방법은 무엇입니까?

헤더에 저자의 성과 짧은 제목을 추가하는 방법은 무엇입니까?

다음 사진과 같이 제목에 저자 이름을 표시하고 싶습니다. 여기에서는 작성자의 이름이 소속 및 이메일 주소와 함께 각 줄에 표시됩니다. 여기에 이미지 설명을 입력하세요

그리고 짧은 제목을 정의하고 싶습니다. 예를 들어 전체 제목이 다음과 같은 경우"추천 시스템의 심층 강화 학습에 대한 조사: 체계적인 검토 및 향후 방향", 다음과 같은 짧은 제목을 정의하고 싶습니다."RS의 DRL 서비스". 헤더에는 저자의 성과 짧은 제목이 표시되어야 합니다. 예를 들어 이 스타일의 짝수 페이지에서 헤더는 다음과 같습니다.

여기에 이미지 설명을 입력하세요

그리고 홀수 페이지에는 다음이 있습니다.

여기에 이미지 설명을 입력하세요

검색해서 이걸 발견했어요질문그리고이것, 그러나 그것은 다릅니다.

'''

\documentclass[11pt]{article}
\usepackage[utf8]{inputenc}
\usepackage{amsmath}
\usepackage{amsthm}
\usepackage{amsfonts}
\usepackage{hyperref}
\usepackage{mathtools}
\usepackage{commath}   % For use of abs   >>> \abs{a}
\usepackage{appendix}
\usepackage{amsthm}    % To add a box at the end of the proof    \qed
\usepackage{setspace}  % To add space between lines \setstretch{1.25}
\usepackage{natbib}

\usepackage[a4paper, left=0.9in, right=0.9in, top=1in, bottom=1in, footskip=0.25in]{geometry}
%\usepackage[a4paper, left=0.1in, right=0.2in, top=1in, bottom=1in, margin=1in,footskip=0.25in]{geometry}
\usepackage{hyperref,xcolor}
\DeclareMathOperator{\Tr}{tr}
\newtheorem{assumption}{Assumption}
\hypersetup{
    colorlinks=true,
    linkcolor=red,
    urlcolor=red,
    linktoc=all,
    citecolor=red
           }
\usepackage{apptools}
\AtAppendix{\counterwithin{lemma}{section}}
%%%%%%%%%%%%%%% For writing algorithms %%%%%%%%%%%%%%%
\usepackage{xcolor}
\usepackage[linesnumbered,ruled,vlined]{algorithm2e}
%%% Coloring the comment as blue
\newcommand\mycommfont[1]{\footnotesize\ttfamily\textcolor{blue}{#1}}
\SetCommentSty{mycommfont}

\SetKwInput{KwInput}{Input}                % Set the Input
\SetKwInput{KwOutput}{Output}              % set the Output



\setstretch{1.35}

 %\bibpunct[, ]{(}{)}{,}{a}{}{,}%
 \def\bibfont{\small}%
 \def\bibsep{\smallskipamount}%
 \def\bibhang{24pt}%
 \def\newblock{\ }%
 \def\BIBand{and}%

%% Setup of theorem styles. Outcomment only one.
%% Preferred default is the first option.
\TheoremsNumberedThrough     % Preferred (Theorem 1, Lemma 1, Theorem 2)
%\TheoremsNumberedByChapter  % (Theorem 1.1, Lema 1.1, Theorem 1.2)
\ECRepeatTheorems
\newtheorem{observation}{Observation}
\newtheorem{proposition}{Proposition}
\newtheorem{definition}{Definition}
\newtheorem{theorem}{Theorem}
\newtheorem{lemma}{Lemma}
\newtheorem{corollary}{Corollary}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\hypersetup{
    colorlinks=true,% make the links colored
}
\definecolor{myblue}{RGB}{54, 58, 202}
\usepackage[toc,page]{appendix}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\title{A Survey of Deep Reinforcement Learning in Recommender Systems: A Systematic Review and Future Directions}
\author{Xiaocong Chen, Lina Yao, Julian McAuley, Guanglin Zhou, Xianzhi Wang}

\date{\today}

\begin{document}

\maketitle
{
  \hypersetup{linkcolor=myblue}\tableofcontents}
\newpage
\section{Introduction}
\end{document}

답변1

이것은 완전한 해결책은 아니지만 다른 사람들이 당신을 도울 수 있도록 도움이 되기를 바랍니다. 다음 코드를 사용하면 제목 아래에 작성자의 형식을 지정할 수 있습니다.

\documentclass[11pt]{article}
\usepackage[utf8]{inputenc}
\usepackage[a4paper, left=0.9in, right=0.9in, top=1in, bottom=1in, footskip=0.25in]{geometry}
\usepackage{lipsum} % just for generating dummy text
\usepackage{fancyhdr}
\usepackage{ifoddpage}


% Set the title, authors, and short title
\title{A Survey of Deep Reinforcement Learning in Recommender Systems: A Systematic Review and Future Directions}
\author{
  Xiaocong Chen\\
  Institution\\
  Address\\
  \texttt{email}
  \and
  Lina Yao\\
  Institution\\
  Address\\
  \texttt{email}
  \and
  Julian McAuley\\
  Institution\\
  Address\\
  \texttt{email}
  \and
  Guanglin Zhou\\
  Institution\\
  Address\\
  \texttt{email}
  \and
  Xianzhi Wang\\
  Institution\\
  Address\\
  \texttt{email}
}
\newcommand{\shortauthor}{Chen et al.}
\newcommand{\shorttitle}{A Survey of DRL in RS}

\begin{document}

\maketitle

\thispagestyle{empty} % suppress page number in first page

\begin{abstract}
This is the abstract.
\end{abstract}

\clearpage

\setcounter{page}{1} % start page numbering from 1
\section{Introduction}
\lipsum[1-30] % dummy text

\end{document}

여기에 이미지 설명을 입력하세요

주소나 기관이 더 큰 경우 각 저자는 한 줄에 표시됩니다.

답변2

scd의 답변 외에도 :

왼쪽과 오른쪽 페이지에 서로 다른 헤더를 얻으려면 twoside다음 중 하나의 옵션이 필요합니다.

\documentclass[11pt,twoside]{article}

또는

\usepackage[twoside]{fancyhdr}

필요한 추가 명령은 다음과 같습니다.

\pagestyle{fancy}
\fancyhead[EL,OR]{\thepage}
\fancyhead[OL,ER]{\shortauthor: \shorttitle}

여기에 이미지 설명을 입력하세요

여기에 이미지 설명을 입력하세요

관련 정보