将波兰文文章作者姓名中的“and”一词更改为“,”(逗号分隔符)

将波兰文文章作者姓名中的“and”一词更改为“,”(逗号分隔符)

问题看起来很简单(但可能并非如此)。我需要将与作者姓名相关的部分中的单词“and”改为简单的逗号分隔符(,)。我不想更改“布局”,但找到了一种巧妙的方法来更改它,正如我上面提到的。我使用 % ...

这是我的 MWE:

\documentclass[aps,physrev,showkeys,twocolumn,nofootinbib,floatfix]{revtex4-2}  
\usepackage[polish]{babel}
\selectlanguage{polish}
\usepackage{polski}
\usepackage{amsfonts}
\usepackage{graphicx}
\usepackage{subcaption}
\captionsetup{justification=raggedright,singlelinecheck=false}
\usepackage{float}
\usepackage[colorlinks=true,hyperfootnotes=true,breaklinks=true,citecolor=blue]{hyperref}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{comment}
\usepackage{wrapfig}
\usepackage[table,xcdraw]{xcolor}
\usepackage{enumitem}
\usepackage{mwe}
\usepackage{setspace}
\newcommand\VRule[1][\arrayrulewidth]{\vrule width #1} 
\usepackage{hhline} 
\usepackage[capitalise]{cleveref}

\providecommand{\keywordsname}{Słowa kluczowe}
\providecommand{\keywords}{}
\renewcommand{\keywords}[2][]{%
\small\centering
\textbf{\keywordsname:} #2\par
}



\newcommand{\red}{\color{red}} 
\newcommand{\black}{\color{black}}
\newcommand{\blue}{\color{blue}}
\newcommand{\MojLinkZero}[3][black]{\href{#2}{\color{#1}{#3}}}
\newcommand{\MojLinkJeden}[3][magenta]{\href{#2}{\color{#1}{#3}}}
\newcommand{\MojLinkDwa}[3][purple]{\href{#2}{\color{#1}{#3}}}
\newcommand{\MojLinkTrzy}[3][brown]{\href{#2}{\color{#1}{#3}}}
\newcommand{\MojLinkCztery}[3][red]{\href{#2}{\color{#1}{#3}}}




\begin{document}

\title{This is my example of article, \linebreak[3] I need some help} 


%%%%%%%%%%%%%%%%%%%%%%%%%%%
\author{This is author no. 1}
\hypersetup{linkcolor=red}\thanks{\hspace{.75mm}\MojLinkZero{https://orcid.org/0000-0000-0000-0000}{0000-0000-0000-0000}} 
\email{[email protected]}
\author{This is author no. 2}
\hypersetup{linkcolor=red}\thanks{\hspace{.75mm}\MojLinkZero{https://orcid.org/000c-0000-0000-0000}{000c-0000-0000-0000}} 
\email{[email protected]} 

\hypersetup{urlcolor=black}


\affiliation{Affiliation Location in Random City,
Department of Metallurgy,
Some Random Place and Street, Poland} 

\begin{abstract}
\small{Here will be abstract and some basic information, the problem is related with part above – I cannot change "and"~in authors names for comma (,). Please help}

\end{abstract}

\date[]{\today}


\maketitle

\end{document}

答案1

您可以发出

\renewcommand{\andname}{\unskip,}

在文件序言中。

在此处输入图片描述

相关内容