- Questo topic ha 20 risposte, 5 partecipanti ed è stato aggiornato l'ultima volta 15 anni, 2 mesi fa da .
-
Topic
-
Ciao a tutti,ho bisogno del vostro aiuto.
Questo è il mio script:
`\documentclass [12pt,a4paper,twoside,openright]{book}
%———————-Definition of usefull packages
\usepackage[italian,english]{babel}
\usepackage[utf8]{inputenc}
\usepackage{graphicx}
\usepackage{caption}
\usepackage{amsfonts}
\usepackage{fancyhdr}
\usepackage{color}
\usepackage{lastpage}
\usepackage{longtable}
\usepackage{amsmath}
\usepackage{texdraw}
\usepackage{makeidx}
\usepackage{epigraph}
\usepackage{natbib}
\usepackage{verbatim}
\usepackage{multicol}
\usepackage{float}
\usepackage{listings}
\usepackage{textcomp}
\usepackage{alltt}
\usepackage{ifpdf}
\usepackage{subfig}
\usepackage{geometry}
\usepackage{emptypage}
\renewcommand\lfoot[2][]{}
\renewcommand\cfoot[2][]{}
\renewcommand\rfoot[2][]{}
\renewcommand\lhead[2][]{}
\renewcommand\chead[2][]{}
\renewcommand\rhead[2][]{}
\usepackage{doxygen}
%\usepackage{amssymb}
%\usepackage[dvips]{graphicx}
%\usepackage{psfrag}
%\usepackage{minitoc}
%\usepackage{amsmath}
%\usepackage{hyperref}%———————-Impostazione dimensioni
% parte di geometry
\geometry{top=43mm,bottom=44mm,heightrounded,
inner=41mm,outer=32mm,
marginparwidth=0pt,marginparsep=0pt,
headsep=\dimexpr43mm-12mm-14.5pt\relax,
footskip=\dimexpr44mm-12mm+10pt\relax,
headheight=14.5pt}
%\geometry{textwidth=13.7cm,textheight=21cm,heightrounded,
% headheight=15pt,headsep=70pt,footskip=90pt,
%marginparsep=0cm,marginparwidth=0cm}%———————-Magia
\providecommand{\csletcs}[2]{%
\expandafter\let\csname#1\expandafter\endcsname\csname#2\endcsname}
\newcommand{\equivUC}[3][\def]{%
\expandafter#1\csname#2\expandafter\endcsname\expandafter{%
\csname#3\endcsname}}
\newcommand{\UPCASElang}[1]{
\uppercase{\def\temp{#1}}
\csletcs{l@\temp}{l@#1}
\equivUC{date\temp}{date#1}
\equivUC{captions\temp}{captions#1}
\equivUC{extras\temp}{extras#1}
\equivUC{noextras\temp}{noextras#1}
\equivUC[\edef]{\temp hyphenmins}{#1hyphenmins}
}
\UPCASElang{english}
\UPCASElang{italian}\ifpdf
\usepackage[pdftex,
pagebackref=true,
colorlinks=true,
citecolor=blue,
linkcolor=black,
unicode
]{hyperref}
\else
\usepackage[ps2pdf,
pagebackref=true,
colorlinks=true,
citecolor=blue,
linkcolor=black,
unicode
]{hyperref}
\usepackage{pspicture}
\fi%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%SONO QUELLI CHE HO AGGIUNTO “A NASO”..
\lstset{language=C++,inputencoding=utf8,basicstyle=\footnotesize,breaklines=true,breakatwhitespace=true,tabsize=8,numbers=left }
%\makeindex
%\setcounter{tocdepth}{3}
\renewcommand{\footrulewidth}{0.4pt}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%———————-Set Toc Counter
\setcounter{secnumdepth}{4}
\setcounter{tocdepth}{4}%———————-Do Index
%\makeindex%———————-New environments
%\newenvironment{abstract}
%{\cleardoublepage\fncyblank\null \vfill\begin{center}
%\bfseries \abstractname \end{center}}
% {\vfill\null}\newenvironment{abstract}
{\cleardoublepage\thispagestyle{empty}\vspace*{\fill}
\begin{center}\bfseries\abstractname\end{center}}
{\par\vfill}%———————-Page Style Setting
%\fancypagestyle{fncymain}{
% \fancyhead[RO]{\footnotesize\MakeUppercase{\rightmark}}
% \fancyfoot[RO]{\thepage}
% \fancyhead[LE]{\footnotesize\MakeUppercase{\leftmark}}
% \fancyfoot[LE]{\thepage}
% \fancyfoot[C]{}
% \renewcommand{\headrulewidth}{0.3pt}}
%\fancypagestyle{fncyfront}{
% \fancyhead[RO]{\footnotesize{\rightmark}}
% \fancyfoot[RO]{\thepage}
% \fancyhead[LE]{\footnotesize{\leftmark}}
% \fancyfoot[LE]{\thepage}
% \fancyhead[RE,LO]{}
% \fancyfoot[C]{}
% \renewcommand{\headrulewidth}{0.3pt}}% parte di fancyhdr
\pagestyle{fancy}
\fancyhf{}
\renewcommand{\chaptermark}[1]{\markboth{#1}{#1}}
\fancypagestyle{fncymain}{%
\renewcommand{\headrulewidth}{0.4pt}%
\fancyhf{}%
\fancyhead[LE]{\bfseries\chaptername\ \thechapter}%
\fancyhead[RO]{\bfseries\nouppercase{\leftmark}}%
\fancyfoot[LE,RO]{\thepage}}
\fancypagestyle{fncyfront}{%
\renewcommand{\headrulewidth}{0.4pt}%
\fancyhf{}%
\fancyhead[LE]{\bfseries\nouppercase{\leftmark}}%
\fancyhead[RO]{\bfseries\nouppercase{\leftmark}}%
\fancyfoot[LE,RO]{\thepage}}%———————-Commands to avoid head/footnote at the end of each chapter
\makeatletter
\def\cleardoublepage{\clearpage\if@twoside
\ifodd\c@page
\else\hbox{}\thispagestyle{empty}\newpage
\if@twocolumn\hbox{}\newpage\fi\fi\fi}
\makeatother%———————-Definition of new commands
\newcommand{\fncyblank}{\fancyhf{}}\newcommand{\vtk}{\textit{VTK}}
\newcommand{\vmtk}{\textit{VMTK}}
\newcommand{\vmtkgui}{\textit{VMTKGui}}
\newcommand{\virtualvalvestent}{\textit{VirtualValveStent}}
\newcommand{\ct}{\textit{CT}}
%\newcommand{\ctscan}{\textit{CT-scan}}
\newcommand{\dicom}{\textit{DICOM}}
\newcommand{\mr}{\textit{MR}}
\newcommand{\cfd}{\textit{CFD}}
\newcommand{\gui}{\textit{GUI}}
\newcommand{\lss}{\textit{LSS}}
\newcommand{\fe}{\textit{FE}}
\newcommand{\python}{\textit{Python}}%———————-Beginning Document
\begin{document}%———————-frontmatter
\pagestyle{fncyfront}
\frontmatter
\thispagestyle{empty}
\begin{titlepage}\begin{center}
\large {Università\\
Facoltà \\
Corso di laurea\\}
\vspace {0.8cm}
\includegraphics[width=0.30\textwidth]{img/logo_poli.eps}
\vspace {0.8cm}
\textbf{\huge \textit{{Titolo tesi}}}
\end{center}
\vspace {1.2cm}
\begin{flushleft}
\large {Relatore: {}\dotfill
\\Correlatore: \dotfill}
\vspace {1.8cm}
\end{flushleft}\begin{flushright}
\large {Tesi di laurea di:\\
Samuele Zampini}
\end{flushright}
\vspace{1cm}
\begin{center}
\large {Anno accademico 2010/2011}
\end{center}\end{titlepage}
\cleardoublepage
\selectlanguage{italian}
\pagenumbering{roman}
\newpage
\thispagestyle{empty}
\begin{flushright}
\null\vspace{\stretch{1}}
\textit{…}
\vspace{\stretch{3}}\null
\end{flushright}
\newpage
\tableofcontents
\listoffigures%———————-Mainmatter
\pagestyle{fncymain}
\mainmatter
\selectlanguage{english}\chapter{Introduction}\label{chap:intro}
\epigraph{If you can't solve a problem, then there is an easier problem you can solve: find it.}{George Polya}\vspace*{3cm}
Intro
\section{Sec1}
..
\subsection{Subsec1}
blablabla\subsection{Subsec2}
blablabla\section{Sec2}
…\appendix
\chapter{App1}
blabla\section{Sec1}
blabla\section{Sec2}
blabla\printindex\clearpage
\end{document}`
Vorrei eliminare la scritta in alto a destra nell’indice, nell’elenco figure e nella prima pagina di ogni capitolo. Come posso fare?
Vorrei però che mi resti nelle altre pagine del capitolo. Come posso fare?
Praticamente, nella mia tesi vorrei:
a. Prima pagina del capitolo senza scritta
b. pagine “a sinsitra” con la Scritta Chapter 1
c. pagine “a destra” con la scritta “titolo del capitolo”Mi sapete aiutare?
Grazie.
Samuele
- Devi essere connesso per rispondere a questo topic.