You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@Udi-Fogiel It doesn't give the expected result in case long text: it is composed on a single line and protrudes into the right margin. An improvement would be to rely on \parbox.
It would be nice if in addition to the
colorbox
command, one could also have it as an environment:This is especially handy in a setting where the content is long, or if one wants to define own environments using colored boxes.
The package tcolorbox provides such a functionality, but it seems a bit wasteful to load it in addition to
xcolor
.The text was updated successfully, but these errors were encountered: