I am trying to find how to have the picture on the left side of sheet and the code (from {algorithmic}) on the right sheet. Do you know anybody how to?

Thanks !
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis
Code: Select all
\begin{minipage}[]{0.5\textwidth}
\begin{flushleft}
\includegraphics[scale=0.6]{obr1.pdf}
\end{flushleft}
\end{minipage}%
%
\begin{minipage}[]{0.5\textwidth}
\begin{flushright}
\begin{algorithmic}
\STATE Zacatek
\STATE \ \ \ Prikaz1
\STATE \ \ \ Prikaz2
\STATE Konec
\end{algorithmic}
\end{flushright}
\end{minipage}
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis