I am using authblk
package to display the authors. I will try to use background yellow
color highlighted author names. But the authblk
package is not supported.
MWE:
\documentclass{article}
\usepackage[noblocks]{authblk}
\usepackage{color}
\newcommand{\snm}[1]{\fboxsep0pt\colorbox{yellow}{#1}}
\begin{document}
\title{Bad superscript with authblk / xltxtra}
\author{David \snm{Wilson}}
\affil{address1}
\author{Albert \snm{William}}
\affil{address2}
\maketitle
\snm{Sample Paragraph.} Sample Paragraph. Sample Paragraph. Sample Paragraph. Sample Paragraph. Sample Paragraph. Sample Paragraph. Sample Paragraph. Sample Paragraph. Sample Paragraph.
\end{document}
The \snm{}
command is working paragraph environment. The same command is not working inside the \author{David \snm{Wilson}}
command. Please advice how to get the required color background in author names.
My Required Output:
The same output should be appeared author names. How to get this using authblk
package.