General ⇒ Table of Contents without dotted Lines and Page Numbers
Table of Contents without dotted Lines and Page Numbers
I need to create a list of contents without dotted lines and page numbers as follows:
Contents
1 Introduction to Statistical Inference
1.1 Some Examples
2 Point Estimation
2.1 Estimator
2.2 Estimate
2.3 Notation
2.4 Accuracy and Precision
3 Estimation: Intuitive Estimators
3.1 Estimation of Mean
3.2 Estimation of Variance
3.3 Estimation of Proportion
.....
........
Any help is greatly appreciated.
With best regards,
Sarath Banneheka
NEW: TikZ book now 40% off at Amazon.com for a short time.
And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p
Table of Contents without dotted Lines and Page Numbers
Code: Select all
\renewcommand*{\addcontentsline}[3]{\addtocontents{#1}{\protect\contentsline{#2}{#3}{}}}
I do not know how to remove the dotted line, but I do know how to adjust the spacing between them. So just make the spacing very large:
Code: Select all
\makeatletter
\renewcommand*{\@dotsep}{999}
\makeatother
Follow howtoTeX on twitter