[Tex/LaTex] Box for multiple lines and automatic width

boxes

I feel this is rather a dumb question, but I could not find an answer. I'm looking for a \parbox without the width parameter, i.e. it should be determinded by its content. And the content is multiple lines. Something like:

       A
I like B , but who cares?
       C2

An \mbox or \makebox doesn't allow for line breaks, it seems and a \parbox wants a width parameter. There must be some easy solution for what I want, no?

Best Answer

How about a simple tabular?

% arara: pdflatex
\documentclass{article}
\begin{document}

I like \begin{tabular}{l}A\\B\\C2\end{tabular} but who cares?
\end{document}

screenshot