Code: Select all
\section{A Big Section}
However, now I want the ToC entry for this section to be starred, without affecting the section name itself (in the body of the book) or the running head in that section. So I do this:
Code: Select all
\section[A Big Section*]{A Big Section}
I hope I am missing something obvious where one make these three distinct: between, e.g., a long section name, a short section name, and the ToC section name.
For a little more specificity, here's a minimal working example showing my use of fancyhdr and titlesec. Closer, but not there yet...
Code: Select all
\documentclass[10pt,openright]{book}
%\usepackage[toctitles]{titlesec}
\usepackage{fancyhdr}
\pagestyle{fancy}
%\usepackage{calc}
%\fancyheadoffset[LE,RO]{\marginparsep+\marginparwidth}
\fancyheadoffset{0in}
\renewcommand{\chaptermark}[1]{\markboth{#1}{}}
\renewcommand{\sectionmark}[1]{\markright{\thesection\ #1}}
\fancyhf{}
\fancyhead[LE,RO]{\thepage}
%\newcommand{\helv}{%
%\fontfamily{phv}\fontseries{b}\fontsize{9}{11}\selectfont}
\fancyhead[LO]{\sf\rightmark}
\fancyhead[RE]{\sf\leftmark}
\fancypagestyle{plain}{%
\fancyhead{} % get rid of headers
\renewcommand{\headrulewidth}{0pt} % and the line
}
\begin{document}
\tableofcontents
\chapter{Something}
\section{Nothing to See}
blah
\newpage
blah blah
\newpage
\section[toc only]{section title}
blah
\newpage
blah blah
\newpage
\end{document}