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
Adjust
2mm
as suitable.Or you can also use
\vspace{length}
To add a name, use a
\parbox
instead of\makebox
like this:or
Edit for the edited question
You are missing the
\usepackage{graphicx}
. The following works for me with miktex 2.9 updated 4 days ago.