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
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis
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