Text Formattingsubsection header

Information and discussion about LaTeX's general text formatting features (e.g. bold, italic, enumerations, ...)
Post Reply
polyakova
Posts: 2
Joined: Wed Aug 25, 2010 1:29 am

subsection header

Post by polyakova »

Dear everybody,
I have a quick question that has been on my mind for the past day. I wan to make my subsection not bold (just normal). How to do that. This is what I have so far:

Code: Select all

\documentclass[a4paper,12pt]{article}
\renewcommand{\thesection}{\arabic{section}.}
\renewcommand{\thesubsection}{\arabic{section}.\arabic{subsection}}
\begin{document}
\end{document}
THANKS!!!!

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

Stefan Kottwitz
Site Admin
Posts: 10335
Joined: Mon Mar 10, 2008 9:44 pm

subsection header

Post by Stefan Kottwitz »

You could use titlesec:

Code: Select all

\usepackage{titlesec}
\titleformat{\subsection}{\normalfont\large}{\thesubsection}{1em}{}
The package documentation would tell you more.

Stefan
LaTeX.org admin
Montag
Posts: 340
Joined: Wed Jul 15, 2009 9:25 am

subsection header

Post by Montag »

If you're using KOMA:

Code: Select all

\setkomafont{subscetion}{\mdfamily}
Or was it "\mdseries", I can't remember which one exactly, sorry.
OS: Win 7 64-bit LaTeX: MikTeX 2.9 64-bit Editor: TXC 1 RC1
User avatar
Stefan Kottwitz
Site Admin
Posts: 10335
Joined: Mon Mar 10, 2008 9:44 pm

subsection header

Post by Stefan Kottwitz »

It's \mdseries.

Or perhaps just

Code: Select all

\setkomafont{subsection}{\normalfont}
Stefan
LaTeX.org admin
Post Reply