tabularray icon indicating copy to clipboard operation
tabularray copied to clipboard

Setting `\hfuzz=\maxdimen` completely breaks X columns

Open IsaacOscar opened this issue 2 years ago • 1 comments

In order to silence annoying overfull hbox warnings when I'm compiling a draft, I set \hfuzz=\maxdimen. But this broke all my X columns (they were 0 width). I found the cause of the problem:

https://github.com/lvjr/tabularray/blob/690e67ee175ff7601d0144c84f9a7e9c67573e0b/tabularray.sty#L4099

Using xpatchcmd I modifed the above to use 0pt in place of \hfuzz, which solved my problem.

But not having to use xpatchcmd would probably be better, I'd submit a pull request myself, but I'm not sure what that line is actually doing, and whether 0pt is a sensible value, or even if it would be usefull to make it user configurable.

IsaacOscar avatar Oct 17 '23 10:10 IsaacOscar

We need to use our own hfuzz dimension instead of global \hfuzz dimension in tabularray.

PS: I just followed the usage of tabu packgae when I was writing this part of code.

lvjr avatar Feb 22 '24 01:02 lvjr

This bug has been fixed.

lvjr avatar Nov 28 '24 02:11 lvjr