Eliminare numero pagina e frontespizio

  • Creatore
    Topic
  • #23888
    Up
    0
    Down
    ::


    Ciao ragazzi !
    forse quello che vi chiedo è banale ma…mi servirebbe eliminare il numero da una pagina. In particolare mi serve che non compaia nella pagine delle “parti” (parte I, parte II, etc)

    Ho provato con \nopagenumbers ..ma mi dice che non riconosce il comando.

    Poi ho un altro problemino..utilizzo il package front-th per il frontespizio,lo metto di seguito..qualcuno sa dirmi cosa devo modificare per avere il candidato e la matricola (sono le parti sporgenti del margine sinistro) 1 cm più accentrato ?..la tipa della copisteria mi ha detto che così non riesce a rilegarlo 🙄
    a questo punto..per simmetria magari ditemi anche cosa modificare per accentrare un pò anche il margine destro (i relatori)

    Grazie a tutti per l’attenzione !

    front-th.sty :

    `\ProvidesPackage{front-th}[2008/02/05 EG]

    \newif\iffront@write
    \DeclareOption{write}{\front@writetrue}
    \DeclareOption{nowrite}{\front@writefalse}
    \DeclareOption{signatures}{\let\front@signatures=T}
    \DeclareOption{noadvisor}{\let\front@noadvisor=T}
    %
    \DeclareOption{normal}{\def\front@thefont{\fontoptionnormal}}
    \DeclareOption{sans}{\def\front@thefont{\fontoptionsans}}
    %
    \newif\iffront@include
    \DeclareOption{onlyinclude}{\front@includetrue\ExecuteOptions{nowrite}}
    \DeclareOption*{\edef\front@grfdriver{\CurrentOption}}

    \ExecuteOptions{write,normal}
    \ProcessOptions\relax

    \RequirePackage{afterpage}
    \RequirePackage{graphicx}
    \RequirePackage[pscoord]{eso-pic}

    \iffront@include
    \newcommand{\includefront}[2][0]{%
    \titlepage\null
    \AddToShipoutPicture*{\includegraphics{#2}}%
    \afterpage{\thispagestyle{empty}}%
    \endtitlepage
    \ifx0#1\else
    \null\thispagestyle{empty}\newpage\addtocounter{page}{-#1}%
    \fi}
    \newenvironment{frontespizio}{%
    \PackageError{front-th}
    {Using the `frontespizio' environment along with
    the\MessageBreak `onlyinclude' option is not allowed}
    {You have called `front-th' with the `onlyinclude' option which
    disallows\MessageBreak the `frontespizio' environment, so
    be prepared for a long string of errors.\MessageBreak
    The best is to hit `x' now and correct your input.}%
    }{}
    \expandafter\endinput
    \else
    \RequirePackage{ifpdf}
    % \RequirePackage{xkeyval}
    \fi

    \iffront@write
    \newwrite\front@out
    \immediate\openout\front@out=\jobname-frn.tex
    \long\def\front@write#1{\immediate\write\front@out{\unexpanded{#1}}}
    \long\def\front@expwrite{\immediate\write\front@out}
    \else
    \long\def\front@write#1{}
    \let\front@expwrite\front@write
    \fi

    %%% initialize the new document
    \front@write{\documentclass[titlepage]{article}}
    \front@write{\usepackage[a4paper,%
    left=1cm,bottom=1.5cm,right=1cm,top=1cm]{geometry}}

    \ifdefined\front@grfdriver
    \def\front@temp driver=#1\@nil{\def\front@grfdriver{#1}}
    \expandafter\front@temp\front@grfdriver\@nil
    \front@expwrite{\string\usepackage[\front@grfdriver]{graphicx}}
    \fi

    \def\front@theoptions{nowrite}
    \ifdefined\front@signatures\g@addto@macro\front@theoptions{,signatures}\fi
    \ifdefined\front@noadvisor\g@addto@macro\front@theoptions{,noadvisor}\fi
    \front@expwrite{\string\usepackage[\front@theoptions]{front-th}}
    \front@write{\nofiles}

    \expandafter\front@write\expandafter{\front@thefont}

    \iffront@write
    \else
    \def\fontoptionnormal{\let\front@font\normalfont \let\front@scfont\scshape}
    \def\fontoptionsans{\let\front@font\sffamily \let\front@scfont\upshape}
    \def\front@push{}
    \def\front@thecandidate{Candidato}
    \def\front@thecandidates{Candidati}
    \def\front@theadvisor{Relatore}
    \def\front@theadvisors{Relatori}
    \def\front@thecoadvisor{Correlatore}
    \def\front@thecoadvisors{Correlatori}
    \def\front@punct{:}
    \fi

    %%% conditionals and registers
    %%%
    %% We need a macro to hide the conditionals, which we load and define
    %% only when making the front page; the \if conditional will always
    %% expand to nothing or be skipped altogether up to the matching \fi
    %% when writing the frn file; if expanded, however, it will put in the
    %% correct conditional when making the front page (the trick is due to
    %% S. von Bechtolsheim.

    \def\@front@#1{TT\fi\@nameuse{iffront@#1}}

    \iffront@write
    \else
    \newif\iffront@titoletto
    \newif\iffront@matr
    \newif\iffront@onecand
    \newif\iffront@morecand
    \newif\iffront@correl
    \newif\iffront@logo
    \newif\iffront@inst
    \newif\iffront@sottotit
    \newif\iffront@multiple
    \newif\iffront@division
    \newif\iffront@school
    \newif\iffront@foot
    \newtoks\front@candtoks
    \newcount\front@candcount
    \newtoks\front@reltoks
    \newcount\front@relcount
    \newtoks\front@correltoks
    \newcount\front@correlcount
    \fi

    %%% macros
    \iffront@write
    %% if we are writing the frn file, then we simply copy
    %% the command to it
    \newcommand{\Preambolo}[1]{\front@write{#1}}
    \newcommand{\Rientro}[1]{\front@write{\Rientro{#1}}}
    \newcommand{\Margini}[4]{\front@write{\Margini{#1}{#2}{#3}{#4}}}
    \newcommand{\Logo}[2][1.5cm]{\front@write{\Logo[#1]{#2}}}
    \newcommand{\Filigrana}[2][height=10cm]{\front@write{\Filigrana[#1]{#2}}}
    \newcommand{\Universita}[1]{\front@write{\Universita{#1}}}
    \newcommand{\Istituzione}[1]{\front@write{\Istituzione{#1}}}
    \newcommand{\Facolta}[1]{\front@write{\Facolta{#1}}}
    \newcommand{\Dipartimento}[1]{\front@write{\Dipartimento{#1}}}
    \newcommand{\Divisione}[1]{\front@write{\Divisione{#1}}}
    \newcommand{\Interfacolta}[1]{\front@write{\Interfacolta{#1}}}
    \newcommand{\Corso}[2][Laurea Magistrale]{\front@write{\Corso[#1]{#2}}}
    \newcommand{\Scuola}[1]{\front@write{\Scuola{#1}}}
    \newcommand{\Titolo}[1]{\front@write{\Titolo{#1}}}
    \newcommand{\Sottotitolo}[1]{\front@write{\Sottotitolo{#1}}}
    \newcommand{\Annoaccademico}[1]{\front@write{\Annoaccademico{#1}}}
    \newcommand{\Piede}[1]{\front@write{\Piede{#1}}}
    \newcommand{\Titoletto}[1]{\front@write{\Titoletto{#1}}}
    \newcommand{\Candidato}[2][]{%
    \def\next{#1}%
    \ifx\next\@empty
    \front@write{\Candidato{#2}}%
    \else
    \front@write{\Candidato[#1]{#2}}%
    \fi}
    \newcommand{\Matricola}[1]{\front@write{\Matricola{#1}}}
    \newcommand{\Relatore}[1]{\front@write{\Relatore{#1}}}
    \newcommand{\Correlatore}[1]{\front@write{\Correlatore{#1}}}
    \newcommand{\NCandidato}[1]{\front@write{\NCandidato{#1}}}
    \newcommand{\NCandidati}[1]{\front@write{\NCandidati{#1}}}
    \newcommand{\NRelatore}[2]{\front@write{\NRelatore{#1}{#2}}}
    \newcommand{\NCorrelatore}[2]{\front@write{\NCorrelatore{#1}{#2}}}
    \newcommand{\Punteggiatura}[1]{\front@write{\Punteggiatura{#1}}}
    %%% equivalent commands for backwards compatibility
    \let\IlCandidato\Candidato
    \let\Package\Preambolo
    \let\MoreMargin\Rientro
    \let\Margins\Margini
    %%%
    \else
    %% if we are typesetting the front page, then we give the commands
    %% their real meaning, i.e., we define macros which will be used in
    %% \preparefrontpage
    \newcommand{\Rientro}[1]{\def\front@push{\hspace{#1}}}
    \newcommand{\Margini}[4]{\geometry{left=#1,bottom=#2,right=#3,top=#4}}
    \newcommand{\Logo}[2][1.5cm]{\def\front@logo{#2}%
    \def\front@logosize{#1}\front@logotrue}

    % support for a centered logo in the background; using xkeyval
    \def\front@logobefore{1}\def\front@logoafter{1} % default values
    \define@key{filigrana}{height}[10cm]{\def\front@logoheight{#1}}
    \define@key{filigrana}{before}[1]{\def\front@logobefore{#1}}
    \define@key{filigrana}{after}[1]{\def\front@logoafter{#1}}
    \newcommand{\Filigrana}[2][height=10cm]{%
    \setkeys{filigrana}{#1}%
    \AddToShipoutPicture*{%
    \put(0,0){
    \parbox[\paperheight]{\paperwidth}{
    \vspace*{\stretch{\front@logobefore}}
    \centering
    \includegraphics[height=\front@logoheight]{#2}
    \vspace{\stretch{\front@logoafter}}
    }}}}

    \newcommand{\Universita}[1]{\def\front@univ{#1}}
    \newcommand{\Istituzione}[1]{\def\front@instit{#1}\front@insttrue}
    \newcommand{\Facolta}[1]{\def\front@facoldip{#1}%
    \def\front@thefacoldip{Facolt\`a}}
    \newcommand{\Dipartimento}[1]{\def\front@facoldip{#1}%
    \def\front@thefacoldip{Dipartimento}}
    \newcommand{\Interfacolta}[1]{\def\front@multiple{#1}\front@multipletrue}
    \newcommand{\Divisione}[1]{\def\front@division{#1}\front@divisiontrue}
    \newcommand{\Corso}[2][Laurea Magistrale]{%
    \def\front@cl{#1\unskip\space in #2}}
    \newcommand{\Scuola}[1]{\def\front@school{#1}\front@schooltrue}
    \newcommand{\Titolo}[1]{\def\front@title{#1}}
    \newcommand{\Sottotitolo}[1]{\def\front@subtitle{#1}\front@sottotittrue}
    \newcommand{\Annoaccademico}[1]{\def\front@anno{#1}}
    \newcommand{\Piede}[1]{\def\front@foot{#1}\front@foottrue}
    \newcommand{\Titoletto}[1]{\def\front@titoletto{#1}\front@titolettotrue}
    \newcommand{\Candidato}[2][]{\advance\front@candcount1
    \front@candtoks=\expandafter{\the\front@candtoks\front@docand{#1}{#2}}%
    \def\front@cand{#2}%
    \def\next{#1}%
    \ifx\next\@empty\else\def\front@matr{#1}\front@matrtrue\fi
    }
    \newcommand{\Matricola}[1]{\def\front@matr{#1}\front@matrtrue}
    \newcommand{\Relatore}[1]{\advance\front@relcount1
    \front@reltoks=\expandafter{\the\front@reltoks\\#1%
    \ifdefined\front@signatures\\[1cm]\fi}}
    \newcommand{\Correlatore}[1]{\front@correltrue\advance\front@correlcount1
    \front@correltoks=\expandafter{\the\front@correltoks\\#1}}
    \newcommand{\NCandidato}[1]{\def\front@thecandidate{#1}}
    \newcommand{\NCandidati}[1]{\def\front@thecandidates{#1}}
    \newcommand{\NRelatore}[2]{\def\front@theadvisor{#1}%
    \def\front@theadvisors{#2}}
    \newcommand{\NCorrelatore}[2]{\def\front@thecoadvisor{#1}%
    \def\front@thecoadvisors{#2}}
    \newcommand{\Punteggiatura}[1]{\def\front@punct{#1}}
    %%% equivalent commands for backwards compatibility
    \let\IlCandidato\Candidato
    \let\Package\Preambolo
    \let\MoreMargin\Rientro
    \let\Margins\Margini
    %%%

    %% The fonts
    \def\frontinstitutionfont{\fontsize{14}{17}\bfseries}
    \def\frontdivisionfont{\fontsize{12}{16}\selectfont}
    \def\frontpretitlefont{\fontsize{10}{12}\front@scfont}
    \def\fronttitlefont{\fontsize{17}{21}\bfseries}
    \def\frontsubtitlefont{\fontsize{12}{14}\selectfont}
    \def\frontnamesfont{\fontsize{12}{14}\bfseries}
    \def\frontsmallfont{\fontsize{9}{11}\selectfont}
    \def\frontfootfont{\fontsize{12}{14}\bfseries}
    \def\frontfixednamesfont{\normalfont\normalsize\front@font}

    %% a pseudo-parameter to separate candidates' names
    \def\frontcandidatesep{3ex}

    %% a pseudo-parameter to separate `Relatore' and `Correlatore' fields
    \def\frontrelcorrelsep{1ex}

    %% a pseudo-parameter to separate the logo from the University name
    \def\frontlogosep{6pt}

    %% a pseudo-parameter to adjust the “candidate-advisor” field in case there
    %% are many advisors and coadvisors and the “signature” option is in force
    \def\frontadjustforsignatures{0pt}

    %% the command to typeset more than one candidate
    \def\front@docand#1#2{%
    #2\\% the candidate's name
    \def\next{#1}%
    \unless\ifx\next\@empty
    \frontsmallfont Matricola #1\\[\frontcandidatesep]
    \fi}

    %% the typesetting
    \def\preparefrontpage{%
    \titlepage\front@font
    \centering
    \par
    %% 1st block: the institution's logo
    \if\@front@{logo}
    \includegraphics[height=\front@logosize]{\front@logo}\par
    \vspace{\frontlogosep}
    \fi
    \par
    %% 2nd block: the institution's name
    {\frontinstitutionfont
    \if\@front@{inst}
    \front@instit
    \else
    Universit\`a degli Studi di \front@univ
    \fi\par}
    \vspace{1.5ex}
    \hrule
    \vspace{1.5ex}
    %% 3rd block: the department's name; in Italy graduation theses are
    %% responsibility of Faculties, only Ph.D. theses are responsibility
    %% of Departments
    {\frontdivisionfont
    \if\@front@{multiple}
    \front@multiple
    \else
    \if\@front@{division}
    \MakeUppercase{\front@division}
    \else
    \MakeUppercase{\front@thefacoldip} DI \MakeUppercase{\front@facoldip}
    \fi
    \fi\\
    \if\@front@{school}
    \front@school
    \else
    Corso di \front@cl
    \fi
    \par}
    %% 4th block: the specification of the thesis' kind
    \if\@front@{titoletto}
    \vspace{2cm}
    {\frontpretitlefont\front@titoletto\par}
    \fi
    \vspace{\fill}
    %% 5th block: the thesis' title
    {\fronttitlefont\front@title\par}
    %% 6th block: the thesis' subtitle, if present
    \if\@front@{sottotit}
    \vspace{4ex}
    {\frontsubtitlefont\front@subtitle\par}
    \fi
    \vspace{\fill}
    %% 7th block: the candidate's name and the advisor's name
    %% A tabular* spanning all the text width has two columns; on the
    %% left we put the candidate's name, on the right the advisor's name
    %% (possibly more than one) and, if present, the coadvisor's name
    \vbox to .3\textheight{\parindent\z@
    \frontnamesfont
    \begin{tabular*}{\textwidth}{@{\front@push}l@{\extracolsep{\fill}}l@{\front@push}}
    \begin{tabular}[t]{@{}l@{}}
    \relax\ifcase\front@candcount
    \PackageWarningNoLine{front-th}{Missing candidate name}%
    \or
    \frontfixednamesfont\front@thecandidate\front@punct\\
    \front@cand
    \if\@front@{matr}
    \\[6pt]
    \frontsmallfont Matricola \front@matr
    \fi
    \else
    \frontfixednamesfont\front@thecandidates\front@punct\\
    \the\front@candtoks
    \fi
    \end{tabular}
    &
    \unless\ifdefined\front@noadvisor
    \begin{tabular}[t]{@{}l@{}}
    \relax
    \ifcase\front@relcount
    \PackageWarningNoLine{front-th}{Missing advisor name}%
    \or
    \frontfixednamesfont\front@theadvisor\front@punct
    \else
    \frontfixednamesfont\front@theadvisors\front@punct
    \fi
    \the\front@reltoks
    \if\@front@{correl}
    \\[\frontrelcorrelsep]
    \ifcase\front@correlcount\or
    \frontfixednamesfont\front@thecoadvisor\front@punct
    \else
    \frontfixednamesfont\front@thecoadvisors\front@punct
    \fi
    \the\front@correltoks
    \fi
    \end{tabular}
    \fi
    \end{tabular*}
    \par
    \vfill}
    \ifdefined\front@signatures\vskip\frontadjustforsignatures\fi
    % \vspace{\fill}
    \hrule
    \vspace{1.5ex}
    {\frontfootfont
    \if\@front@{foot}
    \front@foot
    \else
    Anno Accademico \front@anno
    \fi
    \par}
    \endtitlepage}
    %%% The following \fi closes the \iffront@write several lines ahead
    \fi

    % Define a command to hold the requested file name extension
    \ifpdf\def\front@ext{pdf}\else\def\front@ext{eps}\fi

    % If we use amsbook, then the titlepage environment doesn't generate
    % the verso page, while book does
    \@ifclassloaded{amsbook}
    {\def\front@cp{\null\thispagestyle{empty}\newpage\addtocounter{page}{-1}}}
    {\let\front@cp\relax}

    %%% The environment “frontespizio” goes in the main file and is
    %%% responsible for ending the writing of the frn file (in its
    %%% final part; in the initial part it typesets the front page by
    %%% including the pdf file if already typeset
    %%%
    %%% The front page commands must go before the end of this
    %%% environment; the best choice is, of course, to put them inside it
    %%%
    %%% Maybe a key-value syntax would be preferable.
    %%%
    % Now we define the environment; its purpose is to initialize the
    % mechanism and finalize it. The front page commands can actually go
    % anywhere between \usepackage{front-th} and \end{frontespizio}
    \def\frontespizio{%
    \titlepage\null
    \IfFileExists{\jobname-frn.\front@ext}
    {\AddToShipoutPicture*{\includegraphics{\jobname-frn}}}
    {\AtEndDocument{%
    \PackageWarningNoLine{front-th}
    {Remember to compile \jobname-frn with\MessageBreak
    \ifpdf
    pdflatex \jobname-frn%
    \else
    latex \jobname-frn\MessageBreak
    dvips -o \jobname-frn.eps \jobname-frn%
    \fi\MessageBreak
    and then rerun \ifpdf pdf\fi latex}}}
    \afterpage{\thispagestyle{empty}}%
    \endtitlepage
    \if@twoside\front@cp\fi}
    \def\endfrontespizio{%
    \front@write{\begin{document}}
    \front@write{\preparefrontpage}
    \front@write{\end{document}}
    \iffront@write\immediate\closeout\front@out\fi
    }

    \endinput
    `

Visualizzazione 9 filoni di risposte
  • Autore
    Risposte
    • #23889
      Up
      0
      Down
      ::

      Ciao ragazzi !
      forse quello che vi chiedo è banale ma…mi servirebbe eliminare il numero da una pagina. In particolare mi serve che non compaia nella pagine delle “parti” (parte I, parte II, etc)

      Ho provato con \nopagenumbers ..ma mi dice che non riconosce il comando.

      Poi ho un altro problemino..utilizzo il package front-th per il frontespizio,lo metto di seguito..qualcuno sa dirmi cosa devo modificare per avere il candidato e la matricola (sono le parti sporgenti del margine sinistro) 1 cm più accentrato ?..la tipa della copisteria mi ha detto che così non riesce a rilegarlo 🙄
      a questo punto..per simmetria magari ditemi anche cosa modificare per accentrare un pò anche il margine destro (i relatori)

      Per la prima domanda la risposta è: ridefinisci il comando \part
      `\makeatletter
      \renewcommand\part{%
      \if@openright
      \cleardoublepage
      \else
      \clearpage
      \fi
      \thispagestyle{empty}%
      \if@twocolumn
      \onecolumn
      \@tempswatrue
      \else
      \@tempswafalse
      \fi
      \null\vfil
      \secdef\@part\@spart}
      \makeatother`
      Per la seconda, dà il comando \Rientro{1cm} fra quelli per produrre il frontespizio. Ti segnalo che il pacchetto ha una nuova versione che si trova sia alla pagina http://profs.sci.univr.it/~gregorio/egtex.html sia su CTAN. Sostituendo \usepackage{front-th} con \usepackage{frontespizio} dopo averlo installato (o semplicemente copiato nella directory della tua tesi), non ci sono differenze nei comandi, eccetto che il numero di matricola va dato come argomento opzionale a \Candidato
      `\Candidato[AB111111]{Tizio Semproni}`
      Ciao
      Enrico

    • #23890
      Up
      0
      Down
      ::


      WOW…perfetto..funziona tutto, ora corro in copisteria ! 😉

      Grazie mille Enrico per la tempesitività e la chiarezza !!

      ciaooo

    • #23891
      Up
      0
      Down
      ::


      Ciao a tutti, ho anch’io un problema con l’eliminazione dei numeri di pagina: vorrei che le prime due pagine della mia tesi non fossero numerate. Ma non vorrei semplicemente che il numero non compaia visivamente, ma che queste non siano proprio indicizzate. Quindi, il numero “1” dovrebbe comparire sulla pagina che in realtà è la terza, e da qui far partire tutta la numrazione.

      Ho visto che c’è il comando \nopagenumers, ma miktex non lo riconosce. Ho visto che c’è anche il comando \pageno, ma non ho trovato un posto dove viene spiegato chiaramente come eusarlo…

    • #23892
      Up
      0
      Down
      ::

      Ciao a tutti, ho anch’io un problema con l’eliminazione dei numeri di pagina: vorrei che le prime due pagine della mia tesi non fossero numerate. Ma non vorrei semplicemente che il numero non compaia visivamente, ma che queste non siano proprio indicizzate. Quindi, il numero “1” dovrebbe comparire sulla pagina che in realtà è la terza, e da qui far partire tutta la numrazione.

      Ho visto che c’è il comando \nopagenumers, ma miktex non lo riconosce. Ho visto che c’è anche il comando \pageno, ma non ho trovato un posto dove viene spiegato chiaramente come eusarlo…

      Il comando \nopagenumbers non c’è, almeno in LaTeX.

      Perché non provare con un ovvio \pagenumbering{arabic} sulla pagina da cui vuoi cominciare la numerazione dando \thispagestyle{empty} su quelle che non vuoi numerare?

      Ciao
      Enrico

    • #23893
      Up
      0
      Down
      ::


      Funziona, ma solo in parte… la struttura che voglio dare è questa:

      pagina non numerata: \chapter*{ringraziamenti} … bla bla bla …
      pagina non numerata: pagina bianca (creata con \clearpage)
      pagina n°1: dedica
      eccetera.

      Il metodo che hai suggerito non funziona su \clearpage: il numero non viene visualizzato, ma la pagina è indicizzata come # 1, così capita che la pagina della dedica diventa la 2 e non la 1.

      Il problema nasce dal fatto che quando ho stampato la tesi non avevo i ringraziamenti, che ora ho, e questo mi sballa tutto…

    • #23894
      Up
      0
      Down
      ::

      Funziona, ma solo in parte… la struttura che voglio dare è questa:

      pagina non numerata: \chapter*{ringraziamenti} … bla bla bla …
      pagina non numerata: pagina bianca (creata con \clearpage)
      pagina n°1: dedica
      eccetera.

      Il metodo che hai suggerito non funziona su \clearpage: il numero non viene visualizzato, ma la pagina è indicizzata come # 1, così capita che la pagina della dedica diventa la 2 e non la 1.

      Il problema nasce dal fatto che quando ho stampato la tesi non avevo i ringraziamenti, che ora ho, e questo mi sballa tutto…

      Senza un esempio minimo non si può fare nulla. I ringraziamenti, d’altra parte, vanno sicuramente alla fine della tua tesi.

      Ciao
      Enrico

    • #23895
      Up
      0
      Down
      ::


      egreg9\n

      Senza un esempio minimo non si può fare nulla. I ringraziamenti, d’altra parte, vanno sicuramente alla fine della tua tesi.

      Ciao
      Enrico

      A quanto riportato nel manuale di Lapo e in alcuni modelli di tesi i ringraziamenti sono posti all’inizio. O sbaglio forse?

    • #23896
      Up
      0
      Down
      ::


      Ecco come ho strutturato il codice:

      `

      \begin{frontespizio}
      … bla bla bla …
      \end{frontespizio}

      \chapter*{Ringraziamenti}
      \thispagestyle{empty}

      Ringraziamenti vari

      \clearpage\thispagestyle{empty}

      \pagenumbering{arabic}
      \thispagestyle{empty}

      \hbox{}
      \newpage
      \null\vspace{\stretch{1}}
      \begin{flushright}
      \emph{…Dedica…}
      \end{flushright}
      \vspace{\stretch{2}}\null

      \tableofcontents

      \chapter*{Introduzione}`

      I ringraziamenti ho preferito metterli all’inizio sia perchè ho visto che le tesi prodotte nel mio laboratorio di solito li hanno all’inizio, sia perchè mi è stato consigliato da un prof.

      Comunque la tesi è già bella che stampata e consegnata, devo metterla a posto in modo da avere un pdf che rispecchi quello che c’è sulla carta… e da questo punto di vista i numeri di pagina sono importantissimi!

    • #23897
      Up
      0
      Down
      ::

      Ecco come ho strutturato il codice:

      `

      \begin{frontespizio}
      … bla bla bla …
      \end{frontespizio}

      \chapter*{Ringraziamenti}
      \thispagestyle{empty}

      Ringraziamenti vari

      \clearpage\thispagestyle{empty}

      \pagenumbering{arabic}
      \thispagestyle{empty}

      \hbox{}
      \newpage
      \null\vspace{\stretch{1}}
      \begin{flushright}
      \emph{…Dedica…}
      \end{flushright}
      \vspace{\stretch{2}}\null

      \tableofcontents

      \chapter*{Introduzione}`

      I ringraziamenti ho preferito metterli all’inizio sia perchè ho visto che le tesi prodotte nel mio laboratorio di solito li hanno all’inizio, sia perchè mi è stato consigliato da un prof.

      Comunque la tesi è già bella che stampata e consegnata, devo metterla a posto in modo da avere un pdf che rispecchi quello che c’è sulla carta… e da questo punto di vista i numeri di pagina sono importantissimi!

      Che classe hai usato? A parte che mi pare ovvio che la dedica non abbia il numero di pagina 1, visto quel comando \newpage che ci hai messo.

      Ciao
      Enrico

    • #23898
      Up
      0
      Down
      ::


      Ti ringrazio, mi hai dato l’input giusto… modificando la posizizione di \newpage ho capito come dovevo fare. Ecco come ho risolto il problema:

      `
      \chapter*{Ringraziamenti}
      \thispagestyle{empty}

      Ringraziamenti vari

      \newpage
      \thispagestyle{empty}
      \hbox{}

      \newpage
      \pagenumbering{arabic}
      \thispagestyle{empty}

      \hbox{}
      \null\vspace{\stretch{1}}
      \begin{flushright}
      \emph{Dedica}
      \end{flushright}
      \vspace{\stretch{2}}\null

      \newpage
      \thispagestyle{empty}
      \hbox{}

      \tableofcontents

      \chapter*{Introduzione}
      `

      La classe che uso, ovviamente, è la book.

      Grazie ancora!

Visualizzazione 9 filoni di risposte
  • Devi essere connesso per rispondere a questo topic.

Go to top