- Questo topic ha 17 risposte, 4 partecipanti ed è stato aggiornato l'ultima volta 15 anni, 2 mesi fa da .
-
Topic
-
Ciaoho qualche problema con l’impostazione delle testatine (uso classe report oneside) quello che ho bisogno è:
Numeri capitoli a dx
nomi sezioni a sxSembra facile ma non riesco ad ottenere le testatine scritte in: Sommario, Abstract, Indice, appendici e bibliografia. Mentre nei capitoli e nell’elenco delle figure si. Posto il codice:
`\addtolength{\voffset}{-1cm} %%tira su di 1 cm\usepackage[italian]{babel} %francais, polish, spanish, …
\usepackage[T1]{fontenc}
\usepackage{pslatex}
\usepackage{chngcntr}
\counterwithout{footnote}{chapter}
\usepackage[ansinew]{inputenc}
\usepackage{geometry}
\usepackage{booktabs}
\usepackage{lmodern} %Type1-font for non-english texts and characters
\usepackage{shapepar}
\usepackage{multirow}
\usepackage{tabularx}
\usepackage{listings} \lstset{breaklines=true}
\usepackage{microtype}
\usepackage{array}
\usepackage{color}
\usepackage{vmargin}
\usepackage{rotating}
\usepackage{colortbl}
\usepackage[table]{xcolor}
\usepackage{acronym}
\usepackage{comment}
\usepackage[utf8]{inputenc}
\usepackage{longtable}
\usepackage{subfigure}
\usepackage[tight,italian]{minitoc}
\usepackage[Rejne]{fncychap}
\usepackage{amsmath}
\usepackage{amsthm}
\usepackage{amsfonts}
\makeatother
\makeatletter
\newcommand\BackgroundPicture[2]{
\setlength{\unitlength}{1pt}
\put(0,\strip@pt\paperheight){
\parbox[t][\paperheight]{\paperwidth}{
\vfill
\centering\includegraphics[angle=#2]{#1}
\vfill
}
}
}
\makeatletter
\let\@orig@endthebibliography\endthebibliography
\renewcommand\endthebibliography{%
\xdef\@kept@last@number{\the\c@enumiv}%
\@orig@endthebibliography}
\newenvironment{thesitography}[1]
{\def\bibname{Siti consultati}% Classe book o report
\thebibliography{#1}%
\setcounter{enumiv}{\@kept@last@number}%
}
{\@orig@endthebibliography}
\makeatother
\usepackage[pdftex]{graphicx} %%For loading graphic files
\usepackage[bf, small]{caption}
\addto\captionsitalian{%
\renewcommand{\lstlistingname}{Codice}}\usepackage{fancyhdr} %%Fancy headings
\setpapersize{A4}
\setmarginsrb{35mm}{30mm}{23mm}{40mm}%
{0mm}{12mm}{0mm}{12mm}%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% DOCUMENT
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%\pagestyle{fancy}
\fancyhf{}
\fancyfoot{}
\renewcommand{\chaptermark}[1]{\markright{\chaptername\ #1}}
\fancyhead[LE,LO]{\slshape \rightmark}\begin{document}
Testo testo testo
\cleardoublepage
\pagenumbering{roman}
\thispagestyle{fancy}
\chapter*{Sommario}
\adjustmtc
\input{CAPITOLI/01-INTRODUZIONE_AI_METODI/sommario.tex}
\chapter*{Abstract}
\adjustmtctesto testo testo
\chapter*{Ringraziamenti}
testo testo testo
\adjustmtc
\dominitoc
\clearpage\tableofcontents %Table of contents
%% The List of Figures
\addcontentsline{toc}{chapter}{Lista delle Figure}
\listoffigures
%% The List of Tables
\adjustmtc
\addcontentsline{toc}{chapter}{Lista delle Tabelle}
\listoftables
\cleardoublepage %The first chapter should start on an odd page.
\adjustmtc
\pagenumbering{arabic}
\input{CAP1XXXXXXXXXXXXXXXXXXXXX.tex}
\input{CAP2XXXXXXXXXXXXXXXXXXXXX.tex}
\input{CAP3XXXXXXXXXXXXXXXXXXXXX.tex}
\input{CAP4XXXXXXXXXXXXXXXXXXXXX.tex}
\input{CAP5XXXXXXXXXXXXXXXXXXXXX.tex}\appendix
\section*{Acronimi}
\cleardoublepage
\addcontentsline{toc}{chapter}{\bibname}
\begin{thebibliography}{9}
bibliografia varia
\end{thebibliography}
\end{document}`Vi ringrazio per le risposte
- Devi essere connesso per rispondere a questo topic.