I have a rectangular box in latex. I want to introduce line breaks in the text that appears in the rectangular shape. Can anybody guide me in this regard. I have tried the following statement but it does not work.
\draw[solid] (7,-4) rectangle (11,-3) node[ pos=.5] {abc \\ def };