So legen Sie die Schriftgröße für Minitoc in LyX fest

So legen Sie die Schriftgröße für Minitoc in LyX fest

Hallo zusammen, ich schreibe mit dem Paket ein Buch in LyX minitoc. Wenn ich \documentclass [10pt]{book}Minitoc verwende, ist es auf eine Seite eingestellt, aber wenn ich 12ptMinitoc verwende, ist es auf 2 Seiten eingestellt.

Ich möchte 12 pt verwenden, aber die Größe von Minitoc so ändern, als wäre es 11 pt!

Latexcode:

%% LyX 2.0.7 created this file.  For more info, see http://www.lyx.org/.
%% Do not edit unless you really know what you are doing.
\RequirePackage{fix-cm}
\documentclass[10pt,oneside,italian]{book}
\usepackage[T1]{fontenc}
\usepackage[latin9]{inputenc}
\usepackage{listings}
\lstset{basicstyle={\ttfamily},
breaklines=true,
frame=TRBL,
frameround=ffff}
\usepackage{fancyhdr}
\pagestyle{fancy}
\setcounter{secnumdepth}{3}
\setcounter{tocdepth}{1}
\setlength{\parskip}{\smallskipamount}
\setlength{\parindent}{0pt}
\usepackage{float}
\usepackage{amsmath}
\usepackage{setspace}
\doublespacing

\makeatletter
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Textclass specific LaTeX commands.
\numberwithin{equation}{section}
\numberwithin{figure}{section}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% User specified LaTeX commands.
\usepackage{minitoc}
\renewcommand{\mtcfont }{\tiny}
\usepackage[Lenny]{fncychap}

\makeatother

\usepackage{babel}
\begin{document}
\dominitoc

\tableofcontents{}

\begin{singlespace}

\chapter{\noindent Cap1}
\end{singlespace}

\begin{singlespace}
\noindent \null 
\vfill
\begin{singlespace}
\minitoc
text text text text text text text text text text text text text text text text .
\end{singlespace}
\end{singlespace}


\section{Sec1}


\subsection{SubSec1}


\subsection{SubSec2}


\section{Sec2}


\subsection{SubSec1}


\subsection{SubSec2}


\section{Sec3}


\subsection{SubSec1}


\subsection{SubSec2}


\section{Sec4}


\subsection{SubSec1}


\section{Sec5}


\subsection{SubSec1}


\subsection{SubSec2}


\section{Sec6}


\subsection{SubSec1}


\subsection{SubSec2}


\section{Sec7}
\end{document}

bei 10p ist die Ausgabe: Inhaltsverzeichnis auf 1 Seite

bei 12p ist die Ausgabe: Inhaltsverzeichnis auf 2 Seiten

Antwort1

tightEine Alternative besteht darin , als Option zum Paket hinzuzufügen minitoc, d. h.

\usepackage[tight]{minitoc}

Dadurch wird der vertikale Abstand der Minitocs verringert, sodass sie auf eine Seite passen.

verwandte Informationen