Text FormattingThe subsection title and text in the same line?

Information and discussion about LaTeX's general text formatting features (e.g. bold, italic, enumerations, ...)
Post Reply
Kayah
Posts: 2
Joined: Sun Jan 19, 2014 12:50 am

The subsection title and text in the same line?

Post by Kayah »

Hi!
How can I do no newline between the title of the subsection and the rest of text?

I mean:

Not:
1.1. The subsection.
Text.....

but this:
1.1. The subsection. Text.....

I'd be grateful for your help!

Recommended reading 2024:

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

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

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

The subsection title and text in the same line?

Post by Stefan Kottwitz »

Hi Kayah,

it depends on the document class, since the class defines such commands. Which class do you use?

I would use the titlesec package for achieving that subsection heading layout, or KOMA-Script features if it's a KOMA class.

Stefan
LaTeX.org admin
Kayah
Posts: 2
Joined: Sun Jan 19, 2014 12:50 am

Re: The subsection title and text in the same line?

Post by Kayah »

That's right, sorry. :) I use a book class.

I did it! :) I used titlesec package. Thank's for your help.
Post Reply