- Questo topic ha 21 risposte, 4 partecipanti ed è stato aggiornato l'ultima volta 5 anni, 11 mesi fa da
Alessandro.
-
CreatoreTopic
-
30 Settembre 2020 alle 8:08 #118693::
Salve, vorrei sapere come poter eliminare una delle due voci “BIBLIOGRAFIA” poste ai lati della testatina come nel file in allegato “bibliografia.pdff”. Tra l’altro, quale delle due sarebbe meglio lasciare? Inoltre, l’indice appare a dx in maiuscolo (“indice.pdf”), mentre nella bibliografia ci sono due scritte in entrambi i lati in maiuscolo.
Attachments:
You must be logged in to view attached files. -
CreatoreTopic
-
AutoreRisposte
-
-
30 Settembre 2020 alle 8:15 #118694
-
30 Settembre 2020 alle 13:42 #118695
-
30 Settembre 2020 alle 13:42 #118696::
`\def\ifancy@mpty#1{\def\temp@a{#1}\ifx\temp@a\@empty}\def\fancy@gdef#1#2{\ifancy@mpty{#2}\gdef#1{\leavevmode}\else\gdef#1{#2\strut}\fi}
\def\fancy@ldef#1#2{\ifancy@mpty{#2}\def#1{\leavevmode}\else\def#1{#2\strut}\fi}\let\fancy@def\fancy@gdef
\def\@fancyerrmsg#1{%
\ifx\PackageError\undefined
\errmessage{#1}\else
\PackageError{Fancyhdr}{#1}{}\fi}
\def\@fancywarning#1{%
\ifx\PackageWarning\undefined
\errmessage{#1}\else
\PackageWarning{Fancyhdr}{#1}{}\fi}% Usage: \@forc \var{charstring}{command to be executed for each char}
% This is similar to LaTeX's \@tfor, but expands the charstring.\def\@forc#1#2#3{\expandafter\f@rc\expandafter#1\expandafter{#2}{#3}}
\def\f@rc#1#2#3{\def\temp@ty{#2}\ifx\@empty\temp@ty\else
\f@@rc#1#2\f@@rc{#3}\fi}
\def\f@@rc#1#2#3\f@@rc#4{\def#1{#2}#4\f@rc#1{#3}{#4}}% Usage: \f@nfor\name:=list\do{body}
% Like LaTeX's \@for but an empty list is treated as a list with an empty
% element\newcommand{\f@nfor}[3]{\edef\@fortmp{#2}%
\expandafter\@forloop#2,\@nil,\@nil\@@#1{#3}}% Usage: \def@ult \cs{defaults}{argument}
% sets \cs to the characters from defaults appearing in argument
% or defaults if it would be empty. All characters are lowercased.\newcommand\def@ult[3]{%
\edef\temp@a{\lowercase{\edef\noexpand\temp@a{#3}}}\temp@a
\def#1{}%
\@forc\tmpf@ra{#2}%
{\expandafter\if@in\tmpf@ra\temp@a{\edef#1{#1\tmpf@ra}}{}}%
\ifx\@empty#1\def#1{#2}\fi}
%
% \if@in
%
\newcommand{\if@in}[4]{%
\edef\temp@a{#2}\def\temp@b##1#1##2\temp@b{\def\temp@b{##1}}%
\expandafter\temp@b#2#1\temp@b\ifx\temp@a\temp@b #4\else #3\fi}\newcommand{\fancyhead}{\@ifnextchar[{\f@ncyhf h}{\f@ncyhf h[]}}
\newcommand{\fancyfoot}{\@ifnextchar[{\f@ncyhf f}{\f@ncyhf f[]}}
\newcommand{\fancyhf}{\@ifnextchar[{\f@ncyhf {}}{\f@ncyhf {}[]}}% The header and footer fields are stored in command sequences with
% names of the form: \f@ncywith for [eo], form [lcr]
% andfrom [hf]. \def\f@ncyhf#1[#2]#3{%
\def\temp@c{}%
\@forc\tmpf@ra{#2}%
{\expandafter\if@in\tmpf@ra{eolcrhf,EOLCRHF}%
{}{\edef\temp@c{\temp@c\tmpf@ra}}}%
\ifx\@empty\temp@c\else
\@fancyerrmsg{Illegal char `\temp@c' in fancyhdr argument:
[#2]}%
\fi
\f@nfor\temp@c{#2}%
{\def@ult\f@@@eo{eo}\temp@c
\if@twoside\else
\if\f@@@eo e\@fancywarning
{fancyhdr's E option without twoside option is useless}\fi\fi
\def@ult\f@@@lcr{lcr}\temp@c
\def@ult\f@@@hf{hf}{#1\temp@c}%
\@forc\f@@eo\f@@@eo
{\@forc\f@@lcr\f@@@lcr
{\@forc\f@@hf\f@@@hf
{\expandafter\fancy@def\csname
f@ncy\f@@eo\f@@lcr\f@@hf\endcsname
{#3}}}}}}% Fancyheadings version 1 commands. These are more or less deprecated,
% but they continue to work.\newcommand{\lhead}{\@ifnextchar[{\@xlhead}{\@ylhead}}
\def\@xlhead[#1]#2{\fancy@def\f@ncyelh{#1}\fancy@def\f@ncyolh{#2}}
\def\@ylhead#1{\fancy@def\f@ncyelh{#1}\fancy@def\f@ncyolh{#1}}\newcommand{\chead}{\@ifnextchar[{\@xchead}{\@ychead}}
\def\@xchead[#1]#2{\fancy@def\f@ncyech{#1}\fancy@def\f@ncyoch{#2}}
\def\@ychead#1{\fancy@def\f@ncyech{#1}\fancy@def\f@ncyoch{#1}}\newcommand{\rhead}{\@ifnextchar[{\@xrhead}{\@yrhead}}
\def\@xrhead[#1]#2{\fancy@def\f@ncyerh{#1}\fancy@def\f@ncyorh{#2}}
\def\@yrhead#1{\fancy@def\f@ncyerh{#1}\fancy@def\f@ncyorh{#1}}\newcommand{\lfoot}{\@ifnextchar[{\@xlfoot}{\@ylfoot}}
\def\@xlfoot[#1]#2{\fancy@def\f@ncyelf{#1}\fancy@def\f@ncyolf{#2}}
\def\@ylfoot#1{\fancy@def\f@ncyelf{#1}\fancy@def\f@ncyolf{#1}}\newcommand{\cfoot}{\@ifnextchar[{\@xcfoot}{\@ycfoot}}
\def\@xcfoot[#1]#2{\fancy@def\f@ncyecf{#1}\fancy@def\f@ncyocf{#2}}
\def\@ycfoot#1{\fancy@def\f@ncyecf{#1}\fancy@def\f@ncyocf{#1}}\newcommand{\rfoot}{\@ifnextchar[{\@xrfoot}{\@yrfoot}}
\def\@xrfoot[#1]#2{\fancy@def\f@ncyerf{#1}\fancy@def\f@ncyorf{#2}}
\def\@yrfoot#1{\fancy@def\f@ncyerf{#1}\fancy@def\f@ncyorf{#1}}\newdimen\headwidth
\newcommand{\headrulewidth}{0.4pt}
\newcommand{\footrulewidth}{\z@skip}
\newcommand{\footruleskip}{.3\normalbaselineskip}% Fancyplain stuff shouldn't be used anymore (rather
% \fancypagestyle{plain} should be used), but it must be present for
% compatibility reasons.\newcommand{\plainheadrulewidth}{\z@skip}
\newcommand{\plainfootrulewidth}{\z@skip}
\newif\if@fancyplain \@fancyplainfalse
\def\fancyplain#1#2{\if@fancyplain#1\else#2\fi}\headwidth=-123456789sp %magic constant
% Command to reset various things in the headers:
% a.o. single spacing (taken from setspace.sty)
% and the catcode of ^^M (so that epsf files in the header work if a
% verbatim crosses a page boundary)
% It also defines a \nouppercase command that disables \uppercase and
% \Makeuppercase. It can only be used in the headers and footers.
\def\fancy@reset{\restorecr
\def\baselinestretch{1}%
\def\nouppercase##1{{\let\uppercase\relax\let\MakeUppercase\relax
\expandafter\let\csname MakeUppercase \endcsname\relax##1}}%
\ifx\undefined\@newbaseline% NFSS not present; 2.09 or 2e
\ifx\@normalsize\undefined \normalsize % for ucthesis.cls
\else \@normalsize \fi
\else% NFSS (2.09) present
\@newbaseline%
\fi}% Initialization of the head and foot text.
% The default values still contain \fancyplain for compatibility.
\fancyhf{} % clear all
% lefthead empty on “plain'' pages, \rightmark on even, \leftmark on odd pages
% evenhead empty on “plain'' pages, \leftmark on even, \rightmark on odd pages
\if@twoside
\fancyhead[el,or]{\fancyplain{}{\sl\rightmark}}
\fancyhead[er,ol]{\fancyplain{}{\sl\leftmark}}
\else
\fancyhead[l]{\fancyplain{}{\sl\rightmark}}
\fancyhead[r]{\fancyplain{}{\sl\leftmark}}
\fi
\fancyfoot[c]{\rm\thepage} % page number% Use box 0 as a temp box and dimen 0 as temp dimen.
% This can be done, because this code will always
% be used inside another box, and therefore the changes are local.\def\@fancyvbox#1#2{\setbox0\vbox{#2}\ifdim\ht0>#1\@fancywarning
{\string#1 is too small (\the\headheight): ^^J Make it at least \the\ht0.^^J
We now make it that large for the rest of the document.^^J
This may cause the page layout to be inconsistent, however\@gobble}%
\dimen0=#1\global\setlength{#1}{\ht0}\ht0=\dimen0\fi
\box0}% Put together a header or footer given the left, center and
% right text, fillers at left and right and a rule.
% The \lap commands put the text into an hbox of zero size,
% so overlapping text does not generate an errormessage.
% These macros have 5 parameters:
% 1. \@lodd or \@rodd % This determines at which side the header will stick
% out.
% 2. \f@ncyolh, \f@ncyelh, \f@ncyolf or \f@ncyelf. This is the left component.
% 3. \f@ncyoch, \f@ncyech, \f@ncyocf or \f@ncyecf. This is the middle comp.
% 4. \f@ncyorh, \f@ncyerh, \f@ncyorf or \f@ncyerf. This is the right component.
% 5. \@lodd or \@rodd % This determines at which side the header will stick
% out. This is the reverse of parameter nr. 1. One of them is always
% \relax and the other one is \hss (after expansion).\def\@fancyhead#1#2#3#4#5{#1\hbox to\headwidth{\fancy@reset
\@fancyvbox\headheight{\hbox
{\rlap{\parbox{\headwidth}{\raggedright#2}}\hfill
\parbox{\headwidth}{\centering#3}\hfill
\llap{\parbox{\headwidth}{\raggedleft#4}}}\headrule}}#5}\def\@fancyfoot#1#2#3#4#5{#1\hbox to\headwidth{\fancy@reset
\@fancyvbox\footskip{\footrule
\hbox{\rlap{\parbox[t]{\headwidth}{\raggedright#2}}\hfill
\parbox[t]{\headwidth}{\centering#3}\hfill
\llap{\parbox[t]{\headwidth}{\raggedleft#4}}}}}#5}\def\headrule{{\if@fancyplain\let\headrulewidth\plainheadrulewidth\fi
\hrule\@height\headrulewidth\@width\headwidth \vskip-\headrulewidth}}\def\footrule{{\if@fancyplain\let\footrulewidth\plainfootrulewidth\fi
\vskip-\footruleskip\vskip-\footrulewidth
\hrule\@width\headwidth\@height\footrulewidth\vskip\footruleskip}}\def\ps@fancy{%
\@ifundefined{@chapapp}{\let\@chapapp\chaptername}{}%for amsbook
%
% Define \MakeUppercase for old LaTeXen.
% Note: we used \def rather than \let, so that \let\uppercase\relax (from
% the version 1 documentation) will still work.
%
\@ifundefined{MakeUppercase}{\def\MakeUppercase{\uppercase}}{}%
\@ifundefined{chapter}{\def\sectionmark##1{\markboth
{\MakeUppercase{\ifnum \c@secnumdepth>\z@
\thesection\hskip 1em\relax \fi ##1}}{}}%
\def\subsectionmark##1{\markright {\ifnum \c@secnumdepth >\@ne
\thesubsection\hskip 1em\relax \fi ##1}}}%
{\def\chaptermark##1{\markboth {\MakeUppercase{\ifnum \c@secnumdepth>\m@ne
\@chapapp\ \thechapter. \ \fi ##1}}{}}%
\def\sectionmark##1{\markright{\MakeUppercase{\ifnum \c@secnumdepth >\z@
\thesection. \ \fi ##1}}}}%
%\csname ps@headings\endcsname % use \ps@headings defaults if they exist
\ps@@fancy
\gdef\ps@fancy{\@fancyplainfalse\ps@@fancy}%
% Initialize \headwidth if the user didn't
%
\ifdim\headwidth<0sp
%
% This catches the case that \headwidth hasn't been initialized and the
% case that the user added something to \headwidth in the expectation that
% it was initialized to \textwidth. We compensate this now. This loses if
% the user intended to multiply it by a factor. But that case is more
% likely done by saying something like \headwidth=1.2\textwidth.
% The doc says you have to change \headwidth after the first call to
% \pagestyle{fancy}. This code is just to catch the most common cases were
% that requirement is violated.
%
\global\advance\headwidth123456789sp\global\advance\headwidth\textwidth
\fi}
\def\ps@fancyplain{\ps@fancy \let\ps@plain\ps@plain@fancy}
\def\ps@plain@fancy{\@fancyplaintrue\ps@@fancy}
\let\ps@@empty\ps@empty
\def\ps@@fancy{%
\ps@@empty % This is for amsbook/amsart, which do strange things with \topskip
\def\@mkboth{\protect\markboth}%
\def\@oddhead{\@fancyhead\@lodd\f@ncyolh\f@ncyoch\f@ncyorh\@rodd}%
\def\@oddfoot{\@fancyfoot\@lodd\f@ncyolf\f@ncyocf\f@ncyorf\@rodd}%
\def\@evenhead{\@fancyhead\@rodd\f@ncyelh\f@ncyech\f@ncyerh\@lodd}%
\def\@evenfoot{\@fancyfoot\@rodd\f@ncyelf\f@ncyecf\f@ncyerf\@lodd}%
}
\def\@lodd{\if@reversemargin\hss\else\relax\fi}
\def\@rodd{\if@reversemargin\relax\else\hss\fi}\newif\iffootnote
\let\latex@makecol\@makecol
\def\@makecol{\ifvoid\footins\footnotetrue\else\footnotefalse\fi
\let\topfloat\@toplist\let\botfloat\@botlist\latex@makecol}
\def\iftopfloat#1#2{\ifx\topfloat\empty #2\else #1\fi}
\def\ifbotfloat#1#2{\ifx\botfloat\empty #2\else #1\fi}
\def\iffloatpage#1#2{\if@fcolmade #1\else #2\fi}\newcommand{\fancypagestyle}[2]{%
\@namedef{ps@#1}{\let\fancy@def\fancy@ldef#2\relax\ps@fancy}}`
-
30 Settembre 2020 alle 13:44 #118697
-
30 Settembre 2020 alle 13:46 #118698::
Mentre questa è una parte di codice del file tesisty.sty:
`\newenvironment{dedication}{\Large\em\null\vskip1in}%
{\vfill}\renewcommand{\chaptermark}[1]{\markboth{\small CAP. \thechapter \textit{ #1}} {} }
\renewcommand{\sectionmark}[1]{\markright{\small \thesection \textit{ #1}} {} }
\renewcommand{\headrulewidth}{0.3pt} % spessore della linea dell'intestazione\renewcommand{\footrulewidth}{0.3pt} % spessore della linea del pi�di pagina
\def\impaginazione{
\fancypagestyle{plain}{
\fancyhead{}\renewcommand{\headrulewidth}{0pt} } \pagestyle{fancy}
\voffset=-20pt % distanza tra il limite superiore del foglio e l'intestazione
\headsep=40pt % distanza l'intestazione ed il testo del corpo
\hoffset=0pt % misura equivalente al margine sinistro
\textheight=620pt % altezza del corpo del testo
\textwidth=435pt % larghezza del corpo del testo
\footskip=40pt % distanza tra il testo del corpo ed il pie' di pagina\fancyhead{} % cancella qualsiasi impostazione per l'intestazione
\fancyfoot{} % cancella qualsiasi impostazione per il pie' di pagina
\headwidth=435pt % larghezza del'intestazione e del pie' di pagina
\fancyhead[R]{\rightmark} \fancyfoot[L]{\leftmark}
\fancyfoot[R]{\thepage}
}`
-
30 Settembre 2020 alle 13:47 #118699
-
30 Settembre 2020 alle 13:56 #118700::
Devi fornire un esempio minimo compilabile. Qualcosa del tipo:
`\documentclass{book}\begin{document}
Ciao mondo!
\end{document}`
Se nel tuo codice usi pacchetti e/o classi non standard devi fornire anche l’indirizzo web dove poterli recuperare.L’esempio deve essere minimo compilabile (al netto di pacchetti/classi non standard)!
Ciao
Ivan
-
30 Settembre 2020 alle 14:13 #118701::
`\documentclass[a4paper, 12pt]{report}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage[italian]{babel}
\usepackage{graphicx}
\usepackage{tikz}
\usepackage{float}
\usepackage[centertags]{amsmath}
\usepackage{amsfonts}
\usepackage{amssymb}
\usepackage{amsmath}
\usepackage{amsthm}
\usepackage{newlfont}
\usepackage{fancyhdr}
\usepackage{tesisty}
\usepackage{breqn}
\usepackage{caption}
\usepackage{booktabs}
\usepackage{quoting}
\usepackage{tabularx}
\usepackage{array}%——————————-
% DEFINIZIONE DEGLI ENVIRONMENT
%——————————-\newtheorem{obs}{Osservazione}[section]
\newenvironment{oss}
{\begin{obs}\begin{normalfont}}
{\hfill $\square \!\!\!\!\checkmark$ \end{normalfont}\end{obs}}\newtheorem{pro}{Problema}[chapter]
\newenvironment{prob}
{\begin{pro}\begin{normalfont}}
{\hfill $\spadesuit$ \end{normalfont}\end{pro}}\newtheorem{teor}{Teorema}[section]
\newenvironment{teorema}
{\begin{teor}\textit }
{\hfill \end{teor}}\newtheorem{defn}{Definizione}[section]
\newenvironment{de}
{\begin{defn}\begin{normalfont}}
{\hfill $\clubsuit$ \end{normalfont}\end{defn}}%—————————–
% CONFIGURAZIONE DELLA PAGINA
%—————————–\hfuzz2pt % Don't bother to report over-full boxes if over-edge is < 2pt \fancypagestyle{plain}{ \fancyhead{}\renewcommand{\headrulewidth}{0pt} } \pagestyle{fancy} \renewcommand{\chaptermark}[1]{\markboth{\small CAP. \thechapter \textit{ #1}} {} } \renewcommand{\sectionmark}[1]{\markright{\small \thesection \textit{ #1}} {} } \renewcommand\captionfont{\footnotesize} \voffset=-20pt % distanza tra il limite superiore del foglio e l'intestazione \headsep=40pt % distanza l'intestazione ed il testo del corpo \hoffset=0 pt % misura equivalente al margine sinistro \textheight=620pt % altezza del corpo del testo \textwidth=435pt % larghezza del corpo del testo \footskip=40pt % distanza tra il testo del corpo ed il pie' di pagina \fancyhead{} % cancella qualsiasi impostazione per l'intestazione \fancyfoot{} % cancella qualsiasi impostazione per il pie' di pagina \headwidth=435pt % larghezza del'intestazione e del pie' di pagina \fancyhead[R]{\rightmark} \fancyfoot[L]{\leftmark} \fancyfoot[R]{\thepage} \renewcommand{\headrulewidth}{0.3pt} % spessore della linea dell'intestazione \renewcommand{\footrulewidth}{0.3pt} % spessore della linea del pi�di pagina \numberwithin{equation}{section} \renewcommand{\theequation}{\thesection.\arabic{equation}} %-------------------------- % MODIFICARE DA QUI IN POI %-------------------------- \begin{document} \dedicate{} \corso{} \titoloTesi{} \anno{} \relatore{} \autore{} \baselineskip=25pt \intestazione %------------------------------------------------ % INTRODUZIONE E RINGRAZIAMENTI (NON MODIFICARE) %------------------------------------------------ \fancypagestyle{plain}{ \fancyhead{}\renewcommand{\headrulewidth}{0pt} } \pagestyle{fancy} \renewcommand{\chaptermark}[1]{\markboth{\small Cap. \thechapter \textit{ #1}} {} } \renewcommand{\sectionmark}[1]{\markright{\small \S \thesection \textit{ #1}} {} } \voffset=-20pt % distanza tra il limite superiore del foglio e l'intestazione \headsep=40pt % distanza l'intestazione ed il testo del corpo \hoffset=0pt % misura equivalente al margine sinistro \textheight=620pt % altezza del corpo del testo \textwidth=435pt % larghezza del corpo del testo \footskip=40pt % distanza tra il testo del corpo ed il pie' di pagina \fancyhead{} % cancella qualsiasi impostazione per l'intestazione \fancyfoot{} % cancella qualsiasi impostazione per il pie' di pagina \headwidth=435pt % larghezza del'intestazione e del pie' di pagina \fancyhead[R]{\rightmark} \fancyfoot[L]{\leftmark} \fancyfoot[R]{\thepage} \renewcommand{\headrulewidth}{0.3pt} % spessore della linea dell'intestazione \renewcommand{\footrulewidth}{0.3pt} % spessore della linea del pi�di pagina \pagenumbering{Roman} \tableofcontents \newpage \pagenumbering{arabic} \fancyhead[R]{Introduzione} \fancyfoot[L]{Introduzione} \fancyfoot[R]{\thepage} \include{Introduzione} \fancyhf{} %elimina header/footer vecchi \fancyhead[R]{\rightmark} \fancyhead[L]{\leftmark} \fancyfoot[R]{\thepage} %--------------------- % INCLUSIONE CAPITOLI %--------------------- \include{capitolo1_magistrale} \include{capitolo2_magistrale} \include{capitolo3_magistrale} \include{conclusioni_magistrale} % ELENCO DELLE FIGURE (OPZIONALE) %\addcontentsline{toc}{chapter}{Elenco delle figure} % \listoffigures % BIBLIOGRAFIA \addcontentsline{toc}{chapter}{Riferimenti bibliografici} \begin{thebibliography}{99} ... \end{thebibliography} \end{document}`
-
30 Settembre 2020 alle 14:16 #118702::
Tra l’altro con questo codice non riesco a modificare il titolo “Bibliografia” in “Riferimenti bibliografici” con il comando \addcontentsline{toc}{chapter}{Riferimenti bibliografici}, ovvero la scritta “Riferimenti bibliografici” appare soltanto nell’indice! Sicuramente mi sfugge più di una cosa..
-
30 Settembre 2020 alle 14:19 #118703
-
30 Settembre 2020 alle 15:28 #118704::
@Hammer, è chiaro che non vuoi leggere la documentazione, in particolare la documentazione di fancyhdr, la guida tematica sugli esempi minimi compilabili, e commetti il solito errore di prendere ad occhi chiusi pacchetti e preamboli scritti da altri a cui dovresti rivolgerti per le necessarie spiegazioni o i necessari aiuti. E se non sai chi abbia predisposto quei pezzi di codice, non usare quei pezzi di codice; fa sicuramente meglio, ovviamente studiandoti prima la documentazione necessaria, sapresti esattamente che cosa hai fatto.
prendo un esempio a caso; scrivi che non riesci a cambiare il nome bibliografia con la locuzione Riferimenti bibliografici. e sui il codice`\addcontentsline{toc}{chapter}{Riferimenti bibliografici}`Bene, tradotto in italiano che cosa vuol dire quel codice? Vuol dire questo: aggiungi una riga ai contenuti (del file con estensione) toc (usando lo stile per comporre il titolo di) \chapter (e scrivendoci) Riferimenti bibliografici Ma tu non vuoi scrivere la cosa nell’indice generale (il file toc — Table Of Contents), bensì vuoi intitolare la bibliografia con un titolo diverso da bibliografia. Allora chi è che scrive il titolo generico dei vari oggetti usando la lingua corrente? Evidentemente il modulo di babel per l’italiano; lo si legge con texdoc babel-italian e li si scopre che i nomi della bibliografia (report e book) si chiama \bibname o \refname (article); quindi quello che bisogna fare è di ridefinire \bibname con la stringa Riferimenti bibliografici.
Quello che ti ho detto è tutto logico, non bisogna arrampicarsi sui vetri per capire come funziona il meccanismo.
Capisco che se hi fretta di terminare, non hai tempo per documentarti, o meglio, credi di non avare tempo per farlo. Ma i pochi minuti che consumi per documentarti, ti risparmiano ore, per non dire giorni, di attesa ad attendere una risposta del forum.
-
30 Settembre 2020 alle 16:35 #118705::
Certo, mi rendo conto che non ho avuto modo di leggere attentamente la relativa documentazione. In ogni caso, per quanto riguarda la bibliografia, vorrei sostituire il termine “Bibliografia” con l’espressione “Riferimenti bibliografici”, che ritengo essere più corretta, sia nell’indice sia come titolo al posto di quello che attualmente è chiamato “Bibliografia”.
-
30 Settembre 2020 alle 16:47 #118706::
Comunque leggendo la documentazione del pacchetto babel noto che:\def\refname{Riferimenti bibliografici}%
\def\abstractname{Sommario}%
\def\bibname{Bibliografia}%Tuttavia, se inserisco il comando:
\addcontentsline{toc}{chapter}{\refname}
appare “Riferimenti bibliografici” nell’indice e “Bibliografia” come titolo dei riferimenti bibliografici.
-
30 Settembre 2020 alle 16:53 #118707::
Inoltre, nel file “Scrivere la tesi di laurea in LATEX, di Agostino De Marco, spiega come scrivere una tesi di laurea o di dottorato.” leggo che l’elenco delle tabelle e delle figure andrebbe inserito subito dopo l’indice, mentre in molti documenti ho notato che tabelle e figure vengono riepilogate prima della bibliografia. Secondo voi quale delle due opzioni è tipograficamente migliore? Grazie.
-
30 Settembre 2020 alle 18:26 #118708::
[Aggiornamento]Ho studiato a fondo il pacchetto fancyhdr e ho un dubbio. Nello specifico, ho inserito il seguente codice all’interno del documento:
\begin{document}
…
…
…\pagenumbering{Roman} \tableofcontents
\newpage\pagenumbering{arabic}
\fancyhead[R]{Elenco delle tabelle} \fancyfoot[L]{Elenco delle tabelle}
\fancyfoot[R]{\thepage}\addcontentsline{toc}{chapter}{Elenco delle tabelle}
\listoftables\fancyhead[R]{Elenco delle figure} \fancyfoot[L]{Elenco delle figure}
\fancyfoot[R]{\thepage}\addcontentsline{toc}{chapter}{Elenco delle figure}
\listoffigures\fancyhead[R]{Introduzione} \fancyfoot[L]{Introduzione}
\fancyfoot[R]{\thepage}\include{Introduzione}
\fancyhf{} %elimina header/footer vecchi
\fancyhead[R]{\rightmark} \fancyhead[L]{\leftmark}
\fancyfoot[R]{\thepage}%———————
% INCLUSIONE CAPITOLI
%———————\include{capitolo1_magistrale}
\include{capitolo2_magistrale}
\include{capitolo3_magistrale}\fancyhf{}
\fancyhead[R]{Conclusioni} \fancyfoot[L]{Conclusioni}
\fancyfoot[R]{\thepage}\include{conclusioni_magistrale}
\fancyhf{} %elimina header/footer vecchi
\fancyhead[R]{Bibliografia} \fancyfoot[L]{Bibliografia}
\fancyfoot[R]{\thepage}% BIBLIOGRAFIA
\addcontentsline{toc}{chapter}{\bibname}
\begin{thebibliography}{99}
…
\end{thebibliography}
\end{document}Tuttavia, ho un problema nell’elenco delle tabelle e nelle figure. Entrambe le sezioni sono lunghe 3 pagine. Mentre nelle prime 2 è correttamente riportato “Elenco delle tabelle tabelle/figure” in alto a dx e in basso a sx, nell’ultima pagina dell’”Elenco delle tabelle” appare “Elenco delle figure”, mentre nell’ultima pagine dell’”Elenco delle figure” appare “ELENCO DELLE FIGURE” in alto a sx e in alto a dx, come nel resto del documento in cui il capitolo viene scritto in alto a sx e il paragrafo in alto a dx. Come posso risolvere il problema? Grazie.
-
1 Ottobre 2020 alle 9:11 #118709
-
1 Ottobre 2020 alle 14:38 #118710::
Hammer” post=119178Comunque leggendo la documentazione del pacchetto babel noto che:
\def\refname{Riferimenti bibliografici}%
\def\abstractname{Sommario}%
\def\bibname{Bibliografia}%Tuttavia, se inserisco il comando:
\addcontentsline{toc}{chapter}{\refname}
appare “Riferimenti bibliografici” nell’indice e “Bibliografia” come titolo dei riferimenti bibliografici.
Infatti ti ho detto solo di ridefinire \bibname:`\renewcommand\bibname{Rifrimenti bibliografici}`e cossipondentemente quando usi l’ambiente thebibliography, basta che tu vi aggiunga `\addcontentsline{toc}{chapter}{\bibname}`Per un documento scritto in italiano questa è la via più semplice; per un documento con una bibliografiai n italiano e una in inglese, per esempio, quello che ti ho suggerito non funziona correttamente.
-
1 Ottobre 2020 alle 15:42 #118711
-
1 Ottobre 2020 alle 18:36 #118712
-
1 Ottobre 2020 alle 18:36 #118713
-
1 Ottobre 2020 alle 18:36 #118714::
OldClaudio” post=119189
Comunque leggendo la documentazione del pacchetto babel noto che:
\def\refname{Riferimenti bibliografici}%
\def\abstractname{Sommario}%
\def\bibname{Bibliografia}%Tuttavia, se inserisco il comando:
\addcontentsline{toc}{chapter}{\refname}
appare “Riferimenti bibliografici” nell’indice e “Bibliografia” come titolo dei riferimenti bibliografici.
Infatti ti ho detto solo di ridefinire \bibname:`\renewcommand\bibname{Rifrimenti bibliografici}`e cossipondentemente quando usi l’ambiente thebibliography, basta che tu vi aggiunga `\addcontentsline{toc}{chapter}{\bibname}`Per un documento scritto in italiano questa è la via più semplice; per un documento con una bibliografiai n italiano e una in inglese, per esempio, quello che ti ho suggerito non funziona correttamente.
Perfetto, ti ringrazio
-
-
AutoreRisposte
- Devi essere connesso per rispondere a questo topic.