[texhax] \fbox around list

E. Krishnan ekmath at asianetindia.com
Wed May 25 03:24:20 CEST 2005


On Mon, 23 May 2005, Joey Coyle wrote:

> It seems you can't but a list in a minipage, boxedminipage, or in a 
> box, which is a bummer.

Not so. Try the code below:

 \documentclass[a4paper]{article}
 \usepackage{paralist}
 \usepackage{boxedminipage}

 \begin{document}


  Some text without a box
  \begin{center}
    \begin{boxedminipage}{\textwidth}
      \begin{compactenum}
      \item The first item
      \item The secnd item
      \item The third item
      \end{compactenum}
   \end{boxedminipage}
 \end{center}




\end{document}



-- 
Krishnan



More information about the texhax mailing list