Go to page:

Search:   Help

Edit

FAQ /

# FramedBox

<< | Page list | >>

### How could I make an itemized list with a frame around it?

See what you think of a table (with one cell and one row), where you a minipage. Then in the minipage you type your list as normal. Here's an example.

Or, you can try the code below, adapted from ShadedBox works (but it's really a hack since the gray-level is set as white as possible. Maybe the \fbox or \framedbox could be used somehow?

Anyway, put this in the preamble:

   \usepackage{color,calc}
\newenvironment{myFramedBox}[1][]%
{
%\setlength{\fboxsep}{-\fboxrule}
% \footnotesize\normalfont\ttfamily\raggedright
\setlength{\rightmargin}{\leftmargin}
\setlength{\itemsep}{-12pt}
\setlength{\parsep}{20pt}
\begin{lrbox}{\@tempboxa}%
\begin{minipage}{\linewidth-2\fboxsep}
}%
{
\end{minipage}%
\end{lrbox}%

And then put som ERT with \begin{myFramedBox} and start writing your itemized list as normal. Then add another ERT with  \end{myFramedBox}