將波蘭語文章作者姓名中的“和”一詞更改為“,”(逗號分隔符)

將波蘭語文章作者姓名中的“和”一詞更改為“,”(逗號分隔符)

這個問題看起來很簡單(但可能並非如此)。我需要在與作者姓名相關的部分中將單字“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,}

在文件序言中。

在此輸入影像描述

相關內容