Text Formatting ⇒ Format Section and Subsection Headings
-
- Posts: 4
- Joined: Sat Jul 07, 2012 5:50 pm
Format Section and Subsection Headings
Section [in center]
Subsection text text text text ...........
My code consists of:
\begin{section}\\
\begin{subsection}\\
text
I'm using TexShop and a document class of amsart.
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: 10335
- Joined: Mon Mar 10, 2008 9:44 pm
Format Section and Subsection Headings
For customizing the headings, I recommend to use the

These don't are environments. Write instead:LaTeXUser54 wrote:My code consists of:
\begin{section}\\
\begin{subsection}\\
Code: Select all
\section{title}
\subsection{title}
-
- Posts: 4
- Joined: Sat Jul 07, 2012 5:50 pm
Re: Format Section and Subsection Headings
I'll have to try the titlesec package. Thanks.