[Tex/LaTex] Can we move the picture upwards

graphicspositioning

I want to add a picture a text and I have the following code:

\title{\foreignlanguage{english}{Ackermann's function}}

\date{ }

\begin{document}

\begin{frame}
  \titlepage
 \begin{figure}[h!]
 \central
\includegraphics[scale=0.35]{ackermann.jpg}
\end{figure}


 Name: ...

 Prof.: ...

 Subject: ... 

 University: ... 


\end{frame} 

Can we move the picture more upwards?

Is there such a command?

EDIT:

Does the command

\raisebox{4mm}[0pt][0pt]{ 
\parbox[t]{\textwidth}{\centering\includegraphics[scale=0.35]{ackermann.jpg}\par 
\foreignlanguage{english}{Wilhelm Ackermann,1896-1962}} 
} 

also work for the template "article" instead of the article "beamer" ??

When I write this command it only appears the following:

[scale=0.35]ackermann.jpg

Wilhelm Ackermann,1896-1962

but the picture doesn't appear.

I have written the following commands:

\documentclass{article}
\usepackage[utf8]{inputenc}
\usepackage[english,greek]{babel}
\usepackage{amsmath}
\usepackage{amsthm}
\newtheorem{mylemma}{Λήμμα}

\title{\foreignlanguage{english}{Ackermann's function}}
%\author{ }
\date{ } 

\begin{document}

\maketitle
\raisebox{4mm}[0pt][0pt]{
\parbox[t]{\textwidth}{\centering\includegraphics[scale=0.35]{ackermann.jpg}\par
\foreignlanguage{english}{Wilhelm Ackermann,1896-1962}}
}

Best Answer

You can use \raisebox

\documentclass{beamer}

\title{Ackermann's function}

\date{}

\begin{document}

\begin{frame}[t]
  \titlepage
 \raisebox{2mm}[0pt][0pt]{%
\makebox[\textwidth][c]{\includegraphics[scale=0.35]{example-image-a}}
}

%% \raisebox{distance}[height][depth]{text}


 Name: ...

 Prof.: ...

 Subject: ...

 University: ...


\end{frame}
\end{document}

enter image description here

Adjust 2mm as suitable.

Or you can also use \vspace{length}

\begin{frame}[t]
  \titlepage
 \vspace{-3cm}
 {\centering
 \includegraphics[scale=0.35]{example-image-a}\par
}


 Name: ...

 Prof.: ...

 Subject: ...

 University: ...


\end{frame}

To add a name, use a \parbox instead of \makebox like this:

\titlepage
 \raisebox{2mm}[0pt][0pt]{%
\parbox[t]{\textwidth}{\centering\includegraphics[scale=0.35]{example-image-a}\par
Some name}
}

or

\titlepage
 \vspace{-3cm}
 {\centering
 \includegraphics[scale=0.35]{example-image-a}\par Some name \par
}

Edit for the edited question

You are missing the \usepackage{graphicx}. The following works for me with miktex 2.9 updated 4 days ago.

\documentclass{article}
\usepackage{graphicx}
\usepackage[utf8]{inputenc}
\usepackage[english,greek]{babel}
\usepackage{amsmath}
\usepackage{amsthm}
\newtheorem{mylemma}{Λήμμα}

\title{\foreignlanguage{english}{Ackermann's function}}
%\author{ }
\date{ }

\begin{document}

\maketitle
\noindent
\raisebox{4mm}[0pt][0pt]{%
\parbox[t]{\textwidth}{\centering\includegraphics[scale=0.05]{example-image}\par
\foreignlanguage{english}{Wilhelm Ackermann,1896-1962}}
}
\end{document}

enter image description here