# [texhax] a list in a framebox?

Jeroen Wijnhout Jeroen.Wijnhout at kdemail.net
Mon Jun 7 17:00:27 CEST 2004

On Monday 07 June 2004 16:30, Christopher W. Ryan wrote:
> A the top of a survey, using examdesign package, I want to put the
> following lines, inside a box with a border:
>
> Office Use Only
> ID number:
> MCAT score
>
> I've been reading about \framebox and other box-related commands, but I
> can't seem to get them to work.  All my text ends up on a single line.
> the itemize environment isn't working for me within the \framebox
>
> Thanks.

\fbox puts TeX into Left-Right mode afaik, you can use a paragraph box:
\parbox{2in}{one\\two}
or a tabular environment like this:

\documentclass[a4paper,10pt]{article}
\begin{document}
\fbox{\parbox{5cm}{
\begin{tabular}{ll}
Office Use Only & {}\\
ID number: & 123\\
MCAT score: & 321\\
\end{tabular}
}}
\end{document}

best,
Jeroen
--
Kile - KDE Integrated LaTeX Editor
http://kile.sourceforge.net