duetosymmetry / orcidlink-LaTeX-command

LaTeX style file to add a macro for inserting a linked ORCiD logo
Other
97 stars 49 forks source link

Text corruption with 3 or more `ieeetran` authors #2

Closed mister-walter closed 2 years ago

mister-walter commented 2 years ago

For some reason, I get text corruption later on in the LaTeX document when using orcidlink in the author block of a document using the ieeetran conference styles. This seems to be dependent on how many authors have the \orcidlink command in their author name block - e.g. in the below example, the issue only appears when all 3 of the authors have the \orcidlink, but in the document where I originally discovered this issue it appears when more than 1 author has an \orcidlink

Minimal reproducible example:

\documentclass[conference]{IEEEtran}
\usepackage{orcidlink}

\def\BibTeX{{\rm B\kern-.05em{\sc i\kern-.025em b}\kern-.08em
    T\kern-.1667em\lower.7ex\hbox{E}\kern-.125emX}}
\begin{document}

\title{Paper Title}

\author{\IEEEauthorblockN{Jane Doe\,\orcidlink{0000-0000-0000-0000}}
\IEEEauthorblockA{\textit{A College} \\
\textit{A University}\\
Anytown, Anystate, USA \\
\url{jane.doe@example.com}}
\and
\IEEEauthorblockN{John Doe\,\orcidlink{0000-0000-0000-0001}}
\IEEEauthorblockA{\textit{A College} \\
\textit{A University}\\
Anytown, Anystate, USA \\
\url{john.doe@example.com}}
\and
\IEEEauthorblockN{Josephine Doe\,\orcidlink{0000-0000-0000-0002}}
\IEEEauthorblockA{\textit{A College} \\
\textit{A University}\\
Anytown, Anystate, USA \\
\url{josephine.doe@example.com}}
}

\maketitle

\begin{abstract}
An abstract
\end{abstract}

\begin{IEEEkeywords}
keyword1, keyword2
\end{IEEEkeywords}

\section{Introduction}
Some content
\end{document}

Image of result (note the missing characters next to "Abstract" and "Index Terms") orcidcorruption

I am using pdfTeX: Version 3.141592653-2.6-1.40.24 (TeX Live 2022/Arch Linux). The orcidlink.sty file is provided by the texlive-latexextra package, version 2022.63034-1. The file's contents are identical to that of orcidlink.sty in this repository.

mister-walter commented 2 years ago

After some additional experimentation, I think this may just be an issue with my PDF viewer. Apologies for the noise.