I was wondering how to create several rows in a box using the fbox command in latex -
this basic question, cant find answer question.... create box looks like:
___________________ |hello1 | |hello2 | |hello3 | |__________________|
i have tried fbox command in latex. text on 1 line , not several.
\fbox
puts frame round content, not paragraph box. need \parbox
inside \fbox
\documentclass{article} \begin{document} \fbox{\parbox{\textwidth}{% hello1\\ hello2\\ hello3 }} \end{document}
Comments
Post a Comment