arXiv / arXiv/html_feedback

Privacy-Preserving Instructions for Aligning Large Language Models

Open
#705 2 comments 0 reactions 0 assignees View on GitHub
bug figure latexml-oxide tcolorbox
Dominant language
No language data
Stars
42
Forks
40
PR merge metrics
No merged PRs in 30d

Description

### Description

Some figures are not displayed correctly. For an example, please refer to Figure 2.

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

Here is the latex source of Figure 2:
```
\begin{figure*}[htb]
\begin{AIbox}[width=1.0\textwidth]{}
\parbox{1\textwidth}{\scriptsize\begin{alltt}

[Content]

\end{alltt}}
\end{AIbox}
\caption{...}
\label{...}
\end{figure*}
```

Here is the definition of the `AIbox` env:

```
\usepackage{alltt}
% AIbox is used to show prompts
\tcbset{
aibox/.style={
width=474.18663pt,
top=10pt,
colback=white,
colframe=black,
colbacktitle=black,
enhanced,
center,
attach boxed title to top left={yshift=-0.1in,xshift=0.15in},
boxed title style={boxrule=0pt,colframe=white,},
}
}
\newtcolorbox{AIbox}[2][]{aibox,title=#2,#1}
```

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

Figures

### Internal issue ID

f9278f4d-430d-4fc0-846b-ae623fee8195

### Paper URL

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

### Browser

Chrome/122.0.0.0

### Device Type

Desktop

Contributor guide

Open the contributing guide

Research direction

Open Figure 2 in the linked arXiv HTML page and compare its rendering with the supplied LaTeX source and AIbox definition. Trace how this figure is represented in the HTML output; the work is done when the figure displays correctly in Chrome on desktop.

Written by the indexing model from the issue text.

Assessment

Tech stack
html, latex
Domain
frontend, web-dev
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 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.