I want to put a long text in the box using LaTeX, thus, would someone tell me how to put the text in the box? Using \makebox?
however, it doesn't work, I use \makebox[10cm]{text in the box}
, there is no box in the file.
[Tex/LaTex] how to put the text in the box
boxes
Best Answer
You can use
\framebox
instead of\makebox
(which is almost the same as the suggestion in the comments of using\fbox
around\makebox
).\fbox
is a simplified version of\framebox
in the same way that\mbox
is a simplified version of\makebox
for the common case in which you just want the natural size of the contents so do not need to specify any lengths.