\newtheoremstyle{examplestyle}% name of the style to be used
{10mm}% measure of space to leave above the theorem. E.g.: 3pt
{10mm}% measure of space to leave below the theorem. E.g.: 3pt
{\slshape}% name of font to use in the body of the theorem
{6pt}% measure of space to indent
{\bfseries}% name of head font
{\newline}% punctuation between head and body
{10mm}% space after theorem head
{}% Manually specify head
\theoremstyle{examplestyle}
\newtheorem{example}{Esempio}
\begin{document}
.....
\begin{example}
\\
\begin{enumerate}
\item ipotesi da dimostrare: “non tutte le preposizione sono esatte”
\item opposto della tesi : “tutte le preposizioni sono esatte”
\item A è uguale a 1
\item B è uguale a 4
\item A = B
\item A non può essere uguale a B se vale 1 quindi la proposizione “tutte
le preposizioni sono esatte” è errata
\item l'ipotesi è esatta
\end{enumerate}
\end{example}
....
\end{document}
! LaTeX Error: There's no line here to end.
See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate help.
...
l.120 \begin
{enumerate}
i put '\\' because i wish that the body is below the head.
where do i wrong?!?
Prepare a minimal working example (MWE) with the package you are using to setup the theorem style. Some packages offer to have a line break when declaring the style in the preamble. Please get used to presenting a MWE for future requests. This can spare a lot of time.
\documentclass[11pt,a4paper,italian]{article}
\usepackage[T1]{fontenc}
\usepackage[latin1]{inputenc}
\usepackage{babel}
\usepackage{amsmath}
\usepackage{amsthm}
\parindent0em
\newtheoremstyle{examplestyle} % name of the style to be used
{10mm} % measure of space to leave above the theorem. E.g.: 3pt
{10mm} % measure of space to leave below the theorem. E.g.: 3pt
{\slshape} % name of font to use in the body of the theorem
{6pt} % measure of space to indent
{\bfseries} % name of head font
{\newline} % punctuation between head and body
{10mm} % space after theorem head
{} % Manually specify head
\theoremstyle{examplestyle}
\newtheorem{example}{Esempio}
\begin{document}
\begin{example}
~
\begin{enumerate}
\item foo
\item bar
\end{enumerate}
\end{example}
\end{document}