粗体作者上标

粗体作者上标

我有以下一段代码:

\documentclass[12pt]{article}   
\usepackage{newtxtext,newtxmath} 
\usepackage{authblk}  
\usepackage[margin=1in]{geometry}
\renewcommand{\Authfont}{\bfseries\fontsize{12}{14.4pt}\selectfont}
\renewcommand{\Affilfont}{\normalfont\itshape\fontsize{10}{12}\selectfont}
\renewcommand\Authands{, }

\begin{document}
    \title{\textbf{A review of Machine learning techniques}\vspace{0ex}}
    \author[a*]{Abc}
    \author[b]{Def}
    \author[c]{Ghi\vspace{0ex}}
    \affil[a,b]{XYZ, \vspace{0ex}}
    \affil[c]{UVW\vspace{2ex}}
    \date{}
    \maketitle
\end{document}

我想将a*中的上标加粗[a*]

如何做呢?

答案1

如果你想打印全部上标大胆的,只需重新定义上标的处理方式:

enter image description here

\documentclass{article}

\usepackage{newtxtext,newtxmath} 
\usepackage{authblk}  

\renewcommand{\Authfont}{\bfseries\fontsize{12}{14.4}\selectfont}
\renewcommand{\Affilfont}{\normalfont\itshape\fontsize{10}{12}\selectfont}
\renewcommand\Authands{, }

\makeatletter
% Add \bfseries to author superscript
\renewcommand\AB@authnote[1]{\textsuperscript{\normalfont\bfseries#1}}
\makeatother

\begin{document}

\title{\textbf{A review of Machine learning techniques}\vspace{0ex}}
\author[a*]{Abc}
\author[b]{Def}
\author[c]{Ghi\vspace{0ex}}
\affil[a,b]{XYZ, \vspace{0ex}}
\affil[c]{UVW\vspace{2ex}}
\date{}

\maketitle

\end{document}

相关内容