如何减少“新列表”字符?

如何减少“新列表”字符?

如何减小“新列表”中的字体大小?为什么当我插入“\listofmaps”时它会显示为红色?

在此处输入图片描述

\documentclass[a4paper, 12pt, twoside ,titlepage]{article}

%%% packages
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage[italian]{babel} 

\usepackage{titlesec}
\usepackage{geometry}
\usepackage{fancyhdr}
\usepackage{amsmath}
\usepackage{bm}
\usepackage{graphicx}
\usepackage{textpos}
\usepackage{caption}
\usepackage{tabularray}
\usepackage[label=corner]{karnaugh-map}
\usepackage{ulem}
\usepackage{tikz}
\usepackage{tocloft}
\usepackage{hyperref}

%%% settings

%titlesec
\titlespacing*{\section}{0pt}{0pt}{20pt}

%geometry
\geometry{a4paper,top=3.5cm,bottom=3.5cm,left=2.4cm,right=2.4cm,heightrounded}

%fancyhdr
\fancyhf{}
\fancyfoot[C]{\thepage}
\fancyhead[LE,RO]{\slshape \rightmark}
\fancyhead[LO,RE]{\slshape \leftmark}
\pagestyle{fancy}
\renewcommand{\headrulewidth}{0.4pt}
\renewcommand{\footrulewidth}{0.8pt}
\renewcommand{\sectionmark}[1]{\markboth{\thesection\ \ #1}{}}

%caption
\captionsetup{skip=20pt,format=plain,position=bottom,font=small,labelformat=parens,labelfont=bf}

%ulem
\normalem

%hyperref
\hypersetup{hidelinks}

%%%newcommand
\renewcommand{\baselinestretch}{1.05}
\newcommand{\overbar}[1]{\overline{#1}}
\newcommand{\HRULE}[1]{\rule{\linewidth}{#1}}
\newcommand{\Bigskip}{\qquad}
\setlocalecaption{italian}{listtable}{Elenco di tabelle, mappe e circuiti}

\newcommand{\listfirst}{Elenco Mappe}
\newlistof{maps}{frs}{\listfirst}
\newcommand{\first}[1]{%
\refstepcounter{first}
\par\noindent\textbf{first \thefirst. #1}
\addcontentsline{frs}{first}
{\protect\numberline{\thesection.\thefirst}#1}\par}

\title{
\vspace{1.5cm}
\HRULE{0.5pt}\\ [0.4cm]
\textbf{\Huge\textsc{Progetto\\  Fondamenti di Informatica}} 
\HRULE{1.2pt}\\ [0.8cm]}
\author{\textbf{Nome:}  \\ \textbf{Cognome:}  \\ 
\textbf{Matricola:} } 
\date{\textbf{Anno Accademico:} }

\begin{document}
\setlength{\intextsep}{20pt plus 2pt minus 2pt}

\begin{figure} 
    \centering
    \includegraphics[width=6cm]{logo.png}
    \HRULE{0.5pt}\\ [0.2cm]
    \Large \texttt{Dipartimento di Ingegneria e Architettura} \\
    \Large\texttt{Ingegneria Eletronica - Informatica} 
\end{figure}

\maketitle 
\tableofcontents
\thispagestyle{empty}
\newpage

\listofmaps
\listoftables
\thispagestyle{empty}
\newpage
blablabla
\end{document}

相关内容