Herbert Voss wrote:
robin schrieb:

Now I would have thought that when this is invoked, it would produce a box with a medium skip before and after, but in fact the skips happen inside the box, which is flush with the previous and following paragraphs. Does anyone have an idea how I can change this behaviour?

choose \medskip if \bigskip is too much


\newenvironment{myBox}{%
     \par\bigskip
     \noindent%
     \begin{lrbox}{\@tempboxa}%
     \begin{minipage}[t]{0.5\columnwidth}%
   }{%
     \end{minipage}%
     \end{lrbox}%
     \fbox{\parbox{0.5\columnwidth}{\usebox{\@tempboxa}}}%
     \par\bigskip
   }%

Thanks - that did the trick.

Robin


--
" Like these cutters, and hackers, who will take the wall of men, and picke quarrells."
- G. Pettie

Robin Turner
IDMYO
Bilkent Univeritesi
Ankara 06533
Turkey

www.bilkent.edu.tr/~robin


Reply via email to