- Questo topic ha 3 risposte, 2 partecipanti ed è stato aggiornato l'ultima volta 15 anni fa da .
-
Topic
-
Ho un titolo di subsection piuttosto lungo e nel sommario non va a capo. Come posso fare?Inserisco il preambolo e parte del documento “incriminato”
\documentclass[10pt,a4paper,openany]{book}
\usepackage[utf8]{inputenc}
\usepackage[german,english,italian]{babel}
\usepackage{amsmath}
\usepackage{amsfonts}
\usepackage{amssymb}
\usepackage{amsthm}
\usepackage[hang,small,it]{caption}
\usepackage{hyperref}
\usepackage{pstricks,pstricks-add,pst-math,pst-xkey}
\usepackage{enumerate}
\usepackage{fancyhdr}
\usepackage{lastpage}
\usepackage{ifthen}
\usepackage{color}
\usepackage{verbatim}
\usepackage{graphics}
\usepackage{graphicx}
\usepackage{marvosym}
\usepackage{natbib}
\usepackage{booktabs}\setcounter{tocdepth}{2}
\definecolor{labelcolor}{RGB}{100,0,0}
\definecolor{Grigetto}{rgb}{0.85,0.85,0.85}
\definecolor{Grigiochiaro}{rgb}{0.95,0.95,0.95}
%box esercizi
\newlength{\wboxwidth}
\newlength{\wboxrule}
\newlength{\wboxsep}
\setlength{\wboxwidth}{0.85\textwidth}
\setlength{\wboxrule}{2pt}
\setlength{\wboxsep}{1em}
\newcommand{\wbordercolor}{Grigiochiaro}
\newcommand{\wbackgroundcolor}{Grigetto}
\newcommand{\ex}[1]
{ \setlength{\fboxrule}{\wboxrule}\setlength{\fboxsep}{\wboxsep}
\textit{\fcolorbox{\wbordercolor}{\wbackgroundcolor}
{\begin{minipage}{\wboxwidth}{#1}\end{minipage}}}}\theoremstyle{definition}
\newtheorem{definizione}{Definizione}
\newtheorem{assioma}{Assioma}
\newtheorem{prop}{Proprietà}
\newtheorem{esercizio}{Esercizio}
\newtheorem{prob}{Problema}
\newtheorem{corollario}{Corollario}
\theoremstyle{plain}
\newtheorem{teorema}{Teorema}
\newcommand{\arctg}{\mathop{\mathrm{arctg}}}
\newcommand{\tg}{\mathop{\mathrm{tg}}}
\newcommand{\nota}[1]{%
\marginpar[{\raggedleft\scriptsize\textit{#1}\\}]{%
{\raggedright\scriptsize\textit{#1}\\}}}\pagestyle{fancy}
\renewcommand{\chaptermark}[1]{\markboth{\chaptername\ \thechapter.\ #1}{}}\lhead{}
\chead{}
\rhead{\slshape \leftmark}
\lfoot{Appunti \dots quasi un libro}
\cfoot{}\renewcommand{\headrulewidth}{0.4pt}
\renewcommand{\footrulewidth}{0.4pt}
\fancypagestyle{plain}{%
\fancyhf{} % cancella tutti i campi di intestazione e piè di pagina
\fancyfoot[R]{\thepage} % tranne il centro
\renewcommand{\headrulewidth}{0pt}
\renewcommand{\footrulewidth}{0pt}}%inizio documento
\begin{document}
%—–\rfoot{\thepage\ di \pageref{indici}}
\frontmatter
\tableofcontents
\clearpage
\listoffigures
\clearpage
\label{indici}
%—–
\mainmatter
%—–
- Devi essere connesso per rispondere a questo topic.