arXiv / arXiv/html_feedback

ORCID logo size error

Open
#2,176 2 comments 0 reactions 0 assignees View on GitHub
bug styles
Dominant language
No language data
Stars
42
Forks
40
PR merge metrics
No merged PRs in 30d

Description

### Description

There is an issue with the ORCID logo rendering when using the `\scalerel*` command.

Here is the Latex code of my paper
```
\usepackage{scalerel}
\usepackage{tikz}
\usetikzlibrary{svg.path}

\definecolor{orcidlogocol}{HTML}{A6CE39}
\tikzset{
orcidlogo/.pic={
\fill[orcidlogocol] svg{M256,128c0,70.7-57.3,128-128,128C57.3,256,0,198.7,0,128C0,57.3,57.3,0,128,0C198.7,0,256,57.3,256,128z};
\fill[white] svg{M86.3,186.2H70.9V79.1h15.4v48.4V186.2z}
svg{M108.9,79.1h41.6c39.6,0,57,28.3,57,53.6c0,27.5-21.5,53.6-56.8,53.6h-41.8V79.1z M124.3,172.4h24.5c34.9,0,42.9-26.5,42.9-39.7c0-21.5-13.7-39.7-43.7-39.7h-23.7V172.4z}
svg{M88.7,56.8c0,5.5-4.5,10.1-10.1,10.1c-5.6,0-10.1-4.6-10.1-10.1c0-5.6,4.5-10.1,10.1-10.1C84.2,46.7,88.7,51.3,88.7,56.8z};
}
}

\newcommand\orcidid[1]{\href{https://orcid.org/#1}{\mbox{\scalerel*{
\begin{tikzpicture}[yscale=-1,transform shape]
\pic{orcidlogo};
\end{tikzpicture}
}{|}}}}

\author{
Name~Surname$^{\orcidid{0000-0002-0000-0000}}$
}
```

### (Optional:) Please add any files, screenshots, or other information here.

_No response_

### (Required) What is this issue most closely related to? Select one.

Choose One

### Internal issue ID

1e33b62d-c3be-41bc-a0ef-f86520129ed5

### Paper URL

https://arxiv.org/html/2409.04104v1

### Browser

Chrome/129.0.0.0

### Device Type

Desktop

Contributor guide

Open the contributing guide

Research direction

Start with the LaTeX example in the issue and inspect the linked arXiv HTML paper in Chrome, focusing on the ORCID logo produced by the scalerel command. Compare the rendered logo size with the surrounding author text; done means the ORCID logo renders at the intended size without distortion.

Written by the indexing model from the issue text.

Assessment

Tech stack
latex
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.