From: Doni Pracner Date: Wed, 7 Nov 2012 15:35:30 +0000 (+0100) Subject: promene male u vezi paketa X-Git-Url: http://svarog.pmf.uns.ac.rs/gitweb/?p=seminar-dmi-template.git;a=commitdiff_plain;h=c9b713c2bc8a0f69754360c79ebd72e908652c0c promene male u vezi paketa --- diff --git a/seminar.tex b/seminar.tex index fb0e2be..51e2cb9 100644 --- a/seminar.tex +++ b/seminar.tex @@ -1,34 +1,57 @@ % Template za seminarske radove na PMF-DMI-NS -% Doni Pracner, 16.11.2010. +% Doni Pracner, 07.11.2012. \documentclass[a4paper]{article} + +%definišemo da je ulaz utf-8 fajl +%time može da se koriste i naša slova i ćirilica \usepackage[T1]{fontenc} -\usepackage[utf8]{inputenc}%definišemo da je ulaz utf-8 fajl +\usepackage[utf8]{inputenc} % 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{\datum}{2012, Novi Sad} \newcommand{\mentor}{dr. Mentor Rada} -\usepackage[square]{natbib} -\renewcommand{\cite}[1]{\citep{#1}} - -\usepackage{ctable} -\newcommand{\otoprule}{\midrule[\heavyrulewidth]} +%napredne opcije za citiranja +%\usepackage[square]{natbib} +%\renewcommand{\cite}[1]{\citep{#1}} +%napredne opcije za formatiranje tabela +%\usepackage{ctable} +%\newcommand{\otoprule}{\midrule[\heavyrulewidth]} \usepackage[serbian]{babel} + +% za formatiranja headera i footera................................... \usepackage{fancyhdr} \pagestyle{fancy} +\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} + + \title{\naslov} \author{\autor} \date{\datum} %change the default font -\usepackage{lmodern} +\usepackage{lmodern} %ako nedostaje........................... \renewcommand{\familydefault}{\sfdefault} %podesavanja outputa za pdf verzije @@ -38,31 +61,13 @@ pdfauthor={\autor}% ]{hyperref} \usepackage{graphicx} -\usepackage{listings} +%\usepackage{listings} za listanje programskog koda \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} }} @@ -78,6 +83,7 @@ pdfauthor={\autor}% \noindent \framebox{\parbox[c]{0.9\textwidth}{ {\small*** \textbf{#1} }} \newline } } +% za \newcommand{\kod}[1]{{\small\texttt{#1}}} % ako je sledeci red odkomentarisan nista od skica nece biti ispisano @@ -107,8 +113,10 @@ pdfauthor={\autor}% Seminarski rad \vspace{12ex} - {\Large Mentor: - \par \textbf{\mentor}} + {\Large Mentor:} + \vspace{2ex} + + {\Large \textbf{\mentor}} %\vspace{10ex} \vfill @@ -138,7 +146,7 @@ pdfauthor={\autor}% \begin{abstract} Abstrakt rada. Potencijalno se može i preskočiti, ali nije loše - ostaviti ukratko o čemu će se pričati. + ostaviti ukratko o čemu će se pričati.\skicas{dopuniti ovo} \end{abstract} \tableofcontents @@ -158,6 +166,8 @@ g_{i}(p,o)}}{|N_{i}(p)|} \right) U Teoremi~\ref{teorema-granica} se vidi... +\skicab{proveriti} + \begin{theo}[Naslov teoreme] \label{teorema-granica} \begin{equation*} @@ -190,7 +200,7 @@ napomene. \flushleft \bibliography{refs}%literatura je u fajlu refs.bib -\bibliographystyle{plainnat}%promene u ovom redu menjaju stil referenciranja +\bibliographystyle{plain}%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