The short answer depends on your Latex renderer (Texlive etc, mathtex, mimetex, mathtran, mathjax...).
In moodle \mbox is a blacklisted command for historical reasons so the best option is usually \fbox that is supported by most versions of latex. In mimetex spaces are stripped so you need to add \text to see it as text. I can't find any good reason for using latex to render such long texts inside box - you have html, css and tools of editor (tables, frames, borders etc) for such purpose. Anyway since you asked
in mimetex try
\fbox{\text{the quick brown fox jumps right over the lazy dog. the quick brown fox jumps right over the lazy dog. the quick brown fox jumps right over the lazy dog. the quick brown fox jumps right over the lazy dog. the quick brown fox jumps right over the lazy dog.}}
in other distributions for example
\fbox{the quick brown fox jumps right over the lazy dog. the quick brown fox jumps right over the lazy dog. the quick brown fox jumps right over the lazy dog. the quick brown fox jumps right over the lazy dog. the quick brown fox jumps right over the lazy dog.}
or a little more advanced
\framebox[1.1\width]{the quick brown fox jumps right over the lazy dog. the quick brown fox jumps right over the lazy dog. the quick brown fox jumps right over the lazy dog. the quick brown fox jumps right over the lazy dog. the quick brown fox jumps right over the lazy dog.}
if your latex supports \framebox.
Finally: your question has nothing to do with original question about Geogebra in moodle 2.1 |
(created with table and border of table is set to width 1px and color of border is set to red - my long text is inside this table)