Re: Pagina dedicata al titolo

#49179
Up
0
Down
::

ciao a tutti,
sto scrivendo un testo in modalità book ma vorrei che il titolo apparisse sopra l’indice, non in una pagina a sè stante.
Non sto usando il comando \maketitle, ma l’ho composto come vi riporto qui sotto.
Pensavo che specificando nopagetitle l’indice sarebbe apparso subito dopo le prime righe, ma non so come fare.

`
\documentclass[11pt,a4paper,oneside,notitlepage]{book}

\usepackage[italian]{babel}
\usepackage[latin1]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{graphicx}
\usepackage{hyperref}
\usepackage{floatflt}
\usepackage{amsmath}
\usepackage{chappg}

\begin{document}

\pagenumbering{roman}

\begin{center}
\large{\bf – Riga titolo 1 -}\\
\vspace{5mm}
{\LARGE{\bf Riga titolo 2}}\\
\vspace{5mm}
{\LARGE{\bf Riga titolo 3}}\\
\vspace{5mm}
\large{\bf Riga titolo 4}\\
\end{center}
\vspace{15mm}

\tableofcontents

\newpage
\pagenumbering{arabic}
\chapter{Introduzione}

….
….
\end{document}`

L’indice è un capitolo. Puoi provare così:
`\begin{center}
\large\bfseries – Riga titolo 1 –

\vspace{5mm}

\LARGE Riga titolo 2

\vspace{5mm}

\LARGE Riga titolo 3

\vspace{5mm}

\large Riga titolo 4
\end{center}
\begingroup\let\chapter\section
\tableofcontents
\endgroup`
Sostituisci \pagenumbering{roman} con \frontmatter e \newpage\pagenumberin{arabic} con \mainmatter. Commetti anche l’errore di molti: \large e compagnia non sono comandi con un argomento, ma dichiarazioni.

Ciao
Enrico

Go to top