I sometimes have bits of text I want to emphasize. My idea is to change the margin with changepage's adjustwidth and then frame the text with \fbox. The problem is this prevents linebreaks. For now, the only solution I have is to put \vbox inside \fbox and split the text into \hboxes by copying the automatic line division and hyphenation carried out without \fbox. This also implies having to stretch some \hboxes, therefore calculating the opportune width for those. Is there a better way to do this? The idea is:

typeset by:
metodi numerici sui problemi di Cauchy, dà una definizione che è tutto fuorché matematica, nel senso che dà una definizione di questo tipo:
\begin{adjustwidth}{1cm}{1cm}
\dimen1=\linewidth
\advance\dimen1 by -0.3cm
\fbox{\itshape\vbox{\just[\dimen1]{Se un problema con una regione di stabilità finita in un intervallo di tem-} \just[\dimen1]{po per ogni condizione iniziale è forzato ad usare un passo di integrazione} \just[\dimen1]{troppo piccolo rispetto alla regolarità della soluzione il problema è stiff in} \hbox{quell'intervallo.}}}
\end{adjustwidth}
Tipicamente vado a scegliere i metodi con una regione di assoluta stabilità infinita, e tipicamente quelli che permettono con facilità di cambiare il passo di integrazione. Ovviamente
Note: \just is defined as:
\newcommand{\just}[2][\linewidth]{\hbox to #1{#2}}
Edit: I'm probably using all those \hboxes to avoid this:
Apart from the indent, which can be suppressed by \noindent, why does the text extend not only beyond the margin of adjustwidth but also beyond that of the text outside it? Is it because \textwidth is set back to normal and needs to be altered? Note that altering \linewidth changes nothing.

minipageor even bettertcolorbox? – percusse Sep 18 '14 at 14:12tabularwhere you could use ap{<len>}-column. Then the content will wrap all day long... – Werner Sep 18 '14 at 14:16\vboxin latex documents, it is a tex primitive so can be used in code with care but not taking top level document text like this, but even if you did you\vboxwhy the\hboxwhich just stops line breaking? why not just put the text into the\vboxand let tex break it into lines? – David Carlisle Sep 18 '14 at 14:18\vboxjust starts a new vertical list it doesn't reset parameters to be suitable for typesetting in that new context.minipageis\vboxbut sets\hsizeand\parindentand several other things, and works correctly with colour. – David Carlisle Sep 18 '14 at 14:38