# Informatika1-2012/Gyakorlat11

## Tartalomjegyzék

### Ismétlés, egy képlet

  $\displaystyle\lim_{n \rightarrow \infty} \left ( 1 + \frac{1}{n} \right ) ^ {n+1} = \mathrm{e}$

### Képek

\usepackage[centerlast]{subfigure}
\usepackage{wrapfig}
...
\begin{figure}[h]
\begin{center}
\includegraphics[width=10cm]{roc.png}
\end{center}
\caption{ROC curve}
\label{roc}
\end{figure}
• Subfigure enviroment:
\end{figure}
\begin{figure}[H]
\centering
\subfigure[Degree distribution of the downloaded network (here we used linear binning).]{
\includegraphics[width=7.5cm]{dist_deg.pdf}
\label{deg_dist_0}
}
\subfigure[Age distribution showing only available age values.]{
\includegraphics[width=7.5cm]{dist_age_2.pdf}
\label{age}
}
\caption{Degree and age distributions.}
\label{figd}
\end{figure}

### Táblázatok

\begin{center}
\begin{tabular}{ l | c || r }
\hline
1 & 2 & 3 \\ \hline
4 & 5 & 6 \\ \hline
7 & 8 & 9 \\
\hline
\end{tabular}
\end{center}

### Verbatim

\begin{verbatim}
def main():
userNumber=getNumber()
print "Ennel eggyel kisebbet mondtal: ", str(userNumber+1)

def getNumber():
num = input("Mondj egy szamot:")
return num
main()
\end{verbatim}

### Hivatkozások

• Hivatkozáslista:
\begin{thebibliography}
\bibitem {digg} Lerman, K., and Ghosh, R. Information contagion: an empirical study of the spread of news on Digg and Twitter social networks'' \textit{Proceedings ...} (2010).
\bibitem {leskovec} Leskovec, J., McGlohon, M., Faloutsos, C., Glance, N., and Hurst, M. Cascading behavior in large blog graphs.'' \textit{Proceedings of SIAM ...} (2007).
\end{thebibliography}
• Egy hivatkozás a szövegen belül:
\cite{digg}

vagy

\cite{digg,leskovec}

Szövegméretek:

</latex>