目录有问题。章节与部分看起来不同

目录有问题。章节与部分看起来不同

我有以下代码。我的问题是目录显示的章节页码没有\hfill,位于标题旁边,而章节标题则以点填充空格(数字和标题之间)并与其他章节的页码对齐。

编辑:这是我运行的完整代码。

\documentclass[oneside,a4paper,leqno]{book}

\usepackage[greek]{babel}
\usepackage[iso-8859-7]{inputenc}

\usepackage{tocloft}
\usepackage[dotinlabels]{titletoc}
\renewcommand\cftchapaftersnum{.}% adds dot after chapter title in ToC
\renewcommand\cftchapdotsep{\cftdotsep}
%\usepackage{hyperref}
%\renewcommand{\cftchapleader}{\cftdotfill{\hfill}} % for chapters
%\renewcommand{\cftsecleader}{\cftdotfill{\cftdotsep}}

\usepackage{pgfplots}
\usepgfplotslibrary{polar}
\pgfplotsset{compat=newest}
\usepackage{amscd}
\usepackage{tikz}
\usepackage{tikz-cd}
\usetikzlibrary{cd}

\usepackage{amsmath}


\usepackage[toc,page]{appendix}

\usepackage[usenames,dvipsnames]{pstricks}
 \usepackage{epsfig}
 \usepackage{pst-grad} % For gradients
 \usepackage{pst-plot} % For axes
 \usepackage[space]{grffile} % For spaces in paths
 \usepackage{etoolbox} % For spaces in paths
 \makeatletter % For spaces in paths


 \patchcmd\Gread@eps{\@inputcheck#1 }{\@inputcheck"#1"\relax}{}{}
 \makeatother
\def\quotient#1#2{
    \raise0.5ex\hbox{$#1$}\small/\lower1ex\hbox{$#2$}}





%%%%%%%%%%%%%%%% Use custom style %%%%%%%%%%%%%%%%%%%%%%%%%%%
\usepackage{ptixiaki}
\author{Author Name}
\title{Title of thesis}
\subtitle{\textlatin{}}
\projectlevel{Thesis}
\date{4 january 2016}
\advisor{Advisor Name}
\committeememberone{Prof. 1}
\committeemembertwo{Prof. 2}
%% leave empty if less than 3: \committeemembertwo{}
\committeememberthree{Prof 3}
\dedication{dedication}
\university{University}
\department{department}
\separator{,\ }
%% another separator
%% \separator{\ $|$\ }
%% yet another one
%% \separator{\ \ding{'107}\ }
%% a simpler separator 
%% \separator{\ $\cdot$\ }
\city{Name of City}


%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

%%%%%%%%%%%% New theorems %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\newtheorem{theorem}{Θεώρημα}[section]         
\newtheorem{lemma}[theorem]{Λήμμα}
\newtheorem{proposition}[theorem]{Πρόταση}
\newtheorem{corollary}[theorem]{Πόρισμα}
\newtheorem{definition}[theorem]{Ορισμός}
\newtheorem{remark}[theorem]{Παρατήρηση}
\newtheorem{example}{Παράδειγμα}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%


%%%%%%%%%%%%%%%%%%%%% Document starts %%%%%%%%%%%%%%%%%%%%%%
\begin{document}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

%%%%%%%%%%%%%%%%%%%%%%% Start Roman numbering %%%%%%%%%%%%%%
\pagenumbering{roman}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\makecover

%%%%%%%%%%%%%%%%%%% Table of contents %%%%%%%%%%%%%%%%%%%%%%

\tableofcontents

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\chapter*{Introduction}
\addcontentsline{toc}{chapter}{Introduction}

Text.

\cleardoublepage


%%%%%%%%%%% Return to normal numbering %%%%%%%%%%%%%%%%%%%%%
\pagenumbering{arabic}
%\addtocontents{toc}{~\hfill\textbf{Σελίδα}\par}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\chapter{Chapter Title} 

\end{document}

...还有一张图片

相关内容