Text Formatting ⇒ changing section title format
changing section title format
Id like to have it so under (the next line) the title is a bunch of = signs. I know it sounds a bit weird but it will come in handy oddly enough.
So something like:
Section Title
========
Thanks
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
- Stefan Kottwitz
- Site Admin
- Posts: 10334
- Joined: Mon Mar 10, 2008 9:44 pm
changing section title format
you could use ulem or the soul package:
Code: Select all
\usepackage{titlesec}
\usepackage[normalem]{ulem}
\titleformat{\section}
{\normalfont\Large\bfseries}{\thesection}{1em}{\uuline}
Re: changing section title format
Thanks
- Stefan Kottwitz
- Site Admin
- Posts: 10334
- Joined: Mon Mar 10, 2008 9:44 pm
changing section title format
Code: Select all
\newcommand\equalsigns{\bgroup\markoverwith{\raisebox{-1.1ex}{=}}\ULon}
\titleformat{\section}
{\normalfont\Large\bfseries}{\thesection}{1em}{\equalsigns}
Re: changing section title format
Thanks alot!
- Stefan Kottwitz
- Site Admin
- Posts: 10334
- Joined: Mon Mar 10, 2008 9:44 pm
changing section title format
Code: Select all
\titleformat{\section}
{\normalfont\Large\bfseries}{\thesection}{1em}{}[==== ... ====]