From: Doni Pracner Date: Sun, 4 Nov 2012 19:02:25 +0000 (+0100) Subject: initial 2010 version X-Git-Url: http://svarog.pmf.uns.ac.rs/gitweb/?p=seminar-dmi-template.git;a=commitdiff_plain;h=c3420eeedab344a1ef6a55b5c3f338dd178a9fa2 initial 2010 version --- c3420eeedab344a1ef6a55b5c3f338dd178a9fa2 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..a915ce5 --- /dev/null +++ b/.gitignore @@ -0,0 +1,15 @@ +*.aux +*.dvi +*.log +*.out +*.pdf +*~ +*.toc +*.xref +*.nav +*.vrb +*.snm +auto* +*.zip +*.class +_region* \ No newline at end of file diff --git a/grbPMF.eps b/grbPMF.eps new file mode 100644 index 0000000..1bb0994 Binary files /dev/null and b/grbPMF.eps differ diff --git a/grbPMF.jpg b/grbPMF.jpg new file mode 100644 index 0000000..92853b6 Binary files /dev/null and b/grbPMF.jpg differ diff --git a/grbUNS.eps b/grbUNS.eps new file mode 100644 index 0000000..be6de52 Binary files /dev/null and b/grbUNS.eps differ diff --git a/grbUNS.jpg b/grbUNS.jpg new file mode 100644 index 0000000..00f0161 Binary files /dev/null and b/grbUNS.jpg differ diff --git a/refs.bib b/refs.bib new file mode 100644 index 0000000..907666a --- /dev/null +++ b/refs.bib @@ -0,0 +1,20 @@ +@BOOK{texbook, + author = "Donald E. Knuth", + title = "The {{\TeX}book}", + publisher = "Addison-Wesley", + year = 1984 +} + +@Misc{about-octave, + author = {John W. Eaton}, + title = {About {{Octave}}}, + howpublished = {http://www.gnu.org/software/octave/about.html}, + year = 2006 +} + +@Misc{matlab, + author = {MathWorks}, + title = {{{MATLAB}} website}, + howpublished = {http://www.mathworks.com/products/matlab/}, + year = 2010 +} \ No newline at end of file diff --git a/seminar.tex b/seminar.tex new file mode 100644 index 0000000..fb0e2be --- /dev/null +++ b/seminar.tex @@ -0,0 +1,198 @@ +% Template za seminarske radove na PMF-DMI-NS +% Doni Pracner, 16.11.2010. + +\documentclass[a4paper]{article} +\usepackage[T1]{fontenc} +\usepackage[utf8]{inputenc}%definišemo da je ulaz utf-8 fajl + +% osnovne informacije koje ce se prikazati na naslovnoj strani, +% kao i u informacijama u generisanom pdfu +\newcommand{\autor}{Ime Prezime} +\newcommand{\naslov}{Naslov rada} +\newcommand{\datum}{2010, Novi Sad} +\newcommand{\mentor}{dr. Mentor Rada} + +\usepackage[square]{natbib} +\renewcommand{\cite}[1]{\citep{#1}} + +\usepackage{ctable} +\newcommand{\otoprule}{\midrule[\heavyrulewidth]} + + +\usepackage[serbian]{babel} +\usepackage{fancyhdr} +\pagestyle{fancy} + +\title{\naslov} +\author{\autor} +\date{\datum} + +%change the default font +\usepackage{lmodern} +\renewcommand{\familydefault}{\sfdefault} + +%podesavanja outputa za pdf verzije +\usepackage[bookmarks,pdffitwindow=false,unicode=true,% +pdftitle={\naslov},% +pdfauthor={\autor}% +]{hyperref} + +\usepackage{graphicx} +\usepackage{listings} +\usepackage{amsthm} +\usepackage{amsmath} +\usepackage{latexsym} + +\begin{document} + +%% ovi redovi daju header i footer + +\renewcommand{\sectionmark}[1]{\markright{\thesection\ #1}} +\fancyhf{} % delete current setting for header and footer +\fancyfoot[C]{\thepage} +\fancyhead[LO]{\bfseries\rightmark} +%\fancyhead[R]{\bfseries\leftmark} +\renewcommand{\headrulewidth}{0.5pt} +\renewcommand{\footrulewidth}{0.5pt} +%\addtolength{\headheight}{0.5pt} % make space for the rule +\fancypagestyle{plain}{% +\fancyhead{} % get rid of headers on plain pages +\fancyfoot{} +\renewcommand{\headrulewidth}{0pt} % and the line +\renewcommand{\footrulewidth}{0pt} % and the line +} +\renewcommand{\headheight}{15pt} + +%% specijalni blokovi koji služe kao podsetnici u radu ili napomene +\newcommand{\skica}[1]{ + \noindent \framebox{\parbox[c]{0.9\textwidth}{ {\small** \textit{#1} }} + \newline } +} + +\newcommand{\skicas}[1]{ + \framebox{* \textit{#1} *} +} + +%boldovane skice visokog prioriteta +\newcommand{\skicab}[1]{ + \noindent \framebox{\parbox[c]{0.9\textwidth}{ {\small*** + \textbf{#1} }} \newline } } + +\newcommand{\kod}[1]{{\small\texttt{#1}}} + +% ako je sledeci red odkomentarisan nista od skica nece biti ispisano +% u finalni dokument + +% \renewcommand{\skica}[1]{} + +% title u skladu sa uobičajenim na Departmanu +\newcommand{\makemytitle}{ + \begin{center} + \makebox{% + \includegraphics[width=2cm]{grbPMF} + \parbox[b]{45ex}{\centering + Univerzitet u Novom Sadu\\ + Prirodno-matematički fakultet\\ + Departman za matematiku i informatiku} + \includegraphics[width=2cm]{grbUNS} + } + \vspace{22ex} + + \parbox[b]{\textwidth}{{\Large {\bf \hspace{1cm}\autor}}} + \vspace{10ex} + + {\Huge {\bf \setlength{\baselineskip}{1.5\baselineskip}\naslov}} + + \vspace{4ex} + Seminarski rad + + \vspace{12ex} + {\Large Mentor: + \par \textbf{\mentor}} + + %\vspace{10ex} + \vfill + + \datum + + \end{center} + \thispagestyle{plain} + \newpage +} + +\makemytitle + + +% theorems, definition etc. +%'''''''''''''''''''''''''' + +\theoremstyle{definition} +\newtheorem{def1}{Definicija} +\theoremstyle{plain} +\newtheorem{theo}{Teorema} +\newtheorem{lema}{Lema} + + +% ----------------==================-------------------------------------- +% Pravi pocetak rada + +\begin{abstract} + Abstrakt rada. Potencijalno se može i preskočiti, ali nije loše + ostaviti ukratko o čemu će se pričati. +\end{abstract} + +\tableofcontents + +\newpage + +\section{Uvod} + +Očigledno uvod... Referenciranje na knjigu o \TeX-u \cite{texbook}. + +\begin{def1}[Naslov definicije] +\begin{equation*} +f_{i}(p) = 1 / \left( \frac{ \displaystyle{\sum_{o \in N_{i}(p) } +g_{i}(p,o)}}{|N_{i}(p)|} \right) +\end{equation*} +\end{def1} + +U Teoremi~\ref{teorema-granica} se vidi... + +\begin{theo}[Naslov teoreme] +\label{teorema-granica} +\begin{equation*} +\frac{a_{min}}{b_{max}} \leq Izraz \leq +\frac{a_{max}}{b_{min}} +\end{equation*} +\end{theo} + +\section{Duga glava} +\label{gDruga} + +U ovoj glavi će prvo kratko biti predstavljeno \ldots +Matlab je moćan alat za izračunavanja\cite{matlab}, +no postoji i besplatna alternativa GNU Octave\cite{about-octave}. + +\subsection{Podglava 1} + +Prvo bitno za ovu glavu. + +\section{Zaključak} +\label{gZaklj} + +Kratko podsećanje šta je problem i kakvo je rešenje, te finalne +napomene. + +\newpage + +\label{gLiteratura} +\addcontentsline{toc}{section}{Literatura} +\flushleft +\bibliography{refs}%literatura je u fajlu refs.bib + +\bibliographystyle{plainnat}%promene u ovom redu menjaju stil referenciranja +% za najobičnije brojeve koristiti "plain" stil, a pri tome je +% uglavnom najbolje izbaciti upotrebu ``natbib'' paketa iz preambule + + +\end{document}