Of course! Creating an unnumbered section with a short title in LaTeX requires a couple of steps, because the standard commands handle these features separately.
Here's a breakdown of the methods, from the simplest case to the most complete solution.
1. The Basic Unnumbered Section
If you only want an unnumbered section and don't need it in the Table of Contents or page headers, you simply use the "starred" version of the \section command:
\section*{This is my unnumbered section}
This is quick and easy, but it won't appear in the Table of Contents (ToC) and won't update the page header.
2. Unnumbered Section with a ToC Entry (The "Short Title" Part)
This is the most common request. You want the section to be unnumbered in the document body but still appear in the Table of Contents, possibly with a shorter title.
To do this, you combine the starred \section* command with \addcontentsline.
\section*{...} creates the unnumbered title in the text.
\addcontentsline{toc}{section}{...} manually adds an entry to the Table of Contents.
% In your document body
\section*{This is the Very Long and Descriptive Section Title}
\addcontentsline{toc}{section}{Short Title for ToC}
Some text for this section...
Explanation of \addcontentsline:
{toc}: The file to add the line to (the Table of Contents).
{section}: The level of the entry. This makes LaTeX format it just like a regular section in the ToC.
{Short Title for ToC}: The text that will actually appear in the ToC.
Complete Example
\documentclass{article}
\usepackage{hyperref} % Good practice for clickable links in ToC
\begin{document}
\tableofcontents
\newpage
\section{A Regular Numbered Section}
This section is numbered and appears in the ToC automatically.
\section*{An Unnumbered Section with a ToC Entry}
\addcontentsline{toc}{section}{Unnumbered Section in ToC}
This is the text of our special section. Notice it has no number,
but if you check the Table of Contents, it's listed there.
\section{Another Regular Section}
Just for comparison.
\end{document}
3. Unnumbered Section with a Short Title for Page Headers
Sometimes, "short title" refers to the text that appears in the header of the page (e.g., with the fancyhdr package). The \section* command does not update these headers. You need to do it manually using \markright (for article/report classes) or \markboth (for the book class).
This example uses the popular fancyhdr package to show the effect.
\documentclass{article}
\usepackage{fancyhdr}
\usepackage{lipsum} % For dummy text to create multiple pages
% Setup the page headers
\pagestyle{fancy}
\fancyhf{} % Clear all header and footer fields
\fancyhead[R]{\thepage}
\fancyhead[L]{\nouppercase{\rightmark}} % Show the section title in the left header
\begin{document}
\section{First Section}
\lipsum[1-3] % Some dummy text
% Here is our unnumbered section
\section*{My Very Long and Elaborate Unnumbered Title}
\markright{Short Header Title} % This sets the header!
\lipsum[4-8] % More text to spill onto the next page
\end{document}
In the PDF generated by this code, the pages for the unnumbered section will have "Short Header Title" in the top-left corner instead of the long title.
4. The All-in-One Solution (ToC and Header)
If you need the section to be unnumbered, have a short title in the ToC, and a short title in the page header, you just combine the techniques.
Complete Example (All-in-One)
\documentclass{article}
\usepackage{hyperref}
\usepackage{fancyhdr}
\usepackage{lipsum}
% Setup the page headers
\pagestyle{fancy}
\fancyhf{}
\fancyhead[R]{\thepage}
\fancyhead[L]{\nouppercase{\rightmark}}
\begin{document}
\tableofcontents
\newpage
\section{A Regular Section}
\lipsum[1]
% --- The unnumbered section with all features ---
\section*{My Very Long, Detailed, and Unnumbered Section Title}
\addcontentsline{toc}{section}{Short ToC Title} % Add short title to Table of Contents
\markright{Short Header Title} % Set the short title for the page header
\lipsum[2-7] % Add text to see the header on multiple pages
\section{Another Regular Section}
\lipsum[8]
\end{document}
Summary
| Your Goal | Command(s) to Use |
|---|
| Unnumbered section, no ToC entry. | \section*{Title} |
| Unnumbered section, with a short title in the Table of Contents. | \section*{Long Title}\addcontentsline{toc}{section}{Short Title} |
| Unnumbered section, with a short title in the page header. | \section*{Long Title}\markright{Short Title} (or \markboth) |
| Unnumbered section, with short titles for both ToC and header. | \section*{Long Title}\addcontentsline{toc}{section}{ToC Title}\markright{Header Title} |