Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

value of \fboxsep is not preserved #2135

Closed
xworld21 opened this issue Jun 28, 2023 · 0 comments · Fixed by #2161
Closed

value of \fboxsep is not preserved #2135

xworld21 opened this issue Jun 28, 2023 · 0 comments · Fixed by #2161

Comments

@xworld21
Copy link
Contributor

When outputting a \fbox, the value of \fboxsep is ignored. The end result is that every framed box has no padding at all in the default stylesheet – at a minimum, the default CSS could include the usual 3pt padding. Minimal example is

\documentclass{article}
\begin{document}
\fbox{box}
\end{document}

XML output

<para xml:id="p1">
  <p><text framecolor="black" framed="rectangle">box</text></p>
</para>

even though the value of \fboxsep is 3pt (set within LaTeX.pool.ltxml). Changing \fboxsep has no effect, it seems like the value just is not used.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants