[OS X TeX] fboxes

Nitecki, Zbigniew H. Zbigniew.Nitecki at tufts.edu
Thu Jul 16 22:29:10 CEST 2020

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

Zbigniew Nitecki
Department of Mathematics
Tufts University
Medford, MA 02155

Office    (617)627-3843
Dept.    (617)627-3234
Dept. fax    (617)627-3966

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://tug.org/pipermail/macostex-archives/attachments/20200716/048f31e5/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: EGtest.tex
Type: application/octet-stream
Size: 617 bytes
Desc: EGtest.tex
URL: <https://tug.org/pipermail/macostex-archives/attachments/20200716/048f31e5/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: EGtest.pdf
Type: application/pdf
Size: 7699 bytes
Desc: EGtest.pdf
URL: <https://tug.org/pipermail/macostex-archives/attachments/20200716/048f31e5/attachment.pdf>
-------------- next part --------------
----------- Please Consult the Following Before Posting -----------
TeX FAQ: http://www.tex.ac.uk/faq
List Reminders and Etiquette: https://sites.esm.psu.edu/~gray/tex/
List Archives: http://dir.gmane.org/gmane.comp.tex.macosx
TeX on Mac OS X Website: http://mactex-wiki.tug.org/
List Info: https://email.esm.psu.edu/mailman/listinfo/macosx-tex

More information about the macostex-archives mailing list.