Как добавить фамилию автора и краткое название в заголовок?

Как добавить фамилию автора и краткое название в заголовок?

Я хочу, чтобы имя автора отображалось в заголовке, как на следующем фото. Здесь имена авторов отображаются в каждой строке с указанием их принадлежности и адреса электронной почты. введите описание изображения здесь

Также я хочу определить краткое название. Например, если полное название«Обзор глубокого обучения с подкреплением в рекомендательных системах: систематический обзор и будущие направления», я хочу определить короткое название, например"Сервис DRL в RS". В заголовке должны быть указаны фамилия автора и краткое название. Например, в этом стиле на четных страницах заголовок выглядит так:

введите описание изображения здесь

А на нечетных страницах у нас есть:

введите описание изображения здесь

Я искал и нашел этовопросиэтот, но это другое.

'''

\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}

введите описание изображения здесь

введите описание изображения здесь

Связанный контент