Text FormattingsubsubTitle format

Information and discussion about LaTeX's general text formatting features (e.g. bold, italic, enumerations, ...)
Post Reply
rajini
Posts: 64
Joined: Mon Mar 22, 2010 2:27 pm

subsubTitle format

Post by rajini »

Hello everyone,

In my thesis i make a title (not numbered) like this:

Code: Select all

\subsubsection{Comparison of n=2 and 3}
I get everything fine. But for some reason i want to use 'n' as in math mode so i did like this:

Code: Select all

\subsubsection{Comparison of $n=2$ and 3}
.
But in the 2nd code 'n=2' appears as in normal body text and not bold as the word 'Comparison'.
I use Komascript..everything are default, i.e. title will be san serif and body text in computer modern.
is there any other way to tackle this problem.
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: 10330
Joined: Mon Mar 10, 2008 9:44 pm

Re: subsubTitle format

Post by Stefan Kottwitz »

It seems that the font you're using doesn't provide a sans-serif+italic+bold version. If you really want to get such a combination you might have to change the font.

Stefan
LaTeX.org admin
User avatar
Juanjo
Posts: 657
Joined: Sat Jan 27, 2007 12:46 am

subsubTitle format

Post by Juanjo »

Try

Code: Select all

\subsubsection{Comparison of \boldmath $n=2$ and 3}
The CTAN lion is an artwork by Duane Bibby. Courtesy of www.ctan.org.
Post Reply