gitweb on Svarog
projekti pod git sistemom za održavanje verzija -- projects under the git version control systemauthor | Doni Pracner <quinnuendo@gmail.com> | |
Sun, 4 Nov 2012 19:02:25 +0000 (20:02 +0100) | ||
committer | Doni Pracner <quinnuendo@gmail.com> | |
Sun, 4 Nov 2012 19:02:25 +0000 (20:02 +0100) |
.gitignore | [new file with mode: 0644] | patch | blob |
grbPMF.eps | [new file with mode: 0644] | patch | blob |
grbPMF.jpg | [new file with mode: 0644] | patch | blob |
grbUNS.eps | [new file with mode: 0644] | patch | blob |
grbUNS.jpg | [new file with mode: 0644] | patch | blob |
refs.bib | [new file with mode: 0644] | patch | blob |
seminar.tex | [new file with mode: 0644] | patch | blob |
diff --git a/.gitignore b/.gitignore
--- /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
diff --git a/grbPMF.jpg b/grbPMF.jpg
diff --git a/grbUNS.eps b/grbUNS.eps
diff --git a/grbUNS.jpg b/grbUNS.jpg
diff --git a/refs.bib b/refs.bib
--- /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
--- /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}