Text FormattingFramebox customization

Information and discussion about LaTeX's general text formatting features (e.g. bold, italic, enumerations, ...)
Post Reply
Roton
Posts: 5
Joined: Wed Aug 12, 2015 9:58 pm

Framebox customization

Post by Roton »

Hi,

I am trying to use \framebox to be the width of the page or a fixed width so all of my boxes in the document are the same width. I also want to colour the box grey.

\section{\centerline{\framebox[1.7\width]{HEADING}}}

Can anyone please help, thanks.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p

Post Reply