Generalhorisontal line instead of dots in table of contents

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
vojtulin
Posts: 1
Joined: Wed Nov 19, 2014 1:34 pm

horisontal line instead of dots in table of contents

Post by vojtulin »

Hello,

I want to ask, how can I use horizontal line instead of dots in the table of contents. Now I use:

Code: Select all

\renewcommand{\cftdot}{\ensuremath{.}}
\renewcommand{\cftpartleader}{\cftdotfill{0.3}}
\renewcommand{\cftsecleader}{\cftdotfill{0.3}}
\renewcommand{\cftsubsecleader}{\cftdotfill{0.3}}
\renewcommand{\cftsubsubsecleader}{\cftdotfill{0.3}}
\renewcommand{\cftfigleader}{\cftdotfill{0.3}}
\renewcommand{\cfttableader}{\cftdotfill{0.3}}
what I need to change?

Thank you!

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

Johannes_B
Site Moderator
Posts: 4182
Joined: Thu Nov 01, 2012 4:08 pm

horisontal line instead of dots in table of contents

Post by Johannes_B »

Hi and welcome,

that depends on the class in use. Can you show us some code, best in form of a compilable minimal example?
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.
Post Reply