Risposte nei forum create
-
AutoreRisposte
-
::
Ambedue le soluzioni funzionano perfettamente.
Ho cercato di accogliere anche le osservazioni stilistiche.
Ma introducendo (dopo aver letto anche altre risposte riportate nel forum) le variazioni che riporto di seguito, la testatina dell’indice generale permane maiuscola. Dove sbaglio ?`\pagestyle{fancy}
\renewcommand{\sectionmark}[1]{}
\renewcommand{\chaptermark}[1]{\markboth{\chaptername\ \thechapter}{#1}}
\fancyhf{}
\fancyhead[LE,RO]{{\footnotesize\thepage}}
\fancyhead[CO]{\footnotesize\scshape{\nouppercase{\rightmark}}}
\fancyhead[CE]{\footnotesize\scshape{\nouppercase{\leftmark}}}
\renewcommand{\headrulewidth}{0.5pt}
\renewcommand{\footrulewidth}{0pt}
\addtolength{\headheight}{0.5pt}%
\fancypagestyle{plain}{%
\fancyhead{}%
\renewcommand{\headrulewidth}{0pt}
}`
::
Allego l’esempio richiesto`\documentclass[11pt,a4paper,titlepage,italian]{book}
\usepackage[ansinew]{inputenc}
\usepackage[T1]{fontenc}
\usepackage[italian]{babel}\usepackage{pxfonts}
\usepackage{index}\usepackage{array}
\usepackage{microtype}
\usepackage{booktabs}
\usepackage{afterpage}\usepackage{titletoc}
\usepackage{titlesec}
\usepackage[titles]{tocloft}
\usepackage[babel=once]{csquotes}
\usepackage[hang]{footmisc}
\usepackage{footnote}
\usepackage[perpage]{manyfoot}
\usepackage{fancyhdr}\usepackage[paperheight=23.8cm,paperwidth=15.5cm]{geometry}
\geometry{textheight=174mm,textwidth=115mm,headheight=14pt}\newcommand{\cambiaFont}[2]{{\fontencoding{T1}\fontfamily{#1}%
\selectfont#2}}\pagestyle{fancy}
\renewcommand{\sectionmark}[1]{}
\renewcommand{\chaptermark}[1]{\markboth{\chaptername\ \thechapter}{#1}}
\fancyhf{}
\fancyhead[LE,RO]{\thepage}
\fancyhead[CO]{\cambiaFont{pag}{\tiny\MakeUppercase\rightmark}}
\fancyhead[CE]{\cambiaFont{pag}{\tiny\MakeUppercase\leftmark}}
\renewcommand{\headrulewidth}{0.5pt}
\renewcommand{\footrulewidth}{0pt}
\addtolength{\headheight}{0.5pt}%
\fancypagestyle{plain}{%
\fancyhead{}%
\renewcommand{\headrulewidth}{0pt}
}\makesavenoteenv{tabular}
\renewcommand{\footnoterule}{}
\addtolength{\skip\footins}{5mm}\footnotemargin=1em
\renewcommand{\thepart}{\arabic{part}}
\renewcommand{\thechapter}{\Roman{chapter}}
\renewcommand{\thesection}{\arabic{section}}
\titleformat{\section}{\slshape}{\thesection.}{.5em}{}\titleformat{\chapter}[display]
{\filcenter}
{\normalfont\large
\textsc{\chaptertitlename~\thechapter}}
{24pt}
{\normalfont\Large\MakeUppercase}\titleformat{\part}[display]
{\filcenter}
{\normalfont\LARGE
\textsc{\partname~\thepart}}
{24pt}
{\normalfont\Large\MakeUppercase}\titlespacing*{\part}
{0pt}{15mm}{0pt}\renewcommand{\cftdot}{}
\renewcommand{\cfttoctitlefont}{\hfill\Large\scshape}
\renewcommand{\cftaftertoctitle}{\hfill}
\renewcommand{\cftloftitlefont}{\hfill\Large\scshape}
\renewcommand{\cftafterloftitle}{\hfill}
\renewcommand{\cftlottitlefont}{\hfill\Large\scshape}
\renewcommand{\cftafterlottitle}{\hfill}
\renewcommand{\cftpartfont}{\normalfont\bfseries}
\renewcommand{\cftchapfont}{\normalfont}
\renewcommand{\cftsecfont}{\slshape}
\renewcommand{\cftchapaftersnum}{.}
\renewcommand{\cftsecaftersnum}{.}
\cftsetindents{sec}{2.15em}{1.7em}
\AtBeginDocument{\addtolength{\cftchapnumwidth}{.8em}}
\AtBeginDocument{\addtolength{\cfttabnumwidth}{.7em}}
\renewcommand{\cftchappagefont}{\normalfont}
\renewcommand{\cftpartpagefont}{\normalfont}\frenchspacing
\begin{document}
\tableofcontents
%\addtocontents{toc}{\cftpagenumbersoff{chapter}}
\part{Parte prima}
\chapter{Capitolo uno}
\section{Sezione uno}
\section{Sezione due}
\section{Sezione tre}
\part{Parte seconda}
\chapter{Capitolo due}
\section{Sezione uno}
\section{Sezione due}
\section{Sezione tre}
\chapter{Capitolo tre}
\section{Sezione uno}
\section{Sezione due}
\section{Sezione tre}
\chapter{Capitolo quattro}
\section{Sezione uno}
\section{Sezione due}
\section{Sezione tre}
\part{Parte terza}
\chapter{Capitolo cinque}
\section{Sezione uno}
\section{Sezione due}
\section{Sezione tre}
\chapter{Capitolo sei}
\section{Sezione uno}
\section{Sezione due}
\section{Sezione tre}
\chapter{Capitolo sette}
\section{Sezione uno}
\section{Sezione due}
\section{Sezione tre}
\part{Appendici}
\appendix
\chapter{Appendice A}
\chapter{Appendice B}\end{document}%`
30 Ottobre 2009 alle 13:24 in risposta a: Biblatex: trattini brevi per intervalli pagina in bibliogr. #38555::Seguo da tempo come spettatore il forum dal quale ho tratto tante utili indicazioni.
Ho un problema con biblatex la cui soluzione può, forse, avere un interesse anche per altri.
Mi è stato chiesto, per uniformare un mio testo, che nell’indicazione degli intervalli di pagina in bibliografia venga usato il trattino breve (es. 55-95) e non quello medio.
Ho provato, con fatica e ricorrendo continuamente a vocabolari e traduttori (non conosco l’inglese), a consultare istruzioni e discussioni, ma non mi sembra che esista un comando specifico da reimpostare (\bibrangedash pare inefficace, così come ho fallito nei tentativi di ridefinire il campo «pages» con \DeclareFieldFormat{pages}).Il comando \bibrangedash è definito nel file di localizzazione, quindi occorre
`\DefineBibliographyExtras{italian}{%
\renewrobustcmd*{\bibrangedash}{\mbox{-}\nobreak}%
}`
Ciao
EnricoRingrazio per la celerità.
Ciao
Puskia
-
AutoreRisposte