Informatika1-2013/Gyakorlat12
A MathWikiből
(Változatok közti eltérés)
(Új oldal, tartalma: „A szokásos google doc [https://docs.google.com/document/d/1sn7MQl8hyO0ixGrzFWusmmqFbv1x_rwyDEP2PFUHpXA/edit codes in the clouds] ===Ismétlés, egy képlet=== <latex> …”) |
|||
1. sor: | 1. sor: | ||
A szokásos google doc [https://docs.google.com/document/d/1sn7MQl8hyO0ixGrzFWusmmqFbv1x_rwyDEP2PFUHpXA/edit codes in the clouds] | A szokásos google doc [https://docs.google.com/document/d/1sn7MQl8hyO0ixGrzFWusmmqFbv1x_rwyDEP2PFUHpXA/edit codes in the clouds] | ||
− | ===Ismétlés | + | ===Ismétlés=== |
+ | Egy képlet: | ||
<latex> | <latex> | ||
$\displaystyle\lim_{n \rightarrow \infty} \left ( 1 + \frac{1}{n} \right ) ^ {n+1} = \mathrm{e}$ | $\displaystyle\lim_{n \rightarrow \infty} \left ( 1 + \frac{1}{n} \right ) ^ {n+1} = \mathrm{e}$ | ||
+ | </latex> | ||
+ | Címoldal: | ||
+ | <latex> | ||
+ | \begin{document} | ||
+ | ... | ||
+ | \title{Cím} | ||
+ | \author{Szerző} | ||
+ | \maketitle | ||
+ | \tableofcontents | ||
+ | \thispagestyle{empty} | ||
+ | \pagestyle{plain} | ||
+ | \newpage | ||
+ | \setcounter{page}{1} | ||
+ | \section{Bevezetés} | ||
+ | ... | ||
</latex> | </latex> | ||
A lap 2013. december 1., 12:50-kori változata
A szokásos google doc codes in the clouds
Tartalomjegyzék |
Ismétlés
Egy képlet:
$\displaystyle\lim_{n \rightarrow \infty} \left ( 1 + \frac{1}{n} \right ) ^ {n+1} = \mathrm{e}$
Címoldal:
\begin{document} ... \title{Cím} \author{Szerző} \maketitle \tableofcontents \thispagestyle{empty} \pagestyle{plain} \newpage \setcounter{page}{1} \section{Bevezetés} ...
Képek
\usepackage{graphicx} \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:
\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}
- Bonyolultabb mezők definiálása
... \usepackage{multirow} ... \begin{tabular}{|l|l|l|} \hline \multicolumn{3}{|c|}{Team sheet} \\ \hline Goalkeeper & GK & Paul Robinson \\ \hline \multirow{4}{*}{Defenders} & LB & Lucus Radebe \\ & DC & Michael Duberry \\ & DC & Dominic Matteo \\ & RB & Didier Domi \\ \hline \multirow{3}{*}{Midfielders} & MC & David Batty \\ & MC & Eirik Bakke \\ & MC & Jody Morris \\ \hline Forward & FW & Jamie McMaster \\ \hline \multirow{2}{*}{Strikers} & ST & Alan Smith \\ & ST & Mark Viduka \\ \hline \end{tabular}
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}{99} \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}
Egyéb
Szövegméretek:
Feladatok
- Reprodukáljunk megadott részeket a következő dokumentumból: példa
- Írjunk példát hivatkozásra.