# [tex-live] Problem with amsthm

Zdenek Wagner zdenek.wagner at gmail.com
Fri Jun 20 15:45:26 CEST 2014

2014-06-20 15:32 GMT+02:00 David Carlisle <d.p.carlisle at gmail.com>:

> This is not the list for reporting problems with macro code  (the texlive
> maintainers maintain the system
> but can not control the individual packages which are taken from CTAN)
>
> However your document arguably highlights a bug (unreported I think)
> that's been in latex since the start
>
> \leavevmode\begin{picture}
>
> should fix it...
>

I would not consider it a bug. The center environment among others sets
\leftskip, \rightskip and \parfillskip. These values are used in the
horizontal mode. The picture environment is a box. If it is placed in the
vertical mode, the settings made by the ceter environment are not in
effect. \leavevmode starts the horizontal mode. In addition, the center
environment is not just an environment for centering, it is defined as a
list and does too many things. If you have a list without a paragraph, you
get the error.

>
> David
>
>

--
Zdeněk Wagner
http://hroch486.icpf.cas.cz/wagner/
http://icebearsoft.euweb.cz
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/tex-live/attachments/20140620/fed5939e/attachment.html>