[Tex/LaTex] How to insert a newline in a framebox


I have several frameboxes in my document, using the following command:

\framebox(115,115){ R-Sq: \newline For example} 

I want to force a new line, but neither \newline or \\ appear to work. Is there any other way of doing this?

Best Answer

TH. has suggested putting the framebox around another box, but specifying the size can be awkward. Here's my (note: plug) solution to the problem:

\minibox[frame]{R-Sq:\\ For example}

A ‘minibox’ is exactly equivalent to a tabular in the current implementation; I just wanted the shorter markup.

Related Question