Monorepo for Aesthetic.Computer aesthetic.computer
4
fork

Configure Feed

Select the types of activity you want to include in your feed.

fix: prevent tables from overflowing card column width

Wrap all tabular/tabularx environments in adjustbox{max width=\linewidth}
so tables are automatically scaled down when they exceed the narrow 3.2"
card width. Also set \small font inside tables for better fit.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

+28
+28
papers/ac-paper-cards.sty
··· 208 208 \hyphenpenalty=50 % encourage hyphenation (default 50, lower = more) 209 209 \exhyphenpenalty=50 % also break at explicit hyphens in compounds 210 210 211 + % === TABLE OVERFLOW PREVENTION === 212 + % Cards are only ~3.2in wide — tables must never exceed column width. 213 + \RequirePackage{tabularx} % auto-stretching X columns 214 + \RequirePackage{adjustbox} % fallback: shrink oversized tables 215 + % Wrap every tabular/tabularx in adjustbox max width=\linewidth 216 + % so no table can ever overflow the card edge. 217 + % Also reduce font size in tables for better fit on narrow cards. 218 + \let\origintabular\tabular 219 + \let\oriendtabular\endtabular 220 + \renewenvironment{tabular}[1]{% 221 + \small% 222 + \begin{adjustbox}{max width=\linewidth}% 223 + \origintabular{#1}% 224 + }{% 225 + \oriendtabular% 226 + \end{adjustbox}% 227 + } 228 + \let\origintabularx\tabularx 229 + \let\oriendtabularx\endtabularx 230 + \renewenvironment{tabularx}[2]{% 231 + \small% 232 + \begin{adjustbox}{max width=\linewidth}% 233 + \origintabularx{#1}{#2}% 234 + }{% 235 + \oriendtabularx% 236 + \end{adjustbox}% 237 + } 238 + 211 239 % === HYPERREF === 212 240 \RequirePackage{hyperref} 213 241 \hypersetup{