Text FormattingFill Frame of customized Heading with Color

Information and discussion about LaTeX's general text formatting features (e.g. bold, italic, enumerations, ...)
Post Reply
RobinT
Posts: 1
Joined: Mon May 20, 2013 10:44 pm

Fill Frame of customized Heading with Color

Post by RobinT »

Hi, I hope someone can help me with filling a frame of a section with a color. Here's my code so far.

Code: Select all

\titleformat{\section}[frame]{\normalfont}{}{1pt}{\quad}
Now I want the frame to be filled with, for example blue, while making the text white.

Thanks in advance!

Robin

Recommended reading 2024:

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

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

localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Fill Frame of customized Heading with Color

Post by localghost »

You might wonder why your question is orphaned and you didn't get answer yet. If you give an adequate problem description along with a self-contained and minimal example, this situation may change.


Best regards and welcome to the board
Thorsten
Post Reply