Graphics, Figures & Tablestitlerule placement

Information and discussion about graphics, figures & tables in LaTeX documents.
Post Reply
workerbee
Posts: 43
Joined: Sat Nov 22, 2008 1:53 am

titlerule placement

Post by workerbee »

I've noticed that in all the examples using "titlerule" the line appears above the section heading text. When I place a specific measurement to go beneath a text it works only if the section heading spans one line. The problem I'm facing is when I'm not entirely sure how many lines that heading will span and it interrupts the flow of text. Is there a way to make the titlerule appear after the section heading text?

Below is an attached screen capture of what I have right now.

And this is the code I put in the preamble:
\titleformat{\section}[block]
{\normalfont\LARGE\rmfamily}
{\thesection}{.5em}{\titlerule\\[-3.8ex]\bfseries}

Recommended reading 2024:

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

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

Post Reply