Donal Arseneau writes:
I have uploaded varwidth.sty and varwidth.xml (for the catalogue) to ftp.tex.ac.uk:incoming. Please put it in macros/latex/contrib/other/misc.
I am releasing this as version 0.9 because it has gotten mouldy waiting for me to get back to it. (It does work, mostly.) Anyone who tries it should be sure to make bug reports.
It is released under LPPL.
% The varwidth environment is based on minipage, and takes the same % parameters, but the specified width is just a maximum value -- the % environment will be typeset with a narrower natural width if % possible. % % In a varwidth environment, paragraph line-breaks are chosen % according to the specified width, but each line is reset to % match a narrower natural width, if there is one. % % The
arrowragged command works like aggedright, but produces
% generally narrower lines in paragraphs, but more text in the last % line (the lines have more-equal lengths). % % This version works fine, but there are still many questions about % how it would work best. Should there be a version that avoids the % usual minipage formatting style? % % Numbered equations are not handled well, especially with leqno. % AMSmath environments have not been tried, and undoubtedly fail. % % It also defines a
ewcolumntype{V} that is the {varwidth}
% counterpart of a p column in tabulars.
i've installed the file as requested: thanks for the upload.
Robin Fairbairns
For the CTAN team