给目录一级标题加制导线,请问怎么调到图一的效果,以及制导线与标题底部对齐?
![](https://pics.latexstudio.net/data/images/202004/73ec22e5d6...
给目录一级标题加制导线,请问怎么调到图一的效果,以及制导线与标题底部对齐?
![](https://pics.latexstudio.net/data/images/202004/73ec22e5d603f3c.png)
![](https://pics.latexstudio.net/data/images/202004/68acc73f0d8d05b.png)
```tex
\documentclass{ctexart}
\usepackage[utf8]{inputenc}
\title{目录设置}
\author{linpions }
\date{April 2020}
\usepackage{titletoc}
\setcounter{tocdepth}{2} % 显示层级
\titlecontents{section}
{}%
{\contentslabel{1em}}%
{}%
{\titlerule*[0.7pc]{$\cdot$}\contentspage\hspace*{0cm}}%
\begin{document}
\maketitle
\tableofcontents
\section{目录设置}
\subsection{一级标题制导线}
\subsection{标题标号}
\section{制导线}
\subsection{与二级标题默认的一致}
\end{document}
```
作者追问:2020-04-08 11:33
回答: 2020-04-08 11:33
一周热门 更多>