Is there a way for getting automatically numbered sections that still don't go into the ToC without adding
*
and manually inserting numbers?Regards
*
and manually inserting numbers?NEW: TikZ book now 40% off at Amazon.com for a short time.
Yes, there is.AleCes wrote:[…] Is there a way for getting automatically numbered sections that still don't go into the ToC without adding*
and manually inserting numbers? […]
Code: Select all
\documentclass[a4paper, 12pt, oneside, openany]{book}
\usepackage{fontspec}
\defaultfontfeatures{Mapping=tex-text}
\setmainfont{FreeSerif}
\usepackage{polyglossia}
\setmainlanguage{english}
\usepackage{xunicode}
\usepackage{xltxtra}
And you got a general answer.AleCes wrote:[…] it's just a general question![…]
Code: Select all
\begin{document}
\chapter{}
\section{} %normal sections with automatic numeration that go into the TOC
\section{}
\chapter{}
\section*{2.1} % I want to avoid writing those pesky numbers
\section*{2.2} % without those sections going into the TOC
\end{document}
The manual is kind of cryptic to me. Could you please be of help to me?
Section 2.1 of the tocvsec2 manual describes the necessary command(s) and has a very simple example which you only need to adapt to your document. Just chooseAleCes wrote:The manual is kind of cryptic to me. […]
chapter
as level and put the command where needed. The application of the package couldn't be explained easier here.OK, thanks for your help, by cryptic I meant I couldn't get to locate the matter in the manual.localghost wrote:Section 2.1 of the tocvsec2 manual describes the necessary command(s) and has a very simple example which you only need to adapt to your document. Just chooseAleCes wrote:The manual is kind of cryptic to me. […]chapter
as level and put the command where needed. The application of the package couldn't be explained easier here.
Thorsten
NEW: TikZ book now 40% off at Amazon.com for a short time.