|
1 | 1 | \NeedsTeXFormat{LaTeX2e} |
2 | | -\ProvidesClass{fmfdelo}[2023/01/20 Zakljucna dela na FMF] |
| 2 | +\ProvidesClass{fmfdelo}[2025/03/12 Zakljucna dela na FMF] |
3 | 3 |
|
4 | 4 | %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
5 | 5 | % NALAGANJE PAKETOV |
|
141 | 141 | \def\@mentorji{} |
142 | 142 | \def\@supervisors{} |
143 | 143 | \def\@it@supervisors{} |
144 | | -\def\@podpisi{} |
145 | | -\def\@signatures{} |
146 | | -\def\@it@signatures{} |
147 | 144 | \newcommand{\@dodajmentorja}[3]{% |
148 | 145 | \g@addto@macro\@mentorji{#1: & #3 \\}% |
149 | | - \g@addto@macro\@podpisi{Podpis #2: & \phantom{prostor za podpis} \\[2cm]}% |
150 | 146 | } |
151 | 147 | \newcommand{\@dodajdvamentorja}[4]{% |
152 | 148 | \g@addto@macro\@mentorji{#1: & #3 \\ & #4 \\}% |
153 | | - \g@addto@macro\@podpisi{Podpisa #2: & \phantom{prostor za podpis} \\[2cm] & \phantom{prostor za podpis} \\[2cm]} |
154 | 149 | } |
155 | 150 | \newcommand{\@addsupervisor}[3]{% |
156 | 151 | \g@addto@macro\@supervisors{#1: & #3 \\}% |
157 | | - \g@addto@macro\@signatures{#2 signature: & \phantom{prostor za podpis} \\[2cm]}% |
158 | 152 | } |
159 | 153 | \newcommand{\@addsupervisors}[4]{% |
160 | 154 | \g@addto@macro\@supervisors{#1: & #3 \\ & #4 \\}% |
161 | | - \g@addto@macro\@signatures{#2 signature: & \phantom{prostor za podpis} \\[2cm] & \phantom{prostor za podpis} \\[2cm]} |
162 | 155 | } |
163 | 156 | \newcommand{\@it@addsupervisor}[3]{% |
164 | 157 | \g@addto@macro\@it@supervisors{#1: & #3 \\}% |
165 | | - \g@addto@macro\@it@signatures{Firma del #2: & \phantom{prostor za podpis} \\[2cm]}% |
166 | 158 | } |
167 | 159 | \newcommand{\@it@addsupervisors}[4]{% |
168 | 160 | \g@addto@macro\@it@supervisors{#1: & #3 \\ & #4 \\}% |
169 | | - \g@addto@macro\@it@signatures{Firma dei signature: & \phantom{prostor za podpis} \\[2cm] & \phantom{prostor za podpis} \\[2cm]} |
170 | 161 | } |
171 | 162 |
|
172 | 163 | \newcommand{\avtor}{\@definerequiredfield{@avtor}} |
|
175 | 166 | \newcommand{\letnica}{\@definerequiredfield{@letnica}} |
176 | 167 | \newcommand{\zahvala}{\@definefield{@zahvala}} |
177 | 168 | \newcommand{\programdela}{\@definefield{@programdela}} |
178 | | -\newcommand{\osnovnaliteratura}{\@definefield{@osnovnaliteratura}} |
179 | 169 | \newcommand{\povzetek}{\@definerequiredfield{@povzetek}} |
180 | 170 | \renewcommand{\abstract}{\@definerequiredfield{@abstract}} |
181 | 171 | \newcommand{\klasifikacija}{\@definerequiredfield{@klasifikacija}} |
|
195 | 185 | \newcommand{\sintesiestesa}{\@definerequiredfield{@it@razsirjenipovzetek}} |
196 | 186 | } |
197 | 187 |
|
198 | | -\newcommand{\vnosliterature}[1]{\nocite{#1}\addtocategory{keyreferences}{#1}} |
199 | 188 | \newcommand{\geslo}[2]{\noindent\textbf{#1}\hspace*{3mm}\hangindent=\parindent\hangafter=1 #2\par} |
200 | 189 |
|
201 | 190 | \newcommand{\mentor}{\@dodajmentorja{Mentor}{mentorja}} |
|
519 | 508 | \@oldindex{#1} |
520 | 509 | } |
521 | 510 |
|
522 | | -\defbibenvironment{keyrefs} |
523 | | - {\begin{enumerate}} |
524 | | - {\end{enumerate}} |
525 | | - {\item} |
526 | | -\DeclareBibliographyCategory{keyreferences} |
527 | | -\BiblatexSplitbibDefernumbersWarningOff |
528 | | -
|
529 | 511 | %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
530 | 512 | % IZPIS ZAČETNIH STRANI |
531 | 513 | %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
| 514 | +
|
532 | 515 | \@sloeng{\def\@frontpages{\@frontpages@sl}}{\def\@frontpages{\@frontpages@en}} |
533 | 516 | \@ifthen{\boolean{@trst}}{\def\@frontpages{\@frontpages@trst}} |
534 | 517 |
|
535 | 518 | \def\@frontpages@sl{ |
536 | 519 | \@frontpages@sl@naslovnica |
537 | 520 | \@frontpages@sl@zahvala |
538 | 521 | \@frontpages@common@toc |
539 | | - \@ifthen{\boolean{@drugastopnja}}{ |
540 | | - \@frontpages@common@program |
541 | | - } |
542 | 522 |
|
543 | | - \thispagestyle{empty} |
544 | 523 | \pdfbookmark[1]{Povzetek}{povzetek} |
545 | 524 | \@frontpages@sl@povzetek |
546 | 525 | \@frontpages@en@abstract |
|
552 | 531 | \@frontpages@sl@naslovnica |
553 | 532 | \@frontpages@en@acknowledgements |
554 | 533 | \@frontpages@common@toc |
555 | | - \@ifthen{\boolean{@drugastopnja}}{ |
556 | | - \@frontpages@common@program |
557 | | - } |
558 | 534 |
|
559 | | - \thispagestyle{empty} |
560 | 535 | \pdfbookmark[1]{Abstract}{abstract} |
561 | 536 | \@frontpages@en@abstract |
562 | 537 | \@frontpages@sl@povzetek |
|
568 | 543 | \@frontpages@trst@itslo@frontpage |
569 | 544 | \@frontpages@en@acknowledgements |
570 | 545 | \@frontpages@common@toc |
571 | | - \@ifthen{\boolean{@drugastopnja}}{ |
572 | | - \@frontpages@common@program |
573 | | - } |
574 | 546 |
|
575 | | - \thispagestyle{empty} |
576 | 547 | \pdfbookmark[1]{Abstract}{abstract} |
577 | 548 | \@frontpages@en@abstract |
578 | 549 | \@frontpages@trst@abstract |
|
582 | 553 | } |
583 | 554 |
|
584 | 555 | \def\@frontpages@common@toc{ |
585 | | - \thispagestyle{empty} |
586 | 556 | \pdfbookmark[1]{\contentsname}{kazalo-vsebine} |
587 | 557 | \tableofcontents |
588 | 558 | \vfill |
589 | 559 | \cleardoublepage |
590 | 560 | } |
591 | | -\def\@frontpages@common@program{ |
592 | | - \@sloeng{ |
593 | | - \pdfbookmark[1]{Program dela}{program} |
594 | | - }{ |
595 | | - \pdfbookmark[1]{Project plan}{program} |
596 | | - } |
597 | | - \@sloeng{\section*{Program dela}}{\section*{Project plan}} |
598 | | - \@programdela |
599 | | -
|
600 | | - % izvede vsebino osnovne literature |
601 | | - \@osnovnaliteratura |
602 | | - \newrefcontext[sorting=none]{keyrefctx} |
603 | | - \printbibliography[env=keyrefs,category=keyreferences, |
604 | | - title={\@sloeng{\section*{Osnovna literatura}} |
605 | | - {\section*{Basic references}}}] |
606 | | - \endrefcontext |
607 | | -
|
608 | | - \vspace{2cm} |
609 | | - \begin{flushright} |
610 | | - \begin{tabular}{rp{4cm}} \@sloeng{\@podpisi}{\@signatures} \end{tabular} |
611 | | - \end{flushright} |
612 | | - \vfill |
613 | | - \cleardoublepage |
614 | | -} |
615 | 561 | \def\@frontpages@sl@naslovnica{ |
616 | 562 | \thispagestyle{empty} |
617 | 563 | \noindent |
|
0 commit comments