I'm trying to put a border around multiple lines. Here's a MWE with what I've achieved so far:
\documentclass[a4paper]{scrartcl}
\usepackage{calc}
\begin{document}
\setlength{\parindent}{0cm}
text text text
\fbox{
\begin{minipage}[t]{\textwidth - 2\fboxsep}
text in box
\end{minipage}
}
more text
\end{document}
This results in something like this:
text text text
+-------------+
| text in box |
+-------------+
more text
I would like the sideways borders to be around the type area:
text text text
+-----------------+
| text in box |
+-----------------+
more text
But how can I do this?


