# fboxes

3 messages
Open this post in threaded view
|

## fboxes

 I am generating a two-column document, and want to box in the statement of a theorem. If in one line, it runs across the two columns.  So I put it in a \parbox, and broke it into two lines.   My question is this: (see attached example) if I set the width as either \linewidth or \columnwidth, the box  (and hence the frame) runs to the end of the column line.  This makes sense, but it leaves a lot of space to the right of the text in the box.  Is there a way to make the box fit the width of the text, rather than the predefined line or column width? I don’t want to use rigid lengths (eg 4in) because the pdf that I generate will go through an ExplainEverything recording, and I am not sure what the final dimensions of anything will be—I prefer to have that controlled internally. Zbigniew Nitecki Department of Mathematics Tufts University Medford, MA 02155 telephones: Office    (617)627-3843 Dept.    (617)627-3234 Dept. fax    (617)627-3966 http://www.tufts.edu/~znitecki/ ----------- Please Consult the Following Before Posting ----------- TeX FAQ: http://www.tex.ac.uk/faqList Reminders and Etiquette: https://sites.esm.psu.edu/~gray/tex/List Archives: http://dir.gmane.org/gmane.comp.tex.macosx                https://email.esm.psu.edu/pipermail/macosx-tex/TeX on Mac OS X Website: http://mactex-wiki.tug.org/List Info: https://email.esm.psu.edu/mailman/listinfo/macosx-tex EGtest.tex (846 bytes) Download Attachment EGtest.pdf (10K) Download Attachment