-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Labels
bugSomething isn't workingSomething isn't working
Description
- https://twitter.com/UEZU8223/status/1597460815291875328
- https://tex.stackexchange.com/questions/662826
確かに ! LaTeX mark Error: Infinite shrinkage found in 'column'.
が出ます。
\makeatletter
\def\TABLE{\@ifnextchar*{\TABLE@}{\TABLE@{}}}
\def\TABLE@#1#2{%
\begin{table#1}[ht]
\caption{#2}
\centering
\begin{tabular}{p{0.25\linewidth}p{0.25\linewidth}p{0.25\linewidth}}
\hline
column 1 & column 2 & column 3\\
\hline
cell 1 & cell 2 & cell 3\\
cell 1 & cell 2 & cell 3\\
\hline
\end{tabular}
\end{table#1}}
\makeatother
\documentclass[twocolumn]{article}
\textheight8cm
\usepackage{lipsum}
\usepackage{nidanfloat}
\begin{document}
\TABLE*{First}
\TABLE{Second}
\TABLE*{Third}
\lipsum*[1-4]
\end{document}
\RequirePackage[2022/05/31]{platexrelease}
に巻き戻すと一応エラーは消えるので,LaTeX2e 2022-06-01 で何かが起きています。
なお nidanfloat は LaTeX2e 2015/01/01 での「フロート順序修正」に追随していない (#1) ので,フロートの順序が崩れます。これは本件とは別に対処が必要。
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working