I want to create a new environment, which is like minipage, but can cross 2 or more lines as the image showed. I am trying to use several environment such as minipage, tabular, varwidth, but they all seemed can't expand from a line to another. I also like this environment has a regualr line height, and can expand width automatically based on the input inside. anyone can help here? thanks a lot!
Please see an example here.
Sorry I didn't make it clear. Here is an example - it's more like to compress a long sentence into an inline box but as 2 lines format, and meanwhile, this box can expand automatically if there is a lot of words inside.