General overview
I try to put a \minipage[t]{…} inside a \twoclum[<here>]’s argument.
But it failed with the following error message:
Error message
! Argument of \@iminipage has an extra }.
<inserted text>
\par
l.7 \begin{minipage}[b]
{5cm}
What I tried
It seams that the [t] minipage’s option it’s the reason of the trouble (same thing whith [b], btw). And it cause troubleshouting only when it’s inside the \twocolumn’s argument.
MWE
\documentclass{article}
\begin{document}
\twocolumn[%
\begin{minipage}[t]{5cm}
foo
\end{minipage}%
]
\end{document}
The question
How to use minipage with [t] option inside \twocolumn’s argument without troubleshooting?
vboxAlso very awkward to type if one has a lot of cases like this. But then the OP did not describe what this is going to be used for. – yannisl Mar 10 '24 at 17:01\begin{minipage}the minipage[t]can be omitted! – yannisl Mar 10 '24 at 17:06[{(open) and}](close) and that[...]is just a convenient shortcut if you do not have to hide anything from the scanner which is true most of the time. – cabohah Mar 10 '24 at 17:42[...]yes you need them. – yannisl Mar 10 '24 at 17:52\twocolumnargument than shown, either a longer text, that should break into lines of <= 5cm or something beside the minipage. – cabohah Mar 10 '24 at 17:59