GeneralHow can I show the current section's title?

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
Mgccl
Posts: 3
Joined: Tue Jun 17, 2008 7:27 pm

How can I show the current section's title?

Post by Mgccl »

I have found that

Code: Select all

\thesection
can show the number of the current section, but how can I get the title of the current section?

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: 10345
Joined: Mon Mar 10, 2008 9:44 pm

How can I show the current section's title?

Post by Stefan Kottwitz »

Hi Mgccl,

welcome to this board!

You can reference a section by its name with the nameref package or with titleref.

Stefan
LaTeX.org admin
Post Reply