arXiv / arXiv/html_feedback

color boxes in table 1 have not been rendered

Open
#5,812 1 comment 0 reactions 0 assignees View on GitHub
bug color
Dominant language
No language data
Stars
42
Forks
40
PR merge metrics
No merged PRs in 30d

Description

### Description

The table 1 should have small color blocks rendered in the color columns by a macro, but they have instead appeared as text

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

color swatches added into table via macro:

% Macro: convert OD triplet to visible RGB patch via exp(-OD)
\newcommand{\swatchOD}[3]{%
\pgfmathsetmacro{\rr}{exp(-#1)}%
\pgfmathsetmacro{\gg}{exp(-#2)}%
\pgfmathsetmacro{\bb}{exp(-#3)}%
\begingroup
\setlength{\fboxsep}{5.7pt}%
\raisebox{.6ex}{\fcolorbox{black!30}[rgb]{\rr,\gg,\bb}{\rule{2.8ex}{-1.2ex}}}%
\endgroup
}

Dont get rendered

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

Figures

### Internal issue ID

41a9b71f-eba0-4ad3-85f2-856b775d7b7a

### Paper URL

https://services.arxiv.org/html/submission/7168160/view

### Browser

Chrome/143.0.0.0

### Device Type

Desktop

Contributor guide

Open the contributing guide

Research direction

Open the paper URL and inspect Table 1 in Chrome, focusing on the \swatchOD macro and the color columns. Trace how this macro is handled in the HTML rendering path, then verify that the color values produce visible swatches rather than literal macro text in the table.

Written by the indexing model from the issue text.

Assessment

Tech stack
latex
Domain
frontend, web-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.