So I want to add a kind of a storyline into my document. I want these stories to be enclosed into a box. So I used the framed command, but there is a big problem, it seems that this package does not support captions.
I tried listings, but i cannot use text formatting commands like
\textbf
or \underline
which I need.An output example of what I wish to achieve is this (the position of the caption and box style is irrelevant:
------------------------------------------------------------------
| Story: Lorem ipsum dolor sit amet |
| Nullam suscipit nunc eu libero blandit porta.|
| Cum sociis natoque penatibus et magnis dis |
| parturient montes, nascetur ridiculus mus. |
------------------------------------------------------------------
Box 1 - Lorem ipsum
Is there a way to achive what I want? Also can I set a default caption type? (I think box does not exist, but even if it exists I would like to set my own).
I have already searched a lot for this answer, some of the topics I've read seems to suggest the solution could be achieved with
{minipage}
enviroment. But it does not seems to allow to set a caption. Hope you guys can help me! Thanks 