GeneralPutting a visible frame around subsections

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
itsmereally
Posts: 32
Joined: Sun Jul 25, 2010 11:15 pm

Putting a visible frame around subsections

Post by itsmereally »

Hello :)

Is it possible to put visible frames or boxes around subsections? I've experimented with \framebox, \frame and \makebox, but can only get visible boxes around words or sentences.

What I'm after is seperating subsections with frames or boxes that span the document from left margin to right.

My subsections include multiple environments, such as \align, \equation, \centre and tables.

Can anyone help with this?

Thanks
Last edited by itsmereally on Sun Jan 09, 2011 12:40 am, edited 2 times in total.

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

frabjous
Posts: 2064
Joined: Fri Mar 06, 2009 12:20 am

Putting a visible frame around subsections

Post by frabjous »

Did you try \begin{framed} ... \end{framed} and/or other facilities provided by the framed package?
itsmereally
Posts: 32
Joined: Sun Jul 25, 2010 11:15 pm

Re: Putting a visible frame around subsections

Post by itsmereally »

Thanks for the reply.

That works exactly as I wanted it, but I could have sworn I'd already tried that. :?

Anywho, it works.

Thank you very much. :)
Post Reply