← All templates

Palacký University Olomouc computer science bachelor's and master's thesis (KIdiplom)

The Department of Computer Science's official KIdiplom class for bachelor's and master's theses, with a sample thesis in Czech (English and Slovak options) that doubles as the class documentation: title page with the department's title graphic, bibliographic data page in Czech and English, declaration, abstracts, glossary, index, theorems, source code listings and an ISO 690 biblatex bibliography.

Create an account to use this
Category
Thesis
Document class
kidiplom (kidiplom.cls) — ships with TeX Live
Workflow
Thesis / dissertation — submissions and revision rounds
Author
Palacký University Olomouc, Faculty of Science, Department of Computer Science (KIdiplom)
Source
Palacký University Olomouc, Faculty of Science, Department of Computer Science (KIdiplom)
Licence
No licence is stated in the files. Palacký University Olomouc, Faculty of Science, Department of Computer Science (KIdiplom) distributes them for authors preparing a submission.

These are the publisher’s own files. This project starts from Palacký University Olomouc, Faculty of Science, Department of Computer Science (KIdiplom)’s package for this publication — their manuscript, their kidiplom.cls, their bibliography style — so what compiles here is what they would have given you.

Palacký University Olomouc, Faculty of Science, Department of Computer Science (KIdiplom) serves this exact file to Palacký University Olomouc. Check Palacký University Olomouc, Faculty of Science, Department of Computer Science (KIdiplom)’s author pages for the current instructions.

Where this differs from the publisher’s download.

  • Note: Written for the Department of Computer Science of the Faculty of Science; other departments and faculties of Palacký University have their own requirements.

What you get

  • LICENSE · 34 KB
  • README.txt · 3 KB
  • bibliografie.bib · 5 KB
  • czech-iso.lbx · 294 B
  • czech.lbx · 23 KB
  • english-iso.lbx · 292 B
  • graphics/UP_znak.pdf · 3 KB
  • graphics/UP_znak_cerna.pdf · 3 KB
  • graphics/UP_znak_outline.pdf · 4 KB
  • graphics/kititle-cz-nofont.pdf · 12 KB
  • graphics/kititle-en-nofont.pdf · 13 KB
  • iso-authoryear.bbx · 354 B
  • iso-authoryear.cbx · 270 B
  • iso-numeric.bbx · 319 B
  • iso-numeric.cbx · 73 B
  • iso.bbx · 13 KB
  • iso.cbx · 495 B
  • kibase.sty · 23 KB
  • kidiplom.cls · 18 KB
  • kidiplom.tex — the file that is compiled · 26 KB
  • slovak-iso.lbx · 317 B
  • slovak.lbx · 23 KB

These become your files. Editing them afterwards changes your project and nothing else — a project owns its files from the moment it is made.

Source

LICENSE — binary, 34 KB

README.txt · 3 KB
KIdiplom
========

V tomto adresáři je styl KIdiplom pro text závěrečné (bakalářské a
diplomové) práce na Katedře informatiky Přírodovědecké fakulty
Univerzity Palackého v Olomouci (KI PřF UP v Olomouci) v typografickém systému
LaTeX, včetně ukázkového textu práce, který je zároveň dokumentací
stylu.

Soubory a adresáře:

kidiplom.tex

= zdrojový text, využívající styl KIdiplom, ukázkového textu závěrečné
práce a zároveň dokumentace stylu, doporučeno použít jako šablonu pro
text vlastní práce, instrukce pro použití stylu KIdiplom a překlad
zdrojového textu jsou v souboru ve formě komentářů, soubor je v
kódování UTF-8 (doporučeno zachovat)

kidiplom.pdf

= přeložený PDF dokument ukázkového textu kidiplom.tex

kidiplom.cls

= třída dokumentu v LaTeXu představující styl KIdiplom, pro použití ve
zdrojových textech dokumentů využívajících styl, doporučeno soubor
ponechat ve stejném adresáři, jako soubor kidiplom.tex, soubor
neupravujte!

kibase.sty

= dodatečný styl využívaný třídou kidiplom.cls, doporučeno soubor
ponechat ve stejném adresáři, jako soubor kidiplom.tex, soubor
neupravujte!

bibliografie.bib

= ukázková bibliografie dokumentu kidiplom.tex pro BibLaTeX

graphics/

= adresář s obrázky záhlaví a loga UP na titulní straně dokumentů
používajících styl KIdiplom, doporučeno adresář ponechat ve stejném
adresáři, jako soubor kidiplom.tex, soubory v adresáři neupravujte!

*bx

= implementace stylů bibliografie pro BibLaTeX podle normy ISO 690,
doporučeno soubory ponechat ve stejném adresáři, jako soubor
kidiplom.tex, soubory neupravujte!

Makefile

= předpis pro program Make obsahující (mj.) příkazy pro překlad
zdrojového textu kidiplom.tex do PDF dokumentu kidiplom.pdf, soubor
musí být ve stejném adresáři, jako soubor kidiplom.tex

LICENSE

= text licence stylu KIdiplom

README.txt

= tento text

Styl byl testován s distribucí LaTeXu TeX Live (verze 2021). Pro svoji
plnou funkčnost vyžaduje následující (a jimy rekurzivně vyžadované)
dodatečné styly (balíky), které, pokud nejsou součástí standardní instalace
distribuce, lze v rámci distribuce doinstalovat:

amsbsy
amsmath
amssymb
amsthm
babel
biblatex *
bookmark
csquotes
euscript
fontenc
geometry
glossaries *
graphicx
hyperref
ifpdf
ifthen
inputenc
iwona *
kvoptions
lastpage
lmodern *
listings
makeidx *
multicol *
savesym *
thmtools
xcolor

* = vyžadování závisí na použitých volbách stylu

Licence stylu KIdiplom je GNU GPLv3 nebo novější.

Primární zdroj stylu pro použití na text odevzdávaných závěrečných
prací na KI PřF UP v Olomouci je
 
http://www.inf.upol.cz/studium

Chyby v souvislosti s tímto použitím reportuje na první kontakt níže.

Styl je vyvíjen na https://github.com/martinrotter/kistyles. Zde
můžete reportovat technické chyby.

Kontakt:
  Jan Outrata <[email protected]>          (univerzitní oficiální zastoupení, spoluautor stylu)
  Martin Rotter <[email protected]>  (autor stylu)
bibliografie.bib · 5 KB
% This file was created with JabRef 2.6.
% Encoding: UTF8
@ONLINE{t00,
  editor = {Bratková, Eva},
  editortype={compiler},
  title =  {Metody citování literatury a strukturování bibliografických záznamů podle mezinárodních norem ISO 690 a ISO 690-2}, 
  subtitle = {metodický materiál pro autory vysokoškolských kvalifikačních prací}, edition = {Verze 2.0, aktualiz. a rozšíř.}, 
  location = {Praha},
  publisher = {Odborná komise pro otázky elektronického zpřístupňování vysokoškolských kvalifikačních prací, Asociace knihoven vysokých škol ČR},
  date = {2008-12-22},
  pagetotal = {60}, 
  url = {http://www.evskp.cz/SD/4c.pdf},
  urldate = {2011-02-02},
  hyphenation={czech} 
}

@BOOK{t01,
  author = {Borgman, Christine L.}, 
  year={2003},
  title = {From Gutenberg to the global information infrastructure}, 
  subtitle = {access to information in the networked world},
  edition= {first},
  location = {Cambridge (Mass)}, 
  publisher = {The MIT Press},
  pagetotal =  {xviii, 324},
  isbn =  {0-262-52345-0},
  hyphenation={english}
}

@INCOLLECTION{t02,
  author = {Greenberg, David}, 
  year = {1998},
  title = {Camel drivers and gatecrashers},
  subtitle = {quality control in the digital research library},
  editor = {Hawkins, B.L and Battin, P},
  booktitle = {The mirage of continuity},
  booksubtitle = {reconfiguring academic information resources for the 21st  century}, 
  location = {Washington (D.C.)}, 
  publisher = {Council on Library and Information Resources; Association of American Universities}, 
  pages = {105-116},
  hyphenation = {english}
}

@ARTICLE{t03,
  author = {LYNCH, C.},
  year = {2005},
  title = {Where do we go from here?},
  subtitle = {the next decade for digital libraries},
  journaltitle = {DLib Magazine},
  volume =  {11},
  number = {7/8},
  urldate ={2005-08-15},
  url = {http://www.dlib.org/dlib/july05/lynch/07lynch.html}, 
  issn = {1082-9873},
  hyphenation = {english} 
}

@ARTICLE{cr,
  author = {{Národní knihovna}},
  title = {A big paper},
  journaltitle = {The journal of big papers},
  year = {1991},
  volume = {12},
  number = {3},
  issn={2232-332X},
  hyphenation={english}
}

@BOOK{kniha,
  title = {A big paper},
  subtitle={Podtitul},
  publisher = {Academia},
  year = {1991},
  author = {Děťa, Hugh and Rychlík, Tomáš},
  edition = {2},
  pagetotal = {550},
  location = {Praha},
  series={Pokusná edice},
  isbn={978-44-55-X},
  url={http://pokus.cz},
  comment={Dostupné také z WWW},
  urldate = {2011-01-12},
  hyphenation={czech}
}

@BOOK{kniha2,
  title = {Úplně úžasná knížka},
  year = {1991},
  author = {Děťa, Hugh and Rychlík, Tomáš and Další, Pepa and Spousta, Pepa and Skoro, Moc and Ale, Nestačí and Hodně},
  edition = {3},
  address = {Praha},
  hyphenation={czech}
}

@BOOK{kniha3,
  title = {Úplně úžasná knížka},
  year = {1991},
  author = {Děťa, Hugh and Rychlík, Tomáš and Další, Pepa and Spousta, Pepa and Skoro, Moc and Ale, Nestačí and Hodně},
  edition = {3},
  publisher={MIT Press},
  address = {Praha},
  pagetotal={332},
  hyphenation={english}
}

@ARTICLE{small,
  author = {Freely, I.P.},
  title = {A small paper},
  subtitle = {Podtitulek},
  journaltitle = {The journal of small papers},
  year = {1997},
  volume = {1},
  note = {to appear},
  pages={2-5},
  number={3},
  hyphenation={czech}
}

@ARTICLE{big,
  author = {Jass, Hugh},
  title = {A big paper},
  journal = {The journal of big papers},
  year = {1991},
  volume = {23}
}

@ARTICLE{cs,
  author = {Černý, Hugh},
  title = {Titulek},
  journal = {The journal of big papers},
  year = {1991},
  volume = {12},
  pages = {22-44},
  doi = {10.112.22/jkn},
  number = {2},
}

@BOOK{koll,
  author = {Kollmannová, Ludmila and Bubeniková, Libuše and Kopecká, Alena},
  title = {Angličtina pro samouky}, 
  edition = {5},
  location = {Praha}, 
  publisher = {Státní pedagogické nakladatelství}, 
  year = {1977}, 
  pagetotal = {525},
  series = {Učebnice pro samouky},
  isbn = {80-04-25663-5}
}

@INBOOK{kap,
  author = {Novotná, Pepina},
  title = {Podkapitola},
  pages = {22-29},
  chapter = {2.},
  crossref = {koll}
}

@PERIODICAL{tug,
  journaltitle = {TUGBoat},
  publisher = {TUG},
  issn = {1222-3333},
  hyphenation = {english},
  year={1980-},
  skipbib={true},
  url={http://tugboat.tug.org/}
}

@ARTICLE{knuth,
  author = {Knuth, Donald},
  title = {Journeys of \TeX},
  volume = {17},
  number = {3},
  year = {2003},
  pages = {12-22},
  url = {http://tugboat.tug.org/kkk.pdf},
  crossref={tug}
}

@COLLECTION{sbornik,
title = {Mimořádně užitečný sborník},
editor = {Geniální, Jiří},
year = {2007},
hyphenation = {czech},
location = {Praha},
publisher = {Academia},
isbn = {978-222-626-222-2}
}
@INCOLLECTION{prispevek1,
crossref = {sbornik},
title = {Velmi zajímavý článek},
author = {Vlaštovka, Josef},
pages = {22-45}
}
czech-iso.lbx · 294 B

\ProvidesFile{czech-iso.lbx}

\InheritBibliographyExtras{czech}
\InheritBibliographyStrings{czech}

\DeclareBibliographyStrings{%
  url = {{Do\-stup\-n\'y z}{WWW}},
  urlalso={{Do\-stup\-n\'y tak\'e z}{WWW}},
  urlcomercial={{Do\-stup\-n\'y tak\'e komer\b{c}n\v{e} z}{Komer\v{c}n\'i zdroj}}
}
czech.lbx · 23 KB
% $Id: historian.lbx,v 0.4 2010/08/22 gliboff $

\ProvidesFile{czech.lbx}

\InheritBibliographyExtras{english}
\InheritBibliographyStrings{english}

%Turabian calls for mostly abbreviated bibstrings in the footnotes, but mostly long forms in the bibliography. Here the entire list of bibstrings from the english.lbx file is redefined to select strings by bibliography vs. footnote environment, rather than long vs. short.

\DeclareBibliographyExtras{
  \protected\def\mkbibordinal#1{
  \ifnumequal{#1}{1}{Prvn\'i}{%
    \ifnumequal{#1}{2}{Druh\'e}{%
      \ifnumequal{#1}{3}{T\v{r}et\'i}{%
    #1\adddot}}}}
    \renewcommand\finalandcomma{}
  %\protected\def\nameprint#1#2{#2\space#1}
}

\DeclareBibliographyStrings{%
  %volume={{d\'il}{d\adddot}},
  edition={{vyd\'an\'i}{vyd\adddot}},
  page={{strana}{s\adddot}},
  pages={{strany}{s\adddot}},
  andothers={{a dal\v{s}\'i}{aj\adddot}},
  volume={{ro\v{c}n\'ik}{ro\v{c}\adddot}},
  jourvol={{ro\v{c}n\'ik}{ro\v{c}\adddot}},
  number={{\v{c}\'islo}{\v{c}\adddot}},
  urlseen={{citov\'ano}{cit\adddot}},
  url = {{Dostupn\'y z WWW}{WWW}},
  %urlcited = {{citov\'ano},{cit\adddot}}
  bibliography     = {{Bibliografie}{Bibliografie}},
  references       = {{Literatura}{Literatura}},
  shorthands       = {{Seznam zkratek}{Zkratky}},
  editor           = {{editor}{ed\adddot}},
  editors          = {{edotoři}{ed\adddot}},
  compiler         = {{sestavil}{sest\adddot}},
  compilers        = {{sestavili}{sest\adddot}},
  redactor         = {{redaktor}{red\adddot}},
  redactors        = {{redaktoři}{red\adddot}},
  founder          = {{zakladatel}{zakl\adddot}},
  founders         = {{zakladatelé}{zakl\adddot}},
  continuator      = {{pokračující}{pok\adddot}}, % FIXME: unsure
  continuators     = {{pokračující}{pok\adddot}}, % FIXME: unsure
  collaborator     = {{spolupracovník}{spoluprac\adddot}},  % FIXME: unsure
  collaborators    = {{spolupracovníci}{spoluprac\adddot}}, % FIXME: unsure
  translator       = {{překladatel}{překl\adddot}},
  translators      = {{překladatelé}{překl\adddot}},
  commentator      = {{komentátor}{kom\adddot}},
  commentators     = {{komentátoři}{kom\adddot}},
  annotator        = {{anotátor}{anot\adddot}},
  annotators       = {{anotátoři}{anot\adddot}},
  commentary       = {{koment\'ař}{comm\adddot}},
  annotations      = {{anotatace}{anot\adddot}},
  introduction     = {{úvod}{úv\adddot}},
  foreword         = {{předmluva}{předml\adddot}},
  afterword        = {{doslov}{dosl\adddot}},
  editortr         = {{editor a překladatel}%
                      {ed\adddotspace a překl\adddot}},
  editorstr        = {{editoři a překladatel\'e}%
                      {ed\adddotspace a překl\adddot}},
  editorco         = {{editor a koment\'ator}%
                      {ed\adddotspace a kom\adddot}},
  editorsco        = {{editor a koment\'atoři}%
                      {ed\adddotspace a kom\adddot}},
  editoran         = {{editor a anot\'ator}%
                      {ed\adddotspace a anot\adddot}},
  editorsan        = {{editor a anot\'atoři}%
                      {ed\adddotspace a anot\adddot}},
  editorin         = {{editor a \'uvod}%
                      {ed\adddotspace úv\adddot}},
  editorsin        = {{editoři a úvod}%
                      {ed\adddotspace a úv\adddot}},
  editorfo         = {{editor a předmluva}%
                      {ed\adddotspace a forew\adddot}},
  editorsfo        = {{editoři a předmluva}%
                      {ed\adddotspace a forew\adddot}},
  editoraf         = {{editor a doslov}%
                      {ed\adddotspace a doslov\adddot}},
  editorsaf        = {{editoři a doslov}%
                      {ed\adddotspace a dosl\adddot}},
  editortrco       = {{editor, překladatel a komentátor}%
                      {ed.,\addabbrvspace překl\adddot\ a comm\adddot}},
  editorstrco      = {{editoři, překladatel\'e\ a koment\'atoři}%
                      {eds.,\addabbrvspace překl\adddot\ a comm\adddot}},
  editortran       = {{editor, překladatel a koment\'ator}%
                      {ed.,\addabbrvspace překl\adddot\ a anot\adddot}},
  editorstran      = {{editors, translators\ a annotators}%
                      {ed.,\addabbrvspace překl\adddot\ a anot\adddot}},
  editortrin       = {{editor, translator\ a úvod}%
                      {ed.,\addabbrvspace překl\adddot\ a introd\adddot}},
  editorstrin      = {{editors, translators\ a úvod}%
                      {ed.,\addabbrvspace překl\adddot\ a introd\adddot}},
  editortrfo       = {{editor, translator\ a předmluva}%
                      {ed.,\addabbrvspace překl\adddot\ a forew\adddot}},
  editorstrfo      = {{editors, translators\ a předmluva}%
                      {ed.,\addabbrvspace překl\adddot\ a forew\adddot}},
  editortraf       = {{editor, translator\ a  doslov}%
                      {ed.,\addabbrvspace překl\adddot\ a afterw\adddot}},
  editorstraf      = {{editors, translators\ a  doslov}%
                      {ed.,\addabbrvspace překl\adddot\ a afterw\adddot}},
  editorcoin       = {{editor, commentator\ a úvod}%
                      {ed.,\addabbrvspace comm\adddot\ a introd\adddot}},
  editorscoin      = {{editors, commentators\ a úvod}%
                      {ed.,\addabbrvspace comm\adddot\ a introd\adddot}},
  editorcofo       = {{editor, commentator\ a předmluva}%
                      {ed.,\addabbrvspace comm\adddot\ a forew\adddot}},
  editorscofo      = {{editors, commentators\ a předmluva}%
                      {ed.,\addabbrvspace comm\adddot\ a forew\adddot}},
  editorcoaf       = {{editor, commentator\ a  doslov}%
                      {ed.,\addabbrvspace comm\adddot\ a dosl\adddot}},
  editorscoaf      = {{editors, commentators\ a  doslov}%
                      {ed.,\addabbrvspace comm\adddot\ a dosl\adddot}},
  editoranin       = {{editor, annotator\ a úvod}%
                      {ed.,\addabbrvspace anot\adddot\ a introd\adddot}},
  editorsanin      = {{editors, annotators\ a úvod}%
                      {ed.,\addabbrvspace anot\adddot\ a introd\adddot}},
  editoranfo       = {{editor, annotator\ a předmluva}%
                      {ed.,\addabbrvspace anot\adddot\ a forew\adddot}},
  editorsanfo      = {{editors, annotators\ a předmluva}%
                      {ed.,\addabbrvspace anot\adddot\ a forew\adddot}},
  editoranaf       = {{editor, annotator\ a  doslov}%
                      {ed.,\addabbrvspace anot\adddot\ a dosl\adddot}},
  editorsanaf      = {{editors, annotators\ a  doslov}%
                      {ed.,\addabbrvspace anot\adddot\ a dosl\adddot}},
  editortrcoin     = {{editor, překladatel, commentator\ a úvod}%
                      {ed.,\addabbrvspace trans., comm\adddot\ a introd\adddot}},
  editorstrcoin    = {{editors, překladatelé, commentators\ a úvod}%
                      {ed.,\addabbrvspace trans., comm\adddot\ a introd\adddot}},
  editortrcofo     = {{editor, překladatel, commentator\ a předmluva}%
                      {ed.,\addabbrvspace trans., comm\adddot\ a forew\adddot}},
  editorstrcofo    = {{editors, překladatelé, commentators\ a předmluva}%
                      {ed.,\addabbrvspace trans., comm\adddot\ a forew\adddot}},
  editortrcoaf     = {{editor, překladatel, commentator\ a  doslov}%
                      {ed.,\addabbrvspace trans., comm\adddot\ a dosl\adddot}},
  editorstrcoaf    = {{editors, překladatelé, commentators\ a  doslov}%
                      {ed.,\addabbrvspace trans., comm\adddot\ a dosl\adddot}},
  editortranin     = {{editor, překladatel, annotator\ a úvod}%
                      {ed.,\addabbrvspace trans., anot\adddot\ a introd\adddot}},
  editorstranin    = {{editors, překladatelé, annotators\ a úvod}%
                      {ed.,\addabbrvspace trans., anot\adddot\ a introd\adddot}},
  editortranfo     = {{editor, překladatel, annotator\ a předmluva}%
                      {ed.,\addabbrvspace trans., anot\adddot\ a forew\adddot}},
  editorstranfo    = {{editors, překladatelé, annotators\ a předmluva}%
                      {ed.,\addabbrvspace trans., anot\adddot\ a forew\adddot}},
  editortranaf     = {{editor, překladatel, annotator\ a  doslov}%
                      {ed.,\addabbrvspace trans., anot\adddot\ a dosl\adddot}},
  editorstranaf    = {{editors, překladatelé, annotators\ a  doslov}%
                      {ed.,\addabbrvspace trans., anot\adddot\ a dosl\adddot}},
  translatorco     = {{překladatel a komentátor}%
                      {překl\adddot\ a comm\adddot}},
  translatorsco    = {{překladatelé a komentátoři}%
                      {překl\adddot\ a comm\adddot}},
  translatoran     = {{překladatel a annotator}%
                      {překl\adddot\ a anot\adddot}},
  translatorsan    = {{překladatelé a annotators}%
                      {překl\adddot\ a anot\adddot}},
  translatorin     = {{překlad a úvod}%
                      {překl\adddot\ a introd\adddot}},
  translatorsin    = {{překlad a úvod}%
                      {překl\adddot\ a introd\adddot}},
  translatorfo     = {{překlad a předmluva}%
                      {překl\adddot\ a forew\adddot}},
  translatorsfo    = {{překlad a předmluva}%
                      {překl\adddot\ a forew\adddot}},
  translatoraf     = {{překlad a  doslov}%
                      {překl\adddot\ a dosl\adddot}},
  translatorsaf    = {{překlad a  doslov}%
                      {překl\adddot\ a dosl\adddot}},
  translatorcoin   = {{překlad, commentary\ a úvod}%
                      {trans., comm\adddot\ a introd\adddot}},
  translatorscoin  = {{překlad, commentary\ a úvod}%
                      {trans., comm\adddot\ a introd\adddot}},
  translatorcofo   = {{překlad, commentary\ a předmluva}%
                      {trans., comm\adddot\ a forew\adddot}},
  translatorscofo  = {{překlad, commentary\ a předmluva}%
                      {trans., comm\adddot\ a forew\adddot}},
  translatorcoaf   = {{překlad, commentary\ a  doslov}%
                      {trans., comm\adddot\ a dosl\adddot}},
  translatorscoaf  = {{překlad, commentary\ a  doslov}%
                      {trans., comm\adddot\ a dosl\adddot}},
  translatoranin   = {{překlad, anotace,\ a úvod}%
                      {trans., anot\adddot\ a introd\adddot}},
  translatorsanin  = {{překlad, anotace,\ a úvod}%
                      {trans., anot\adddot\ a introd\adddot}},
  translatoranfo   = {{překlad, anotace,\ a předmluva}%
                      {trans., anot\adddot\ a forew\adddot}},
  translatorsanfo  = {{překlad, anotace,\ a předmluva}%
                      {trans., anot\adddot\ a forew\adddot}},
  translatoranaf   = {{překlad, anotace,\ a  doslov}%
                      {trans., anot\adddot\ a dosl\adddot}},
  translatorsanaf  = {{překlad, anotace,\ a  doslov}%
                      {trans., anot\adddot\ a dosl\adddot}},
  byauthor         = {{by}{by}},
  byeditor         = {{edited by}{ed\adddotspace by}},
  bycompiler       = {{compiled by}{comp\adddotspace by}},
  byredactor       = {{redacted by}{red\adddotspace by}},
  byfounder        = {{founded by}{found\adddotspace by}},
  bycontinuator    = {{continued by}{cont\adddotspace by}},
  bycollaborator   = {{in collaboration with}{in collab\adddotspace with}}, % FIXME: unsure
  bytranslator     = {{translated \lbx@lfromlang\ by}{překl\adddot\ \lbx@sfromlang\ by}},
  bycommentator    = {{commented by}{comm\adddot\ by}},
  byannotator      = {{annotated by}{anot\adddot\ by}},
  withcommentator  = {{with a commentary by}{with a comment\adddot\ by}},
  withannotator    = {{s anotacemi od}{s anot\adddot\ od}},
  withintroduction = {{s úvodem od}{u úv\adddot\ od}},
  withforeword     = {{s předmluvou od}{s předml\adddot\ od}},
  withafterword    = {{with an afterword by}{with an dosl\adddot\ by}},
  byeditortr       = {{edited a translated \lbx@lfromlang\ by}%
                      {ed\adddotspace a překl\adddot\ \lbx@sfromlang\ by}},
  byeditorco       = {{edited a commented by}%
                      {ed\adddotspace a kom\adddot\ by}},
  byeditoran       = {{edited a annotated by}%
                      {ed\adddotspace a anot\adddot\ by}},
  byeditorin       = {{edited, with an úvod, by}%
                      {ed.,\addabbrvspace with an introd., by}},
  byeditorfo       = {{edited, with a foreword, by}%
                      {ed.,\addabbrvspace with a forew., by}},
  byeditoraf       = {{edited, with an afterword, by}%
                      {ed.,\addabbrvspace with an afterw., by}},
  byeditortrco     = {{edited, translated \lbx@lfromlang\ a commented by}%
                      {ed.,\addabbrvspace překl\adddot\ \lbx@sfromlang\ a kom\adddot\ by}},
  byeditortran     = {{edited, translated \lbx@lfromlang\ a annotated by}%
                      {ed.,\addabbrvspace překl\adddot\ \lbx@sfromlang\ a anot\adddot\ by}},
  byeditortrin     = {{edited a translated \lbx@lfromlang, with an úvod, by}%
                      {ed\adddotspace a překl\adddot\ \lbx@sfromlang, with an introd., by}},
  byeditortrfo     = {{edited a translated \lbx@lfromlang, with a foreword, by}%
                      {ed\adddotspace a překl\adddot\ \lbx@sfromlang, with a forew., by}},
  byeditortraf     = {{edited a translated \lbx@lfromlang, with an afterword, by}%
                      {ed\adddotspace a překl\adddot\ \lbx@sfromlang, with an afterw., by}},
  byeditorcoin     = {{edited a commented, with an úvod, by}%
                      {ed\adddotspace a comm., with an introd., by}},
  byeditorcofo     = {{edited a commented, with a foreword, by}%
                      {ed\adddotspace a comm., with a forew., by}},
  byeditorcoaf     = {{edited a commented, with an afterword, by}%
                      {ed\adddotspace a comm., with an afterw., by}},
  byeditoranin     = {{edited a annotated, with an úvod, by}%
                      {ed\adddotspace a annot., with an introd., by}},
  byeditoranfo     = {{edited a annotated, with a foreword, by}%
                      {ed\adddotspace a annot., with a forew., by}},
  byeditoranaf     = {{edited a annotated, with an afterword, by}%
                      {ed\adddotspace a annot., with an afterw., by}},
  byeditortrcoin   = {{edited, translated \lbx@lfromlang\ a commented, with an úvod, by}%
                      {ed.,\addabbrvspace překl\adddot\ \lbx@sfromlang\ a comm., with an introd., by}},
  byeditortrcofo   = {{edited, translated \lbx@lfromlang\ a commented, with a foreword, by}%
                      {ed.,\addabbrvspace překl\adddot\ \lbx@sfromlang\ a comm., with a forew., by}},
  byeditortrcoaf   = {{edited, translated \lbx@lfromlang\ a commented, with an afterword, by}%
                      {ed.,\addabbrvspace překl\adddot\ \lbx@sfromlang\ a comm., with an afterw., by}},
  byeditortranin   = {{edited, translated \lbx@lfromlang\ a annotated, with an úvod, by}%
                      {ed.,\addabbrvspace překl\adddot\ \lbx@sfromlang\ a annot, with an introd., by}},
  byeditortranfo   = {{edited, translated \lbx@lfromlang\ a annotated, with a foreword, by}%
                      {ed.,\addabbrvspace překl\adddot\ \lbx@sfromlang\ a annot, with a forew., by}},
  byeditortranaf   = {{edited, translated \lbx@lfromlang\ a annotated, with an afterword, by}%
                      {ed.,\addabbrvspace překl\adddot\ \lbx@sfromlang\ a annot, with an afterw., by}},
  bytranslatorco   = {{translated \lbx@lfromlang\ a commented by}%
                      {překl\adddot\ \lbx@sfromlang\ a kom\adddot\ by}},
  bytranslatoran   = {{translated \lbx@lfromlang\ a annotated by}%
                      {překl\adddot\ \lbx@sfromlang\ a anot\adddot\ by}},
  bytranslatorin   = {{translated \lbx@lfromlang, with an úvod, by}%
                      {překl\adddot\ \lbx@sfromlang, with an introd., by}},
  bytranslatorfo   = {{translated \lbx@lfromlang, with a foreword, by}%
                      {překl\adddot\ \lbx@sfromlang, with a forew., by}},
  bytranslatoraf   = {{translated \lbx@lfromlang, with an afterword, by}%
                      {překl\adddot\ \lbx@sfromlang, with an afterw., by}},
  bytranslatorcoin = {{translated \lbx@lfromlang\ a commented, with an úvod, by}%
                      {překl\adddot\ \lbx@sfromlang\ a comm., with an introd., by}},
  bytranslatorcofo = {{translated \lbx@lfromlang\ a commented, with a foreword, by}%
                      {překl\adddot\ \lbx@sfromlang\ a comm., with a forew., by}},
  bytranslatorcoaf = {{translated \lbx@lfromlang\ a commented, with an afterword, by}%
                      {překl\adddot\ \lbx@sfromlang\ a comm., with an afterw., by}},
  bytranslatoranin = {{translated \lbx@lfromlang\ a annotated, with an úvod, by}%
                      {překl\adddot\ \lbx@sfromlang\ a annot., with an introd., by}},
  bytranslatoranfo = {{translated \lbx@lfromlang\ a annotated, with a foreword, by}%
                      {překl\adddot\ \lbx@sfromlang\ a annot., with a forew., by}},
  bytranslatoranaf = {{translated \lbx@lfromlang\ a annotated, with an afterword, by}%
                      {překl\adddot\ \lbx@sfromlang\ a annot., with an afterw., by}},
  and              = {{and}{and}},
  %andothers        = {{et\addabbrvspace al\adddot}{et\addabbrvspace al\adddot}},
  andmore          = {{et\addabbrvspace al\adddot}{et\addabbrvspace al\adddot}},
  %volume           = {{volume}{vol\adddot}},
  volumes          = {{volumes}{vols\adddot}},
  %jourvol          = {{volume}{vol\adddot}},
  jourser          = {{series}{ser\adddot}},
  newseries        = {{new series}{new ser\adddot}},
  oldseries        = {{old series}{old ser\adddot}},
  %edition          = {{edition}{ed\adddot}},
  reprint          = {{reprint}{repr\adddot}},
  reprintof        = {{reprint of}{repr\adddotspace of}},
  reprintas        = {{reprinted as}{rpt\adddotspace as}},
  %page             = {{page}{p\adddot}},
  %pages            = {{pages}{pp\adddot}},
  column           = {{column}{col\adddot}},
  columns          = {{columns}{cols\adddot}},
  line             = {{řádek}{ř\adddot}},
  lines            = {{řádky}{ř\adddot}},
  verse            = {{verš}{v\adddot}},
  verses           = {{verše}{v\adddot}},
  section          = {{sekce}{\S}},
  sections         = {{secce}{\S\S}},
  paragraph        = {{odstavec}{ods\adddot}},
  paragraphs       = {{odstavce}{ods\adddot}},
  in               = {{in}{in}},
  inseries         = {{in}{in}},
  ofseries         = {{of}{of}},
  %number           = {{number}{no\adddot}},
  chapter          = {{kapitola}{kap\adddot}},
  mathesis         = {{diplomová práce}{dipl\addabbrvspace práce}},
  phdthesis        = {{disertační práce}{dis\addabbrvspace práce}},
  resreport        = {{výzkumná zpráca}{výzk\adddot zpr\adddot}},
  techreport       = {{technická zpráva}{tech\adddotspace zpr\adddot}},
  software         = {{počítačový software}{soft\adddot}},
  datacd           = {{CD-ROM}{CD-ROM}},
  audiocd          = {{audio CD}{audio CD}},
  version          = {{version}{version}},
  %url              = {{address}{address}},
  %urlseen          = {{visited on}{visited on}},
  inpress          = {{in press}{in press}},
  submitted        = {{submitted}{submitted}},
  citedas          = {{henceforth cited as}{henceforth cited as}},
  thiscite         = {{especially}{esp\adddot}},
  seenote          = {{viz poznámka}{viz poz\adddot}},
  quotedin         = {{quoted in}{qtd\adddotspace in}},
  idem             = {{idem}{idem}},
  idemsm           = {{idem}{idem}},
  idemsf           = {{eadem}{eadem}},
  idemsn           = {{idem}{idem}},
  idempm           = {{eidem}{eidem}},
  idempf           = {{eaedem}{eaedem}},
  idempn           = {{eadem}{eadem}},
  idempp           = {{eidem}{eidem}},
  ibidem           = {{ibidem}{ibid\adddot}},
  opcit            = {{op\adddotspace cit\adddot}{op\adddotspace cit\adddot}},
  loccit           = {{loc\adddotspace cit\adddot}{loc\adddotspace cit\adddot}},
  confer           = {{cf\adddot}{cf\adddot}},
  sequens          = {{sq\adddot}{sq\adddot}},
  sequentes        = {{sqq\adddot}{sqq\adddot}},
  passim           = {{passim}{pass\adddot}},
  see              = {{viz}{viz}},
  seealso          = {{viz také}{viz také}},
  backrefpage      = {{citováno na straně}{cit\adddotspace na s\adddot}},
  backrefpages     = {{citováno na stranách}{cit\adddotspace na s\adddot}},
  january          = {{ledna}{led\adddot}},
  february         = {{února}{ún\adddot}},
  march            = {{března}{břez\adddot}},
  april            = {{dubna}{dub\adddot}},
  may              = {{kvetna}{květ\adddot}},
  june             = {{června}{červ\adddot}},
  july             = {{července}{čvc}},
  august           = {{srpna}{srp\adddot}},
  september        = {{září}{zář\adddot}},
  october          = {{října}{říj\adddot}},
  november         = {{listopadu}{lis\adddot}},
  december         = {{prosince}{pros\adddot}},
  langamerican     = {{Americká angličtina}{Am\adddot angl\adddot}},
  langbrazilian    = {{Brazilská portugalština}{Braz\adddot portugal\adddot}},
  langdanish       = {{Dánština}{Dán\adddot}},
  langdutch        = {{Holandština}{Hol.\adddot}},
  langenglish      = {{Angličtina}{Angl\adddot}},
  langfrench       = {{Francouzština}{Franc\adddot}},
  langgerman       = {{Němčina}{Něm\adddot}},
  langgreek        = {{Řečtina}{Řeč\adddot}},
  langitalian      = {{Italština}{Ital\adddot}},
  langlatin        = {{Latina}{Lat\adddot}},
  langnorwegian    = {{Norština}{Norš\adddot}},
  langportuguese   = {{Portugalština}{Port\adddot}},
  langspanish      = {{Šanělština}{Špaň\adddot}},
  langswedish      = {{Švédština}{Švéd\adddot}},
  fromamerican     = {{z americké Angličtiny}{z amer\adddot angl\adddot}},
  frombrazilian    = {{z Brazilské Portugalštiny}{z Braz\adddot Port\adddot}},
  fromdanish       = {{z Danštiny}{z Dán\adddot}},
  fromdutch        = {{z Holandštiny}{z Hol\adddot}},
  fromenglish      = {{z Angličtiny}{z Angl\adddot}},
  fromfrench       = {{z Francouzštiny}{z Franc\adddot}},
  fromgerman       = {{z Němčiny}{z Něm\adddot}},
  fromgreek        = {{z Řečtiny}{z Řeč\adddot}},
  fromitalian      = {{z Italštiny}{z Ital\adddot}},
  fromlatin        = {{z Latiny}{z Lat\adddot}},
  fromnorwegian    = {{z Norštiny}{z Nor\adddot}},
  fromportuguese   = {{z Portugalštiny}{z Portuguese}},
  fromspanish      = {{ze Španělštiny}{ze Špaň\adddot}},
  fromswedish      = {{ze Švédštiny}{ze Švéd\adddot}},
  countryde        = {{Německo}{DE}},
  countryeu        = {{European Union}{EU}},
  countryep        = {{European Union}{EP}},
  countryfr        = {{Francie}{FR}},
  countryuk        = {{Velká Británie}{GB}},
  countryus        = {{Spojené Státy Americké}{US}},
  patent           = {{patent}{pat\adddot}},
  patentde         = {{German patent}{German pat\adddot}},
  patenteu         = {{European patent}{European pat\adddot}},
  patentfr         = {{French patent}{French pat\adddot}},
  patentuk         = {{British patent}{British pat\adddot}},
  patentus         = {{U.S\adddotspace patent}{U.S\adddotspace pat\adddot}},
  patreq           = {{patent request}{pat\adddot\ req\adddot}},
  patreqde         = {{German patent request}{German pat\adddot\ req\adddot}},
  patreqeu         = {{European patent request}{European pat\adddot\ req\adddot}},
  patreqfr         = {{French patent request}{French pat\adddot\ req\adddot}},
  patrequk         = {{British patent request}{British pat\adddot\ req\adddot}},
  patrequs         = {{U.S\adddotspace patent request}{U.S\adddotspace pat\adddot\ req\adddot}},
  file             = {{soubor}{soub\adddot}},
  library          = {{knihovna}{knih\adddot}},
  abstract         = {{abstrakt}{abst\adddot}},
  annotation       = {{anotace}{anot\adddot}},
}


\endinput
english-iso.lbx · 292 B
\ProvidesFile{english-iso.lbx}

\InheritBibliographyExtras{english}
\InheritBibliographyStrings{english}
\DeclareBibliographyStrings{%
  url = {{Available from WWW}{WWW}},
  urlalso={{Available also from WWW}{WWW}},
  urlcomercial={{Available aslo comericaly from WWWW}{Comericial source}}
}

graphics/UP_znak.pdf — binary, 3 KB

graphics/UP_znak_cerna.pdf — binary, 3 KB

graphics/UP_znak_outline.pdf — binary, 4 KB

graphics/kititle-cz-nofont.pdf — binary, 12 KB

graphics/kititle-en-nofont.pdf — binary, 13 KB

iso-authoryear.bbx · 354 B
\ProvidesFile{iso-authoryear.bbx}[2011/06/08]
\newcommand\MethodFormat{}
\def\printextrayear{\newunit\newblock\printfield{year}\printfield{extrayear}}
\newbibmacro*{year-label}{\ifnameundef{author}{\ifnameundef{editor}{}{\printextrayear}}{\printextrayear}}
\ExecuteBibliographyOptions{%
  %spacecolon=true
   sorting=nyt
}
\RequireBibliographyStyle{iso}
iso-authoryear.cbx · 270 B
\ProvidesFile{iso-authoryear.cbx}[2011/06/08]
\RequireCitationStyle{authoryear}
\renewbibmacro*{cite:labelyear+extrayear}{%
  \iffieldundef{labelyear}
    {}
    {\addcomma\addspace\printtext[bibhyperref]{%
       \printfield{labelyear}%
       \printfield{extrayear}}}}
iso-numeric.bbx · 319 B
\ProvidesFile{iso-numeric.bbx}[2011/06/08]

\newbibmacro*{year-label}{}%

\newcommand\MethodFormat{%
      \printtext[labelnumberwidth]{%
    	\printfield{prefixnumber}%
    	\printfield{labelnumber}}%
    }%
    \ExecuteBibliographyOptions{%
       sorting=none
      ,labelnumber
    }
\RequireBibliographyStyle{iso}
iso-numeric.cbx · 73 B
\ProvidesFile{iso-numeric.cbx}[2011/06/08]
\RequireCitationStyle{numeric}
iso.bbx · 13 KB
\ProvidesFile{iso.bbx}[2011/01/09 v1.0 biblatex bibliography style]
\DeclareLanguageMapping{czech}{czech-iso}
\DeclareLanguageMapping{english}{english-iso}
\NewBibliographyString{urlalso,urlcomercial}
%options

%switch space before colon in titles etc.
\newboolean{bbx@tcolon}
\DeclareBibliographyOption{spacecolon}[true]{\setboolean{bbx@tcolon}{#1}}

% \newboolean{cbx@numeric}
% \setboolean{cbx@numeric}{false}
% \newbibmacro*{year-label}{}
% \newcommand\MethodFormat{}
% \DeclareBibliographyOption{method}[authoryear]{%
%   \ifstrequal{#1}{authoryear}{%
%     \renewbibmacro*{year-label}{\newunit\printfield{year}\printfield{extrayear}}%
%     \setboolean{cbx@numeric}{false}%
%   }{}%
%   \ifstrequal{#1}{numeric}{%
%     \renewcommand\MethodFormat{%
%       \printtext[labelnumberwidth]{%
%     	\printfield{prefixnumber}%
%     	\printfield{labelnumber}}%
%     }%
%     \ExecuteBibliographyOptions{%
%        sorting=none
%       ,labelnumber
%     }
%     \setboolean{cbx@numeric}{true}%
%   }{}%
% }

\ExecuteBibliographyOptions{%
  %spacecolon=true
   %sorting=nyt
  ,maxnames=5
  ,minnames=3
  %,babel=other
  %,method=authoryear
  ,urldate=iso8601
}
\newbibmacro*{begentry}{}
%commands
%select main language of bibliography. this is needed in fields like number of pages etc.
%main language is last in babel params list. so if we have \usepackage[english,czech]{babel}, main language is czech
\newlength{\trashlength}
%\newcommand\mainlanguage@n{\expandafter\bbl@set@language\expandafter{\bbl@main@language}{\settowidth{\trashlength}{\expandafter\bbl@set@language\expandafter{\bbl@main@language}}\kern-\dimexpr \trashlength\relax}}%

%\newcommand\mainlanguage@n{\expandafter\blx@langsetup\expandafter{\bbl@main@language}}
\newcommand\mainlanguage@n{\csuse{abx@strings@\bbl@main@language}}
% Select main document language
% \newcommand\mainlanguage@n{\setbox0=\hbox{
% 	\expandafter\bbl@set@language\expandafter{\bbl@main@language}}%
% }
%\newcommand\mainlanguage@n{\edef\blx@languagename{\bbl@main@language}}
% %\newcommand\mainlanguage@n{%
%  \edef\languagename{\bbl@main@language}
%  \bbl@switch{\languagename}%
%}
%\newcommand\mainlanguage@n{\expandafter\bbl@set@language\expandafter{\bbl@main@language}}

\newcommand\mainsstring[1]{\bgroup\mainlanguage@n\bibsstring{#1}\egroup}
%\newcommand\mainsstring[1]{\mainlanguage@n\csuse{abx@sstr@#1}}
%\newcommand\mainsstring[1]{\otherlanguage{#1}\bibsstring\endotherlanguage}
%\newcommand\mainlstring[1]{\mainlanguage@n\biblstring{#1}}
\newcommand\mainlstring[1]{\bgroup\mainlanguage@n\csuse{abx@lstr@#1}\egroup}
%\newcommand\mainlstring[1]{\unskip\ignorespaces\expandafter\otherlanguage\expandafter{\bbl@main@language}\unskip\biblstring{#1}\unskip\endotherlanguage\unskip}
%\newcommand\mainlstring[1]{\blx@bibstring{czech}{abx@lstr}{#1}}
\newcommand\tcolon{%colon between location and publisher, title and subtitle etc.
\def\colo@n{\printtext{:}}%
\ifthenelse{\boolean{bbx@tcolon}}{\addspace\colo@n}{\colo@n}%
}

\renewcommand\subtitlepunct{\tcolon}
\renewcommand\andmoredelim{}
\renewcommand\multinamedelim{\addsemicolon\addspace}
\renewcommand\mkbibnamelast[1]{#1}
\renewcommand\finalnamedelim{\multinamedelim}
\renewcommand\andothersdelim{\addspace}


\defbibenvironment{bibliography}
  {\list
     {\MethodFormat}
     {\setlength{\leftmargin}{\bibhang}%
      \setlength{\itemindent}{-\leftmargin}%
      \setlength{\itemsep}{\bibitemsep}%
      \setlength{\parsep}{\bibparsep}}%
      \renewcommand*{\makelabel}[1]{\hss##1}
      %\raggedright}
      }
  {\endlist}
  {\item}



%%%%%%%%
%\DeclareListFormat{publisher}{\printtext[colon]{#1}}
\DeclareFieldFormat*{title}{#1}
\DeclareFieldFormat*{subtitle}{#1}
\DeclareFieldFormat*{chapter}{#1}
\DeclareFieldFormat*{pagetotal}{#1}
\DeclareFieldFormat*{volume}{\bibsstring{jourvol}\space#1}
\DeclareFieldFormat*{emphatize}{\emph{#1}}
\DeclareFieldFormat*{edition}{%
  \ifnumeral{#1}%
	{\mkbibordedition{#1}\addnbspace\bibsstring{edition}}%
    {%
    %\ifstrequal{#1}{first}{\mkbibordedition{1}}{%
    %  \ifstrequal{#1}{second}{\mkbibordedition{2}}{
    %    \ifstrequal{#1}{third}{\mkbibordedition{3}}{
    \MakeCapital{#1}}%}}%
}
\DeclareFieldFormat*{pages}{\mainsstring{pages}\space\printtext{#1}}
\DeclareFieldFormat*{number}{\bibsstring{number}\addspace\printtext{#1}}
\DeclareFieldFormat*{url}{\url{#1}}
\DeclareFieldFormat*{doi}{\url{http://dx.doi.org/#1}}

\DeclareFieldFormat{sbrackets}{[#1]}
%\DeclareFieldFormat{rbrackets}{\printtext{$\langle$}#1\printtext{$\rangle$}}
\DeclareFieldFormat{rbrackets}{$\langle$#1$\rangle$}
\DeclareFieldFormat{colon}{\printtext{\tcolon}\addspace#1}
\DeclareFieldFormat{emph-colon}{\printtext[emphatize]{\printtext[colon]{#1}}}

%We must handle more than one isbn and issn
\DeclareFieldFormat{isbn}{%
%\renewcommand*{\do}[1]{\printtext{ISBN}\addnbspace#1\adddot\addspace}%
\printtext{ISBN}\addnbspace#1}
%\printtext{ISBN}\addnbspace#1}

\DeclareFieldFormat{issn}{%
\renewcommand*{\do}[1]{\printtext{ISSN}\addnbspace#1\adddot\addspace}%
\docsvfield{issn}}

\def\addhyphen{\printtext{-}}
\DeclareFieldFormat{urldate}{\printfield{urlyear}\addhyphen\printfield{urlmonth}\addhyphen\printfield{urlday}}


%\DeclareNameFormat{default}{%
%\nameprint{#1}{#3}
%\usebibmacro{names:iso}{#1}{#2}{#3}{#4}%
%\usebibmacro{names:separator}%
%\usebibmacro{names:andothers}%
%\ifthenelse{\value{listcount}>\value{maxnames}}{\addspace\printtext{a další}}{oii}%
%}

\DeclareNameAlias{default}{last-first}

\newbibmacro*{book:pubinfo}{%
  %\iflistundef{location}{\printtext[colon]{\printlist{publisher}}}{%
  \iflistundef{publisher}{}{\printlist{location}\setunit{}}%
  %    {\setunit*{\addcomma\addspace}}
  %    {\setunit*{}}%
  %}
  \iflistundef{location}{\setunit{\adddot\addspace}}{%
    \iflistundef{publisher}{}{\printtext[colon]{\printlist{publisher}}}
  }
  %\printlist{publisher}%
  \setunit*{\addcomma\addspace}%
  \usebibmacro{date-urldate}%
}

\newbibmacro*{names:primary}{%
  \ifnameundef{author}%
  {\usebibmacro{editor}}%
  {\printnames{author}}%
  \usebibmacro{year-label}%
}




\renewbibmacro*{editor}{%
  \ifnameundef{editor}%
  {}%
  {\printnames{editor}%
    \addspace\mkbibparens{\usebibmacro{editorrole}}%
  }%
}
\newbibmacro*{editorrole}{%
  \iffieldundef{editortype}{\bibsstring{editor}}{\bibsstring{\thefield{editortype}}}%
}

\newbibmacro*{online-test}[2]{%
  \ifboolexpr{%
    test {\iffieldundef{url}}
    and
    test {\iffieldundef{eprint}}
    and
    test {\iffieldundef{doi}}
  }%
  {#1}%
  {#2}%
}
\newbibmacro*{online}{%
  %\def\online{}%
  \iffieldundef{urlyear}{}{\printtext[sbrackets]{online}}
  %\usebibmacro{online-test}{}{\online}%
}

\newbibmacro{comment+link}[1]{%
  \printtext{#1}\setunit*{\addcolon\addspace}%\printtext[rbrackets]{#2}%
}
\newbibmacro{print-online}{%
\printtext[rbrackets]{%
\usebibmacro{online-test}{}{%
\iffieldundef{url}{%
\printfield{doi}%
\printfield{eprint}%
}%
{\printfield{url}}%
}%
}%
}

\newbibmacro{urlinfo}{%
\iffieldundef{urlyear}{\mainlstring{urlalso}}{\mainlstring{url}}%
}
\newbibmacro{availability}{%
\usebibmacro{online-test}%
{}%  
{\iffieldundef{howpublished}%
{\usebibmacro{comment+link}{\usebibmacro{urlinfo}}\usebibmacro{print-online}}%
{\usebibmacro{comment+link}{\printfield{howpublished}\usebibmacro{print-online}}}%
}%
}

%prefix - url, orig ,...; separator
%\newbibmacro*{isodate}[2]{%
%\printfield{#1day}\printtext{#2}\nopunct
%\printfield{#1month}\printtext{#2}\nopunct
%\printfield{#1year}\nopunct
%}
\newbibmacro*{date-urldate}{%
  \iffieldundef{date}%
  {\printfield{year}}%
  {\printfield{date}}%
  \usebibmacro{urldate}
}
\newbibmacro*{urldate}{%
  \iffieldundef{urlyear}{}%
  {\addspace\printtext[sbrackets]{%
    %\printtext{cit.}%
    \mainsstring{urlseen}%
    \addspace
    \printurldate
    %\usebibmacro{isodate}{url}{-}\nopunct%
  }}%\printtext{.}}%hack. otherwise there will be no dot between this and next field
}


\newbibmacro{pagecount}{%
\iffieldundef{pagetotal}{}%
{\printfield{pagetotal}\usebibmacro{loc:pages}}%
}
\newbibmacro{book:vol}{%
	\printfield{edition}
	%\iffieldundef{edition}{}%
%{\printfield{edition}\usebibmacro{loc:bookvol}}%
}

\newbibmacro{titles}[1]{%
  \printfield[emphatize]{#1title}%
  \printfield[emph-colon]{#1subtitle}%
  \printfield[emphatize]{#1addon}%
}
\newbibmacro{pub:title}{%
 \iffieldundef{maintitle}{%
  \iffieldundef{booktitle}{%
    \usebibmacro{titles}{}%
  }{%
    \usebibmacro{titles}{book}%
  }
 }{%
  \usebibmacro{titles}{main}%
 }%
 \usebibmacro{online}%
}
\newbibmacro{jour:title}{%
\usebibmacro{titles}{journal}
\usebibmacro{online}
}

\newbibmacro{in}{%
	\mainsstring{in}%
%\addspace%
}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%Localisation macros
\newbibmacro{loc:pages}{\addnbspace\mainsstring{pages}}%\printtext{s}}

%\newbibmacro{loc:bookvol}{\addnbspace\bibsstring{edition}}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\DeclareBibliographyDriver{book}{%
\usebibmacro{bibindex}%
\usebibmacro{begentry}%
%\printnames{author}%
\usebibmacro{names:primary}
\newunit\newblock
\usebibmacro{pub:title}
\newunit\newblock
\usebibmacro{book:vol}
\newunit\newblock
\usebibmacro{book:pubinfo}
\newunit\newblock
\usebibmacro{pagecount}
\newunit\newblock
\printfield{series}
\newunit\newblock
\printfield{note}
\newunit\newblock
\usebibmacro{availability}
\newunit\newblock
\printfield{isbn}
\newunit\newblock
\finentry}

\DeclareBibliographyDriver{periodical}{%
\usebibmacro{bibindex}%
\usebibmacro{begentry}%
%\printnames{author}%
%\usebibmacro{names:primary}
\newunit\newblock
\usebibmacro{jour:title}
%\newunit\newblock
%\usebibmacro{book:vol}
\newunit\newblock
\usebibmacro{book:pubinfo}
%\newunit\newblock
%\usebibmacro{pagecount}
\newunit\newblock
\printfield{series}
\newunit\newblock
\printfield{note}
\newunit\newblock
\usebibmacro{availability}
%\usebibmacro{print-online}{\mainlstring{url}}{\printfield{url}}
\newunit\newblock
\printfield{issn}
\newunit\newblock
\finentry}


\DeclareBibliographyDriver{article}{%
\usebibmacro{bibindex}%
\usebibmacro{begentry}%
\usebibmacro{names:primary}%
\newunit\newblock
\printfield{title}%
\printfield[colon]{subtitle}%
\newunit\newblock
\usebibmacro{jour:title}
%\printfield[emphatize]{journaltitle}%
\newunit\newblock
\printfield{year}
%\usebibmacro{date-urldate}
\setunit*{\addcomma\addspace}%
\printfield{volume}%
\setunit*{\addcomma\addspace}%
\printfield{number}
\usebibmacro{urldate}
\setunit*{\addcomma\addspace}%
\printfield{pages}
\newunit\newblock
\printfield{note}
\newunit\newblock
\usebibmacro{availability}
\newunit\newblock
\printfield{issn}
\finentry
}

\DeclareBibliographyDriver{inbook}{%
%\printnames{author}%
\usebibmacro{bibindex}%
\usebibmacro{begentry}%
\printnames{bookauthor}
\usebibmacro{year-label}%
\newunit\newblock
\printfield{booktitle}%
\printfield[emph-colon]{booksubtitle}%
\newunit\newblock
\usebibmacro{book:vol}
\newunit\newblock
\printnames{author}
\newunit\newblock
\usebibmacro{book:pubinfo}
\newunit\newblock
\printfield{chapter}
\setunit*{\addcomma\addspace}%
\newunit
\printfield{title}%
\printfield[colon]{subtitle}
\setunit{\addcomma\addspace}%
\printfield{pages}
\newunit\newblock
\printfield{note}
\newunit\newblock
\usebibmacro{availability}
\newunit\newblock
\printfield{isbn}
\newunit\newblock
\finentry}

\DeclareBibliographyDriver{incollection}{%
%\printnames{author}%
\usebibmacro{bibindex}%
\usebibmacro{begentry}%
\usebibmacro{names:primary}
\newunit\newblock
\printfield{title}%
\printfield[colon]{subtitle}%
\newunit\newblock
\usebibmacro{in}
\usebibmacro{editor}%
\newunit\newblock%
\usebibmacro{pub:title}%
\newunit\newblock
\usebibmacro{book:vol}
\newunit\newblock
\printfield{number}
\newunit\newblock
\usebibmacro{book:pubinfo}
%\newunit\newblock
\setunit*{\addcomma\addspace}
\printfield{pages}
%\usebibmacro{pagecount}
\newunit\newblock
\printfield{series}
\newunit\newblock
\printfield{note}
\newunit\newblock
\usebibmacro{availability}
\newunit\newblock
\printfield{isbn}
\newunit\newblock
\finentry}

%\DeclareBibliographyAlias{online}{book}
\DeclareBibliographyDriver{online}{%
\usebibmacro{bibindex}%
\usebibmacro{begentry}%
%\printnames{author}%
\usebibmacro{names:primary}
\newunit\newblock
\usebibmacro{pub:title}
\newunit\newblock
\usebibmacro{book:vol}
\newunit\newblock
\usebibmacro{book:pubinfo}
\newunit\newblock
\usebibmacro{pagecount}
\newunit\newblock
\printfield{series}
\newunit\newblock
\printfield{note}
\newunit\newblock
%\usebibmacro{availability
\usebibmacro{comment+link}{\mainlstring{url}}\usebibmacro{print-online}
\newunit\newblock
\printfield{isbn}
\newunit\newblock
\finentry}

\DeclareBibliographyAlias{bookinbook}{inbook}
\DeclareBibliographyAlias{suppbook}{inbook}
\DeclareBibliographyAlias{booklet}{book}
\DeclareBibliographyAlias{collection}{book}
\DeclareBibliographyAlias{suppcollection}{incollection}
\DeclareBibliographyAlias{manual}{book}
\DeclareBibliographyAlias{misc}{book}
\DeclareBibliographyAlias{suppperiodical}{article}
\DeclareBibliographyAlias{proceedings}{collection}
\DeclareBibliographyAlias{inproceedings}{incollection}
\DeclareBibliographyAlias{reference}{collection}
\DeclareBibliographyAlias{inreference}{incollection}
\DeclareBibliographyAlias{report}{book}
\DeclareBibliographyAlias{thesis}{book}
\DeclareBibliographyAlias{unpublished}{book}
\endinput
iso.cbx · 495 B
% $Id: authoryear.cbx,v 1.1 2011/01/05 21:45:11 lehman stable $

\ProvidesFile{iso.cbx}
[\abx@cbxid $Id: authoryear.cbx,v 1.1 2011/01/05 21:45:11 lehman stable $]
\providebool{cbx@numeric}
\ifthenelse{\boolean{cbx@numeric}}{%
\RequireCitationStyle{authoryear}
\renewbibmacro*{cite:labelyear+extrayear}{%
  \iffieldundef{labelyear}
    {}
    {\addcomma\addspace\printtext[bibhyperref]{%
       \printfield{labelyear}%
       \printfield{extrayear}}}}
}{\RequireCitationStyle{numeric}}
\endinput
kibase.sty · 23 KB
%%%  KI PřF UP v Olomouci Base Style
%%%  Copyright (C) 2012 Martin Rotter, <[email protected]>
%%%  Copyright (C) 2014 Jan Outrata, <[email protected]>

\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{kibase}[2012/09/09 KI PrF UP v Olomouci Base Style]

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% Parametry.
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\RequirePackage{kvoptions}

\SetupKeyvalOptions{
  family=kib,
  prefix=kib@
}

%% [init]{name}[default]
%% tisková verze (nebarevné logo UP a odkazy, odkazy s uvedením adresy,
%% ne odkaz do rejstříku)
\DeclareStringOption[false]{printversion}[true]
%% seznamy (obrázků, tabulek, zdrojových kódů a vět) pod sebou, jinak
%% na samostatných stranách
\DeclareStringOption[true]{joinlists}[true]
%% seznam obrázků
\DeclareStringOption[true]{figures}[true]
%% seznam tabulek
\DeclareStringOption[true]{tables}[true]
%% seznam vět
\DeclareStringOption[false]{theorems}[true]
%% seznam zdrojových kódů
\DeclareStringOption[false]{sourcecodes}[true]
%% bibliografie v BibLaTeXu, jinak v prostředí thebibliography
\DeclareStringOption[false]{biblatex}[true]
%% jazyk dokumentu: czech, english, slovak
\DeclareStringOption[czech]{language}[czech]
%% podpora seznamu zkratek
\DeclareStringOption[false]{glossaries}[true]
%% podpora rejstříku
\DeclareStringOption[false]{index}[true]
%% font dokumentu: sans, jinak serif
\DeclareStringOption[serif]{font}[serif]
%% logo UP: white, black, blue
\DeclareStringOption[white]{logo}[white]
%% kódování zdrojového textu dokumentu
\DeclareStringOption[utf8]{encoding}[utf8]
%% kódování bibliografie v BibLaTeXu
\DeclareStringOption[utf8]{bibencoding}[utf8]
%% styl číslování položek bibliografie v BibLaTeXu: iso, iso-numeric,
%% iso-authoryear
\DeclareStringOption[iso-numeric]{bibstyle}[iso-numeric]

%% Nerozpoznaný parametr hodí chybu.
\DeclareDefaultOption{\PackageWarningNoLine{kibase}{[kibase] Option '\CurrentOption' was not recognized}}

\ProcessKeyvalOptions*

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% Balíky.
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

%% Kódování zdrojového textu dokumentu.
\RequirePackage[\kib@encoding]{inputenc}

%% Jazyky.
\RequirePackage[czech,english,\kib@language]{babel}

% Barvy.
\RequirePackage[usenames,dvipsnames,table]{xcolor}

%% Klikací odkazy v PDF.
\RequirePackage[unicode,breaklinks=true]{hyperref}
%% PDF záložky.
\RequirePackage[open,atend]{bookmark}

%% Zdrojové kódy.
\RequirePackage[savemem]{listings}

%% Podmíněný kód.
\RequirePackage{ifpdf}
\RequirePackage{ifthen}

%% Seznam zkratek.
\ifthenelse{\equal{\kib@glossaries}{true}}{
  %% glossaries definuje \printindex (definovany take makeidx) i kdyz
  %% by NEMEL bez parametru index!
  \RequirePackage{savesym}
  \savesymbol{printindex}
  \RequirePackage[acronym,nonumberlist,sanitize=none]{glossaries}
  \restoresymbol{GLS}{printindex}
}{
  \relax
}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% Barvy.
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\definecolor{darkgray}{RGB}{60,60,60}
\definecolor{halfgray}{gray}{0.55}
\definecolor{lightergray}{gray}{0.99}
\definecolor{webgreen}{rgb}{0,.5,0}
\definecolor{webbrown}{rgb}{.6,0,0}
\definecolor{ultragreen}{RGB}{40,180,10}
\definecolor{darkblue}{rgb}{0.2, 0.3, 0.6}
\definecolor{upblue}{RGB}{0, 134, 217}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% Dynamické texty.
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\newcommand{\kitextdeptcz}{Katedra informatiky}
\newcommand{\kitextfacultycz}{P\v r\'irodov\v edeck\'a fakulta}
\newcommand{\kitextunivcz}{Univerzita Palack\'eho v~Olomouci}

\newcommand{\kitextdepten}{Department of Computer Science}
\newcommand{\kitextfacultyen}{Faculty of Science}
\newcommand{\kitextuniven}{Palack\'{y} University Olomouc}

%% Čestina.
\ifthenelse{\equal{\kib@language}{czech}}{
  \newcommand{\kitextdept}{\kitextdeptcz}
  \newcommand{\kitextfaculty}{\kitextfacultycz}
  \newcommand{\kitextuniv}{\kitextunivcz}
  \def\@texttitle{Tituln\'{i} strana}

  \renewcommand{\lstlistlistingname}{Seznam zdrojov\'ych k\'od\r{u}}
  \renewcommand{\lstlistingname}{Zdrojov\'y k\'od}
  \newcommand{\listtheoremname}{Seznam v\v et}

  \def\@textdefinition{Definice}
  \def\@textlemma{Lemma}
  \def\@textconsequence{D\r{u}sledek}
  \def\@textremark{Pozn\'{a}mka}
  \def\@texttheorem{V\v{e}ta}
  \def\@textproof{D\r{u}kaz}
  \def\@textexample{P\v{r}\'{i}klad}

  \ifthenelse{\equal{\kib@glossaries}{true}}{
    \def\@textindex{Rejst\v{r}\'{i}k}
    \renewcommand{\acronymname}{Seznam zkratek}
  }{
    \relax
  }

  \newcommand{\buno}{bez \'{u}jmy na obecnosti}
  \newcommand{\Buno}{Bez \'{u}jmy na obecnosti}
}{
	\relax
}

%% Angličtina.
\ifthenelse{\equal{\kib@language}{english}}{
  \newcommand{\kitextdept}{\kitextdepten}
  \newcommand{\kitextfaculty}{\kitextfacultyen}
  \newcommand{\kitextuniv}{\kitextuniven}
  \def\@texttitle{Title page}
 
  \renewcommand{\lstlistlistingname}{List of source codes}
  \renewcommand{\lstlistingname}{Source code}
  \newcommand{\listtheoremname}{List of theorems}

  \def\@textdefinition{Definition}
  \def\@textlemma{Lemma}
  \def\@textconsequence{Corollary}
  \def\@textremark{Remark}
  \def\@texttheorem{Theorem}
  \def\@textproof{Proof}
  \def\@textexample{Example}

  \ifthenelse{\equal{\kib@glossaries}{true}}{
    \def\@textindex{Index}
    \renewcommand{\acronymname}{List of abbreviations}
  }{
    \relax
  }

  \newcommand{\buno}{without loss of generality}
  \newcommand{\Buno}{Without loss of generality}
}{
	\relax
}

%% Slovenština.
\ifthenelse{\equal{\kib@language}{slovak}}{
  \newcommand{\kitextdept}{\kitextdeptcz}
  \newcommand{\kitextfaculty}{\kitextfacultycz}
  \newcommand{\kitextuniv}{\kitextunivcz}
  \def\@texttitle{Tituln\'{a} strana}

  \renewcommand{\lstlistlistingname}{Zoznam zdrojov\'ych k\'odov}
  \renewcommand{\lstlistingname}{Zdrojov\'y k\'od}
  \newcommand{\listtheoremname}{Zoznam viet}

  \def\@textdefinition{Defin\'icia}
  \def\@textlemma{Lemma}
  \def\@textconsequence{D\^osledok}
  \def\@textremark{Pozn\'{a}mka}
  \def\@texttheorem{Veta}
  \def\@textproof{D\^okaz}
  \def\@textexample{Pr\'{i}klad}

  \ifthenelse{\equal{\kib@glossaries}{true}}{
    \def\@textindex{Register}
    \renewcommand{\acronymname}{Zoznam skratiek}
  }{
    \relax
  }

  \newcommand{\buno}{bez ujmy na všeobecnosti}
  \newcommand{\Buno}{Bez ujmy na všeobecnosti}
}{
	\relax
}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% Logo.
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\ifthenelse{\equal{\kib@logo}{black}}{
  \def\@logofile{graphics/UP_znak_cerna}
}{
  \ifthenelse{\equal{\kib@logo}{blue}}{
    \def\@logofile{graphics/UP_znak}
  }{
    \ifthenelse{\equal{\kib@printversion}{true}}{
      \def\@logofile{graphics/UP_znak_outline}
    }{
      \def\@logofile{graphics/UP_znak}
    }
  }
}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% Písmo - patkové Latin Modern a bezpatkové Iwona Light.
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\ifthenelse{\equal{\kib@font}{sans}}{
	\RequirePackage[light,math]{iwona}
}{
	\RequirePackage{lmodern}
}
\RequirePackage[T1]{fontenc}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% Obrázky.
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\ifthenelse{\boolean{pdf}}{
	\RequirePackage[pdftex]{graphicx}
}{
	\RequirePackage{graphicx}
}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% České (a slovenské) uvozovky pro balík csquotes.
%% použití: \enquote{citoslovce}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\RequirePackage[autostyle=try]{csquotes}

\DeclareQuoteStyle{czech}
	{\quotedblbase}
	{\textquotedblleft}
	{\textquoteleft}
	{\textquoteright}

\DeclareQuoteAlias{czech}{slovak}

%% Redeklarace makra \uv, aby používalo csquotes.
%% Makro \uv bude tisknout typ uvozovek v závislosti na jazyku prostředí.
\renewcommand{\uv}[1]{\enquote{#1}}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% Hypertextové odkazy a záložky.
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

%% Nastaví PDF záložky na kořen -- způsobí vrácení PDF záložek na
%% kořen, používat zejména pokud dokument obsahuje \part
%\newcommand{\kiendofmainmatter}{
%	\bookmarksetup{startatroot}
%}

%% Potlačení klikacích odkazů.
\newcommand*{\nohref}[1]{\begin{NoHyper}#1\end{NoHyper}}

%% Barevné odkazy.
\ifthenelse{\equal{\kib@printversion}{true}}{
  \hypersetup{
    colorlinks=false
  }
}{
  \hypersetup{
    colorlinks=true
  }
}

%% Nastavení odkazů a záložek.
\hypersetup{
  linktocpage=true, pdfstartpage=1, pageanchor=true,
  pdfstartview=FitV, breaklinks=true, pdfpagemode=UseNone, 
  plainpages=false, bookmarksnumbered,
  hypertexnames=true, pdfhighlight=/O,
  urlcolor=upblue, linkcolor=upblue, 
  citecolor=upblue
}

\let\orghref=\href
\let\orgurl=\url

%% Zalomitelné \url.
%% \renewcommand{\url}[1]{\orghref{#1}{#1}}

\ifthenelse{\equal{\kib@printversion}{true}}{
%% Odkazy s uvedením adresy v tiskové verzi dokumentu.
  \renewcommand{\href}[2]{#2 (\orghref{#1}{#1})}
  \newcommand{\mail}[2]{#2 (\orghref{mailto:#1}{#1})}
}{
%% Makro pro mail.
	\newcommand{\mail}[2]{\href{mailto:#1}{#2}}
}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% Zkratky a seznam zkratek.
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\ifthenelse{\equal{\kib@glossaries}{true}}{
	%% Zapnutí generování zkratek.
	\makeglossaries

	%% Zkratky tučně a bez interpunkce za zkratkou.
	\renewcommand{\glsnamefont}[1]{\textbf{#1}}
	\renewcommand{\glspostdescription}{}

	\let\orgprintglossary=\printglossary

  %% Tisk seznamu zkratek od nové strany + záznam do obsahu.
	\renewcommand{\printglossary}{
		\clearpage
		\phantomsection
		\addcontentsline{toc}{section}{\acronymname}
		\orgprintglossary[type=\acronymtype]
	}
}{
  \renewcommand{\printglossary}{
		\relax
	}
}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% Rejstřík
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\ifthenelse{\equal{\kib@index}{true}}{
\RequirePackage{makeidx}
%% Sazba do sloupců.
\RequirePackage{multicol}

%% Zapne rejstříkování.
\makeindex

%\let\orgtheindex=\theindex
%\let\orgendtheindex=\endtheindex

%% Dva sloupce rejstříku.
\newcommand{\indexcolumns}{2}

%% Předefinování prostředí pro sazbu rejstříku (podle starého stylu).
\renewenvironment{theindex}{
  \newpage
  \bgroup
  \section*{\@textindex\@mkboth{\@textindex}{\@textindex}}
  \addcontentsline{toc}{section}{\@textindex}
  \def\item{\par}
  \def\subitem{\par---\kern1ex}
  \def\subsubitem{\par---\kern1ex---\kern1ex}
  \def\indexspace{\smallskip}
  \setlength{\parindent}{-2em}
  \setlength{\leftskip}{2em}
  \begin{multicols*}{\indexcolumns}
  } {
\end{multicols*}
\egroup
}

\let\orgprintindex=\printindex

%% Tisk rejstříku od nové strany.
\renewcommand{\printindex}{
  \clearpage
  \phantomsection
  \orgprintindex
}

\ifthenelse{\equal{\kib@printversion}{true}}{
\relax
}{
%% Redefinice \index s odkazem do rejstříku.
%% Odkaz nefunguje pro \index{výraz|makro}, resp. \index{výraz|(makro}.
\newcounter{indexno}
\let\orgindex=\index
\renewcommand{\index}[1]{\stepcounter{indexno}\hyperlink{\arabic{indexno}ind.ind}{$^{\lbrace\arabic{indexno}\rbrace}$}\orgindex{#1|hypertarget{\arabic{indexno}ind.ind}}}
}
}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% Bibliografie
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

%% BibLaTeX.
\ifthenelse{\equal{\kib@biblatex}{true}}{
  %% Volba backendu.
  \newcommand{\kibibliobackend}{biber}
  
  %% Načtení BibLaTeXu.
  %% Čestina.
  \ifthenelse{\equal{\kib@language}{czech}}{
    \RequirePackage[
      natbib=true,
      backend=\kibibliobackend,
      sortcites=true,
      style=\kib@bibstyle,
      babel=other,
      sortlocale=cs_CZ,
      bibencoding=\kib@bibencoding
    ]{biblatex}
  }{
    \relax
  }
  %% Angličtina.
  \ifthenelse{\equal{\kib@language}{english}}{
    \RequirePackage[
      natbib=true,
      backend=\kibibliobackend,
      sortcites=true,
      style=\kib@bibstyle,
      babel=other,
      sortlocale=en_GB,
      bibencoding=\kib@bibencoding,
      spacecolon=false
    ]{biblatex}
  }{
    \relax
  }
  %% Slovenština.
  \ifthenelse{\equal{\kib@language}{slovak}}{
    \RequirePackage[
      natbib=true,
      backend=\kibibliobackend,
      sortcites=true,
      style=\kib@bibstyle,
      babel=other,
      sortlocale=sk_SK,
      bibencoding=\kib@bibencoding
    ]{biblatex}
  }{
    \relax
  }

  %% První řádek záznamu nechceme předsazovat.
  \setlength{\bibhang}{0pt}

  %% Přeformátovat číslo záznamu.
  \ifthenelse{\equal{\kib@bibstyle}{iso-numeric}}{
    \renewcommand\MethodFormat{\printtext[labelnumberwidth]{\mkbibbrackets{\printfield{prefixnumber}\printfield{labelnumber}}}}
  } {
    \relax  
  }

  \let\orgprintbibliography=\printbibliography

  %% Tisk bibliografie od nové strany + záznam do obsahu.
  \renewcommand{\printbibliography}{
    \clearpage
    \phantomsection
    \addcontentsline{toc}{section}{\refname}
    \orgprintbibliography
  }

  %% Umlčení TeXu v případě "drobných" přetečení textu, která se v
  %% bibliografii dějí běžně.
  \setcounter{biburlnumpenalty}{9000}
  \setcounter{biburlucpenalty}{9000}
  \setcounter{biburllcpenalty}{9000}
}{
  \relax
}

%% Redefinice prostředí thebibliography (podle starého stylu).
\renewenvironment{thebibliography}[1]{
  \clearpage
	\section*{\bibname
    \@mkboth{\MakeUppercase\refname}{\MakeUppercase\refname}}
	\addcontentsline{toc}{section}{\bibname}
	\list{\@biblabel{\@arabic\c@enumiv}}
	{\settowidth\labelwidth{\@biblabel{#1}}
          %% bez odsazeni (jako v BibLaTeXu)
    \leftmargin0pt%\labelwidth
%    \advance\leftmargin\labelsep
    \@openbib@code
    \usecounter{enumiv}
    \let\p@enumiv\@empty
    \renewcommand\theenumiv{\@arabic\c@enumiv}}
	\sloppy
	\clubpenalty4000
	\@clubpenalty \clubpenalty
	\widowpenalty4000
	\sfcode`\.\@m
} {
	\def\@noitemerr
	{\@latex@warning{Empty `thebibliography' environment}}
  	\endlist
}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% Obsah.
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\let\orgappendix=\appendix

%% Přílohy od nové strany.
\renewcommand{\appendix}{
	\clearpage
	\orgappendix
}

%% Definice \subsubsubsection
\setcounter{tocdepth}{5}
\setcounter{secnumdepth}{5}
\newcommand{\subsubsubsection}{\@startsection{paragraph}{4}{0ex}
   {-3.25ex plus -1ex minus -0.2ex}
   {1.5ex plus 0.2ex}%
   {\normalfont\normalsize\bfseries}}

\let\orgtableofcontents=\tableofcontents

%% Přidání záznamu do PDF záložek.
\renewcommand{\tableofcontents}{
	\cleardoublepage
	\hypertarget{ki:toc}{}
	\bookmark[
		rellevel=1,
		keeplevel,
		dest=ki:toc
	]{\contentsname}
	\orgtableofcontents
}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% Zdrojové kódy.
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

%% Typewriter font, který umí i bold.
\renewcommand{\ttdefault}{pcr}

%% Modifikace originálních maker, aby respektovala jiný obsah.
\lst@UserCommand\lstlistoflistings{\bgroup
    \let\contentsname\lstlistlistingname
    \let\lst@temp\@starttoc \def\@starttoc##1{\lst@temp{lol}}
    \orgtableofcontents \egroup}

%% Definice základního stylu sazby zdroj. kódů.
\lstdefinestyle{kibasestyle}{
	breaklines=true,
	flexiblecolumns=true,
	basicstyle=\footnotesize\ttfamily,
	keywordstyle=\bfseries,
	commentstyle=\color{gray},
	stringstyle=\color{black},
	numberbychapter=false,
	escapeinside={£*}{*£},
	firstnumber=1,
	numbers=left,
	captionpos=b,
	numbersep=10pt,
	inputencoding=\kib@encoding,
	numberstyle=\scriptsize\ttfamily,
	stepnumber=1,
	showstringspaces=false,
	tabsize=2,
	extendedchars=true,
	literate=
        {á}{{\'a}}1
        {í}{{\'i}}1
        {é}{{\'e}}1
        {ý}{{\'y}}1
        {ú}{{\'u}}1
        {ó}{{\'o}}1
        {ě}{{\v{e}}}1
        {š}{{\v{s}}}1
        {č}{{\v{c}}}1
        {ř}{{\v{r}}}1
        {ž}{{\v{z}}}1
        {ď}{{\v{d}}}1
        {ť}{{\v{t}}}1
        {ň}{{\v{n}}}1                
        {ů}{{\r{u}}}1
        {ô}{{\^o}}1
        {Á}{{\'A}}1
        {Í}{{\'I}}1
        {É}{{\'E}}1
        {Ý}{{\'Y}}1
        {Ú}{{\'U}}1
        {Ó}{{\'O}}1
        {Ě}{{\v{E}}}1
        {Š}{{\v{S}}}1
        {Č}{{\v{C}}}1
        {Ř}{{\v{R}}}1
        {Ž}{{\v{Z}}}1
        {Ď}{{\v{D}}}1
        {Ť}{{\v{T}}}1
        {Ň}{{\v{N}}}1                
        {Ů}{{\r{U}}}1    
        {Ô}{{\^o}}1
}

%% Definice dodatečných jazyků.
\lstdefinelanguage{TutorialD}{morekeywords={tuple,matching,insert,divide,by,per,tclose,from,summarize,count,all,but,as,base,rename,prefix,extend,add,compose,union,minus,intersect,update,writeln,init,type,possrep,constraint,and,or,relation,where,base,drop},
	sensitive=false,
	morecomment=[s][commentstyle]{/*}{*/},
	morestring=[b][stringstyle]{"},
}

\lstdefinelanguage{text}{
	morekeywords={},
	sensitive=false,
}

\lstdefinelanguage{CSS}{	
  morekeywords={accelerator,azimuth,background,background-attachment,background-color,background-image,background-position,background-position-x,background-position-y,background-repeat,behavior,border,border-bottom,border-bottom-color,border-bottom-style,border-bottom-width,border-collapse,border-color,border-left,border-left-color,border-left-style,border-left-width,border-right,border-right-color,border-right-style,border-right-width,border-spacing,border-style,border-top,border-top-color,border-top-style,border-top-width,border-width,bottom,caption-side,clear,clip,color,content,counter-increment,counter-reset,cue,cue-after,cue-before,cursor,direction,display,elevation,empty-cells,filter,float,font,font-family,font-size,font-size-adjust,font-stretch,font-style,font-variant,font-weight,height,ime-mode,include-source,layer-background-color,layer-background-image,layout-flow,layout-grid,layout-grid-char,layout-grid-char-spacing,layout-grid-line,layout-grid-mode,layout-grid-type,left,letter-spacing,line-break,line-height,list-style,list-style-image,list-style-position,list-style-type,margin,margin-bottom,margin-left,margin-right,margin-top,marker-offset,marks,max-height,max-width,min-height,min-width,-moz-binding,-moz-border-radius,-moz-border-radius-topleft,-moz-border-radius-topright,-moz-border-radius-bottomright,-moz-border-radius-bottomleft,-moz-border-top-colors,-moz-border-right-colors,-moz-border-bottom-colors,-moz-border-left-colors,-moz-opacity,-moz-outline,-moz-outline-color,-moz-outline-style,-moz-outline-width,-moz-user-focus,-moz-user-input,-moz-user-modify,-moz-user-select,orphans,outline,outline-color,outline-style,outline-width,overflow,overflow-X,overflow-Y,padding,padding-bottom,padding-left,padding-right,padding-top,page,page-break-after,page-break-before,page-break-inside,pause,pause-after,pause-before,pitch,pitch-range,play-during,position,quotes,-replace,richness,right,ruby-align,ruby-overhang,ruby-position,-set-link-source,size,speak,speak-header,speak-numeral,speak-punctuation,speech-rate,stress,scrollbar-arrow-color,scrollbar-base-color,scrollbar-dark-shadow-color,scrollbar-face-color,scrollbar-highlight-color,scrollbar-shadow-color,scrollbar-3d-light-color,scrollbar-track-color,table-layout,text-align,text-align-last,text-decoration,text-indent,text-justify,text-overflow,text-shadow,text-transform,text-autospace,text-kashida-space,text-underline-position,top,unicode-bidi,-use-link-source,vertical-align,visibility,voice-family,volume,white-space,widows,width,word-break,word-spacing,word-wrap,writing-mode,z-index,zoom,},
	sensitive=false,
	morecomment=[s][commentstyle]{/*}{*/},
}

\lstdefinelanguage{csharp}{
	morekeywords={int,ref,static,fixed,unsafe,public,private,protected,return,for,if,void},
	sensitive=false,
	morecomment=[s][commentstyle]{/*}{*/},
	morecomment=[l][commentstyle]{//},
	morestring=[b][stringstyle]{"},
}

\lstdefinelanguage{cpp}{
  morekeywords={int,enum,struct,static,bool,return,for,if,void,ifndef,define,endif,class,constexpr,new,const,auto,double,public,private,protected,signals,slots},
	sensitive=false,
	morecomment=[s][commentstyle]{/*}{*/},
	morecomment=[l][commentstyle]{//},
	morestring=[b][stringstyle]{"},
}

\lstdefinelanguage{JavaScript}{
	keywords={typeof, new, true, false, catch, function, return, null, catch, switch, var, if, in, while, do, else, case, break},
	ndkeywords={class, export, boolean, throw, implements, import, this},
	sensitive=false,
	morecomment=[l][commentstyle]{//},
	morecomment=[s][commentstyle]{/*}{*/},
	morestring=[b][stringstyle]{'},
	morestring=[b][stringstyle]{"}
}

\newcommand{\csharp}{C\kern-.03em\raise.38ex\hbox{\scriptsize{\#}}}
\newcommand{\cpp}{C\kern-.05em\raise.38ex\hbox{\scriptsize{++}}}
\newcommand{\keyword}[1]{{\ttfamily\color{darkgray}{#1}}}

%% Načtení jazyků.
\lstloadlanguages{[ANSI]C,[LaTeX]TeX,PHP,HTML,Lisp,SQL,TeX,Python,Java,TutorialD,text,csharp,cpp,JavaScript,CSS}

%% Definice makra a prostředí pro sazbu zdroj. kódů.
\newcommand{\kiinlinecode}[3]{\lstinline[style=kibasestyle,alsoletter={\{\}\\},language=#1]#2#3#2\ignorespacesafterend}

\lstnewenvironment{kicode}[3]{
  \lstset{language=#1,alsoletter={\{\}\\},float=ht,style=kibasestyle,firstnumber=1,caption={#3},label={#2},aboveskip=10px,belowskip=15px}
}{}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% Teorémy.
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

%% Stylování teorémů.
\RequirePackage{amsmath}
\RequirePackage{amsthm}
\RequirePackage{thmtools}

%% Definice základných stylů.
\declaretheoremstyle[
	headfont=\normalfont\bfseries,
	notefont=\normalfont\bfseries,
	bodyfont=\itshape,
	spaceabove=\baselineskip,
	spacebelow=\baselineskip,
	headpunct=\\\indent
]{kithmstyle}

\declaretheoremstyle[
	notefont=\bfseries,
	spaceabove=\baselineskip,
	spacebelow=\baselineskip,
	headpunct=\\\indent
]{kidefstyle}

\declaretheoremstyle[
	headfont=\normalfont\scshape,
	notefont=\normalfont\scshape,
	spaceabove=\baselineskip,
	spacebelow=\baselineskip,
	headpunct=\\\indent
]{kiremexstyle}

\declaretheoremstyle[
	headfont=\normalfont\itshape,
	notefont=\normalfont\itshape,
	spaceabove=\baselineskip,
	spacebelow=\baselineskip,
	qed=\qedsymbol,
	headpunct=\\\indent
]{kiproofstyle}

%% Zakázání starého prostředí pro sazbu důkazů.
\let\proof\@undefined

%% Definice prostředí pro sazbu teorémů.
\declaretheorem[style=kidefstyle,numbered=yes,name=\@textdefinition]{definition}
\declaretheorem[sibling=definition,style=kithmstyle,numbered=yes,name=\@textlemma]{lemma}
\declaretheorem[sibling=definition,style=kithmstyle,numbered=yes,name=\@textconsequence]{consequence}
\declaretheorem[sibling=definition,style=kiremexstyle,numbered=yes,name=\@textremark]{remark}
\declaretheorem[sibling=definition,style=kiremexstyle,numbered=yes,name=\@textexample]{example}
\declaretheorem[sibling=definition,style=kithmstyle,numbered=yes,name=\@texttheorem]{theorem}
\declaretheorem[style=kiproofstyle,numbered=no,name=\@textproof]{proof}

\let\orglistoftheorems=\listoftheorems

%% Seznam teorémů.
\renewcommand{\listoftheorems}{
  \orglistoftheorems[ignoreall,show={definition,consequence,lemma,remark,theorem,proof,example}]
}

%% Čítání rovnic na základě sekcí.
%\counterwithin{equation}{section}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% Sazba seznamů.
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\newcommand{\@printlists}{
  \cleardoublepage
  \ifthenelse{\equal{\kib@figures}{true}}{
    \listoffigures
    \ifthenelse{\equal{\kib@joinlists}{true}}{
      \relax
    }{
      \clearpage
    }
  }{
    \relax
  }
  
  \ifthenelse{\equal{\kib@tables}{true}}{
    \listoftables
    \ifthenelse{\equal{\kib@joinlists}{true}}{
      \relax
    }{
      \clearpage
    }
  }{
    \relax
  }

  \ifthenelse{\equal{\kib@theorems}{true}}{
    \listoftheorems
    \ifthenelse{\equal{\kib@joinlists}{true}}{
      \relax
    }{
      \clearpage
    }
  }{
    \relax
  }

  \ifthenelse{\equal{\kib@sourcecodes}{true}}{
    \lstlistoflistings
    \ifthenelse{\equal{\kib@joinlists}{true}}{
      \relax
    }{
      \clearpage
    }
  }{
    \relax
  }
  \cleardoublepage
}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% Další.
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

%% Sloupce pro tabulky s uživatelsky stanovenou šířkou a zarovnáním
%% textu na danou stranu.
%% Použití: \begin{tabular}{| c | L{3cm} | C{3cm} | R{3cm} |}
\newcolumntype{L}[1]{>{\raggedright\let\newline\\\arraybackslash\hspace{0pt}}p{#1}}
\newcolumntype{R}[1]{>{\raggedleft\let\newline\\\arraybackslash\hspace{0pt}}p{#1}}

\endinput
kidiplom.cls · 18 KB
%%%  KI PřF UP v Olomouci Diplom Class
%%%  Copyright (C) 2012 Martin Rotter, <[email protected]>
%%%  Copyright (C) 2014 Jan Outrata, <[email protected]>

\NeedsTeXFormat{LaTeX2e}
\ProvidesClass{kidiplom}[2012/09/09 KI PrF UP v Olomouci Diploma Class]
\ClassWarningNoLine{kidiplom}{[kidiplom] You are using kidiplom class 1.2}

%% Základní třída a velikost písma 12pt.
\LoadClass[12pt]{article}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% Parametry.
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\RequirePackage{kvoptions}

\SetupKeyvalOptions {
	family=kid,
	prefix=kid@
}

%% [init]{name}[default]
%% diplomová práce, jinak bakalářská
\DeclareBoolOption{master}
%% studijní program/obor a specializace autora: pro diplomovou práci
%% infoi, infui, inf, ainfpst, ainf, uinf a binf, jinak ainfvs, pro
%% bakalářskou práci infoi, inf, itp, itk, ainfp, ainfk, infv a binf,
%% jinak infpvs
\DeclareStringOption[infpvs]{program}[infpvs]
\DeclareStringOption[false]{printversion}[true]
\DeclareStringOption[true]{joinlists}[true]
\DeclareStringOption[true]{figures}[true]
\DeclareStringOption[true]{tables}[true]
\DeclareStringOption[false]{theorems}[true]
\DeclareStringOption[false]{sourcecodes}[true]
\DeclareStringOption[false]{biblatex}[true]
\DeclareStringOption[czech]{language}[czech]
\DeclareStringOption[false]{glossaries}[true]
\DeclareStringOption[false]{index}[true]
\DeclareStringOption[serif]{font}[serif]
\DeclareStringOption[utf8]{encoding}[utf8]
\DeclareStringOption[utf8]{bibencoding}[utf8]

%% Nerozpoznaný parametr hodí chybu.
\DeclareDefaultOption{\ClassWarningNoLine{kidiplom}{[kidiplom] Option '\CurrentOption' was not recognized}}

\ProcessKeyvalOptions*

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% Balíky.
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

%% KI PřF UP v Olomouci Base styl.
\RequirePackage[
  printversion=\kid@printversion,
  joinlists=\kid@joinlists,
  figures=\kid@figures,
  tables=\kid@tables,
  theorems=\kid@theorems,
  sourcecodes=\kid@sourcecodes,
  biblatex=\kid@biblatex,
  language=\kid@language,
  glossaries=\kid@glossaries,
  index=\kid@index,
  font=\kid@font,
  encoding=\kid@encoding,
  bibencoding=\kid@bibencoding
]{kibase}

%% Oboustranná sazba není povolená.
\ifthenelse{\boolean{@twoside}}{
  \ClassError{kidiplom}{Two-sided document mode is not allowed for kidiplom.}
}{}

%% Geometrie papíru.
\RequirePackage[
  paper=a4paper,
  driver=pdftex,
  top=3.5cm,
  left=4cm,
  bottom=3.5cm,
  width=1.05\textwidth
]{geometry}

%% Číslo poslední strany: label LastPage.
\RequirePackage{lastpage}

%% AMS symboly.
\RequirePackage{amsbsy}
\RequirePackage{amssymb}
\RequirePackage{euscript}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% Dynamické texty.
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

%% Čeština.
\def\@bachelorcz{bakal\'a\v rsk\'a pr\'ace}
\def\@mastercz{diplomov\'a pr\'ace}
\def\@programinfcz{Informatika}
\def\@programainfcz{Aplikovan\'a informatika}
\def\@programitcz{Informa\v cn\'i technologie}
\def\@programinfvcz{Informatika pro vzd\v el\'av\'an\'i}
\def\@programuinfcz{U\v citelstv\'i informatiky pro
        st\v redn\'i \v skoly}
\def\@programbinfcz{Bioinformatika}
\def\@specialoicz{Obecn\'a informatika}
\def\@specialpvscz{Programov\'an\'i a v\'yvoj software}
\def\@specialuicz{Um\v el\'a inteligence}
\def\@specialvscz{V\'yvoj software}
\def\@specialpstcz{Po\v c\'ita\v cov\'e syst\'emy a technologie}
\def\@presentformcz{prezen\v cn\'i forma}
\def\@combinedformcz{kombinovan\'a forma}
\def\@czlangcz{\v cesk\'y}
\def\@enlangcz{anglick\'y}
\def\@sklangcz{slovensk\'y}

\def\@textbibinfocz{Bibliografick\'e \'udaje}
\def\@texttitlecz{N\'azev pr\'ace}
\def\@textauthorcz{Autor}
\def\@textthesistypecz{Typ pr\'ace}
\def\@textdeptcz{Pracovi\v st\v e}
\def\@textyearofsubmitcz{Rok obhajoby}
\def\@textpagescz{Po\v cet stran}
\def\@textsupplcz{P\v r\'ilohy}
\def\@textsupervisorcz{Vedouc\'i pr\'ace}
\def\@textprogramcz{Studijn\'i program}
%\def\@textfieldcz{Studijn\'i obor}
\def\@textspecialcz{Specializace}
\def\@textlangcz{Jazyk práce}
\def\@textanotcz{Anotace}
\def\@textkeywordscz{Klí\v cov\'a slova}
\def\@textconclusionscz{Z\'av\v er}

%% Angličtina.
\def\@bacheloren{bachelor thesis}
\def\@masteren{master thesis}
\def\@programinfen{Computer Science}
\def\@programainfen{Applied Computer Science}
\def\@programinfven{Computer Science for Education}
\def\@programiten{Information Technologies}
\def\@programuinfen{Teaching Training in Computer Science for Secondary Schools}
\def\@programbinfen{Bioinformatics}
\def\@specialoien{General Computer Science}
\def\@specialpvsen{Programming and Software Development}
\def\@specialuien{Artificial Intelligence}
\def\@specialvsen{Software Development}
\def\@specialpsten{Computer Systems and Technologies}
\def\@presentformen{full-time form}
\def\@combinedformen{combined form}
\def\@czlangen{Czech}
\def\@enlangen{English}
\def\@sklangen{Slovak}

\def\@textbibinfoen{Bibliographic info}
\def\@texttitleen{Title}
\def\@textauthoren{Author}
\def\@textthesistypeen{Thesis type}
\def\@textdepten{Department}
\def\@textyearofsubmiten{Year of defense}
\def\@textpagesen{Page count}
\def\@textsupplen{Supplements}
\def\@textsupervisoren{Supervisor}
\def\@textprogramen{Study program}
%\def\@textfielden{Study field}
\def\@textspecialen{Specialization}
\def\@textlangen{Thesis language}
\def\@textanoten{Synopsis}
\def\@textkeywordsen{Keywords}
\def\@textconclusionsen{Conclusions}

%% Slovenština.
\def\@textanotsk{Anot\'acia}
\def\@textkeywordssk{K\v lú\v cov\'e slov\'a}
\def\@textconclusionssk{Z\'aver}

%% Typ práce a studijní obor autora (podle typu práce).
\ifthenelse{\boolean{kid@master}}{
  %% Magisterská.
  \def\@thesistypecz{\@mastercz}
  \def\@thesistypeen{\@masteren}
  \ifthenelse{\equal{\kid@program}{infoi}}{
    \def\@programen{\@programinfen, \@textspecialen: \@specialoien}
    \def\@programcz{\@programinfcz, \@textspecialcz: \@specialoicz}
  }{
    \ifthenelse{\equal{\kid@program}{infui}}{
      \def\@programen{\@programinfen, \@textspecialen: \@specialuien}
      \def\@programcz{\@programinfcz, \@textspecialcz: \@specialuicz}
    }{
      \ifthenelse{\equal{\kid@program}{ainfpst}}{
        \def\@programen{\@programainfen, \@textspecialen: \@specialpsten}
        \def\@programcz{\@programainfcz, \@textspecialcz: \@specialpstcz}
      }{
        \ifthenelse{\equal{\kid@program}{uinf}}{
          \def\@programen{\@programuinfen, \@presentformen}
          \def\@programcz{\@programuinfcz, \@presentformcz}
        }{
          \ifthenelse{\equal{\kid@program}{binf}}{
            \def\@programen{\@programbinfen, \@presentformen}
            \def\@programcz{\@programbinfcz, \@presentformcz}
          }{
            \ifthenelse{\equal{\kid@program}{inf}}{
              \def\@programen{\@programinfen, \@presentformen}
              \def\@programcz{\@programinfcz, \@presentformcz}
            }{
              \ifthenelse{\equal{\kid@program}{ainf}}{
                \def\@programen{\@programainfen, \@presentformen}
                \def\@programcz{\@programainfcz, \@presentformcz}
              }{
                % \ifthenelse{\equal{\kid@program}{ainfvs}}
                \def\@programen{\@programainfen, \@textspecialen: \@specialvsen}
                \def\@programcz{\@programainfcz, \@textspecialcz: \@specialvscz}
              }
            }
          }
        }
      }
    }
  }
}{
  %% Bakalářská.
  \def\@thesistypecz{\@bachelorcz}
  \def\@thesistypeen{\@bacheloren}
  \ifthenelse{\equal{\kid@program}{infoi}}{
    \def\@programen{\@programinfen, \@textspecialen: \@specialoien}
    \def\@programcz{\@programinfcz, \@textspecialcz: \@specialoicz}
  }{
    \ifthenelse{\equal{\kid@program}{itp}}{
      \def\@programen{\@programiten, \@presentformen}
      \def\@programcz{\@programitcz, \@presentformcz}
    }{
      \ifthenelse{\equal{\kid@program}{itk}}{
        \def\@programen{\@programiten, \@combinedformen}
        \def\@programcz{\@programitcz, \@combinedformcz}
      }{
        \ifthenelse{\equal{\kid@program}{infv}}{
          \def\@programen{\@programinfven, \@presentformen}
          \def\@programcz{\@programinfvcz, \@presentformcz}
        }{
          \ifthenelse{\equal{\kid@program}{binf}}{
            \def\@programen{\@programbinfen, \@presentformen}
            \def\@programcz{\@programbinfcz, \@presentformcz}
          }{
            \ifthenelse{\equal{\kid@program}{inf}}{
              \def\@programen{\@programinfen, \@presentformen}
              \def\@programcz{\@programinfcz, \@presentformcz}
            }{
              \ifthenelse{\equal{\kid@program}{ainfp}}{
                \def\@programen{\@programainfen, \@presentformen}
                \def\@programcz{\@programainfcz, \@presentformcz}
              }{
                \ifthenelse{\equal{\kid@program}{ainfk}}{
                  \def\@programen{\@programainfen, \@combinedformen}
                  \def\@programcz{\@programainfcz, \@combinedformcz}
                }{
                  % \ifthenelse{\equal{\kid@program}{infpvs}}
                  \def\@programen{\@programinfen, \@textspecialen: \@specialpvsen}
                  \def\@programcz{\@programinfcz, \@textspecialcz: \@specialpvscz}
                }
              }
            }
          }
        }
      }
    }
  }
}

%% Angličtina.
\ifthenelse{\equal{\kid@language}{english}}{
  \def\@thesistype{\@thesistypeen}
  \def\@textprogram{\@textprogramen}
  \def\@program{\@programen}
  \def\@textsupervisor{\@textsupervisoren}
  \def\@langcz{\@enlangcz}
  \def\@langen{\@enlangen}
  \def\@textanot{\@textanoten}
  \def\@textkeywords{\@textkeywordsen}
  \def\@textaffirm{By submitting this text its author declares that he/she has completed this thesis including its appendices on his/her own and used solely the sources cited in the text and included in the bibliography list.}
  \def\@textsubmitdate{date of thesis submission}
  \def\@textsigniture{author's signature}
}{
  \relax
}

%% Čeština.
\ifthenelse{\equal{\kid@language}{czech}}{
  \def\@thesistype{\@thesistypecz}
  \def\@textprogram{\@textprogramcz}
  \def\@program{\@programcz}
  \def\@textsupervisor{\@textsupervisorcz}
  \def\@langcz{\@czlangcz}
  \def\@langen{\@czlangen}
  \def\@textanot{\@textanotcz}
  \def\@textkeywords{\@textkeywordscz}
  \def\@textaffirm{Odevzd\'an\'im tohoto textu jeho autor/ka m\'istop\v r\'ise\v zn\v e prohla\v suje, \v ze celou pr\'aci v\v cetn\v e p\v r\'iloh vypracoval/a samostatn\v e a za pou\v zit\'i pouze zdroj\r u citovan\'ych v~textu pr\'ace a uveden\'ych v seznamu literatury.}
  \def\@textsubmitdate{datum odevzd\'an\'i pr\'ace}
  \def\@textsigniture{podpis autora}
}{
  \relax
}

%% Slovenština.
\ifthenelse{\equal{\kid@language}{slovak}}{
  \def\@thesistype{\@thesistypecz}
  \def\@textprogram{\@textprogramcz}
  \def\@program{\@programcz}
  \def\@textsupervisor{\@textsupervisorcz}
  \def\@langcz{\@sklangcz}
  \def\@langen{\@sklangen}
  \def\@textanot{\@textanotsk}
  \def\@textkeywords{\@textkeywordssk}
  \def\@textaffirm{Odevzdan\'im tohto textu jeho autor/ka cestne vyhlasuje, \v ze cel\'u pr\'acu vr\'atane pr\'iloh vypracoval/a samostatne a za pou\v zitia iba zdrojov spom\'inan\'ych v~texte pr\'ace a uveden\'ych v zozname literat\'ury.
}
  \def\@textsubmitdate{d\'atum odovzdania pr\'ace}
  \def\@textsigniture{podpis autora}
}{
  \relax
}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% Prostředí pro závěry.
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\newenvironment{kiconclusions}[1][\kid@language]{
  \clearpage
  \bgroup
  \phantomsection
  \ifthenelse{\equal{#1}{english}}{
    \addcontentsline{toc}{section}{\@textconclusionsen}
    \section*{\@textconclusionsen}
    \begin{otherlanguage}{english}
  }{}
  \ifthenelse{\equal{#1}{czech}}{
    \addcontentsline{toc}{section}{\@textconclusionscz}
    \section*{\@textconclusionscz}
    \begin{otherlanguage}{czech}
  }{}
  \ifthenelse{\equal{#1}{slovak}}{
    \addcontentsline{toc}{section}{\@textconclusionssk}
    \section*{\@textconclusionssk}
    \begin{otherlanguage}{slovak}
  }{}
}{
  \end{otherlanguage}
  \egroup
}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% Úvodní strany.
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

%% Makra pro název a podnázev práce.
%\def\title#1{\gdef\@title{#1}}
\renewcommand{\title}[2][\kid@language]{
  \ifthenelse{\equal{#1}{english}}{
    \gdef\@titleen{#2}
  }{
    \gdef\@titlecz{#2}
  }
}

%\def\subtitle#1{\gdef\@subtitle{#1}}
\newcommand{\subtitle}[2][\kid@language]{
  \ifthenelse{\equal{#1}{english}}{
    \gdef\@subtitleen{#2}
  }{
    \gdef\@subtitlecz{#2}
  }
}

\ifthenelse{\equal{\kid@language}{english}}{
  \gdef\@title{\@titleen}
  \gdef\@subtitle{\@subtitleen}
}{
  \gdef\@title{\@titlecz}
  \gdef\@subtitle{\@subtitlecz}
}

%% Makra pro anotaci, klíčová slova a přílohy.
\newcommand{\annotation}[2][\kid@language]{
  \ifthenelse{\equal{#1}{english}}{
    \gdef\@annotationen{#2}
  }{
    \gdef\@annotationcz{#2}
  }
}

\newcommand{\keywords}[2][\kid@language]{
  \ifthenelse{\equal{#1}{english}}{
    \gdef\@keywordsen{#2}
  }{
    \gdef\@keywordscz{#2}
  }
}

\ifthenelse{\equal{\kid@language}{english}}{
  \gdef\@keywords{\@keywordsen}
}{
  \gdef\@keywords{\@keywordscz}
}

\newcommand{\supplements}[2][\kid@language]{
  \ifthenelse{\equal{#1}{english}}{
    \gdef\@supplen{#2}
  }{
    \gdef\@supplcz{#2}
  }
}

%% Makra pro autora, vedoucího a datum odevzdání práce.
\def\author#1{\gdef\@author{#1}}
\def\supervisor#1{\gdef\@supervisor{#1}}
\def\yearofsubmit#1{\gdef\@yearofsubmit{#1}}

%% Makro pro poděkování.
\def\thanks#1{\gdef\@thanks{#1}}

%% Výchozí hodnoty pro předchozí makra.
\title[czech]{N\'azev pr\'ace}
\title[english]{Thesis title}
\subtitle[czech]{}
\subtitle[english]{}
\annotation[czech]{V\'ysti\v zn\'a anotace pr\'ace}
\annotation[english]{Apposite thesis synopsis}
\keywords[czech]{stru\v cn\'a vhodn\'a kl\'i\v cov\'a slova}
\keywords[english]{short appropriate keywords}
\supplements[czech]{elektronická data v úložišti katedry informatiky}
\supplements[english]{electronic data in the storage of department of computer science}
\ifthenelse{\equal{\kid@language}{english}}{
  \author{Author name}
  \supervisor{Supervisor name}
}{
  \author{Jm\'eno autora}
  \supervisor{Jm\'eno vedouc\'iho pr\'ace}
}
\yearofsubmit{\the\year}

%% Číslování stran v českých (a slovenských) textech od 1 do konce.
\ifthenelse{\not\equal{\kid@language}{english}}{
  %% HACK: pro sekvenční fyzické číslování stran, protože
  %% např. \tableofcontents číslování resetuje.
  \let\orgsetcounter=\setcounter
  \renewcommand\setcounter[2]{%
    \def\tempa{#1}%
    \def\tempb{page}%
    \ifx\tempa\tempb\else\orgsetcounter{#1}{#2}\fi}
}{
  \relax
}

%% Makro pro titulní stranu.
\def\maketitle{
%% Záložka.
\hypertarget{ki:paper}{}
\bookmark[dest=ki:paper]{\@title}
%% Římské číslování úvodních stran v anglických textech.
\ifthenelse{\equal{\kid@language}{english}}{
  \pagenumbering{roman}
}{}
%% Číslování stran od 1.
\setcounter{page}{1}

%% Titulní strana.
\begin{titlepage}
%% Záložka.
\hypertarget{ki:title}{}
\bookmark[
  rellevel=1,
  keeplevel,
  dest=ki:title
]{\@texttitle}
\begin{center}
%{\fontfamily{ppl}\selectfont \large \MakeUppercase{\kitextdept} \par
%  \MakeUppercase{\kitextfaculty} \par \MakeUppercase{\kitextuniv} \par}
\ifthenelse{\equal{\kid@language}{english}}{
  \includegraphics[scale=.6]{graphics/kititle-en-nofont}
}{
  \includegraphics[scale=.6]{graphics/kititle-cz-nofont}
}
\vfill
{\LARGE\bfseries{\MakeUppercase{\@thesistype}} \\}
\vfill
{\Large \@title \\[4ex]\large\@subtitle}

\vfill
\centering
\includegraphics{\@logofile}
\vfill

\begin{tabular}{@{}L{6cm}@{}@{\hspace{.8cm}}@{}L{7.2cm}@{}}
{\Large\@yearofsubmit} & {\Large\@author} \\[2ex]
{\small\@textsupervisor:\newline \@supervisor} & {\small\@textprogram: \@program}
\end{tabular}

\end{center}
\end{titlepage}

%% Strana s bibliografickými identifikačními údaji.
\thispagestyle{empty}
{\small
{\bf \@textbibinfocz} \par
\bigskip
\renewcommand{\arraystretch}{1.5}
\begin{tabular}{@{}p{3cm}@{\hspace{.5cm}}@{}p{10cm}@{}}
\@textauthorcz: & \@author \\
\@texttitlecz: & \@titlecz%
\ifthenelse{\equal{\@subtitlecz}{}}{%
  \relax
}{%
\ (\@subtitlecz)
} \\
\@textthesistypecz: & \@thesistypecz \\
\@textdeptcz: & \kitextdeptcz, \kitextfacultycz, \kitextunivcz \\
\@textyearofsubmitcz: & \@yearofsubmit \\
\@textprogramcz: & \@programcz \\
\@textsupervisorcz: & \@supervisor \\
\@textpagescz: & \nohref{\pageref{LastPage}} \\
\@textsupplcz: & \@supplcz \\
\@textlangcz: & \@langcz
\end{tabular}
\par
\vspace*{8ex}
{\bf \@textbibinfoen} \par
\bigskip
\renewcommand{\arraystretch}{1.5}
\begin{tabular}{@{}p{3cm}@{\hspace{.5cm}}@{}p{10cm}@{}}
\@textauthoren: & \@author \\
\@texttitleen: & \@titleen%
\ifthenelse{\equal{\@subtitleen}{}}{%
  \relax
}{%
\ (\@subtitleen)
} \\
\@textthesistypeen: & \@thesistypeen \\
\@textdepten: & \kitextdepten, \kitextfacultyen, \kitextuniven \\
\@textyearofsubmiten: & \@yearofsubmit \\
\@textprogramen: & \@programen \\
\@textsupervisoren: & \@supervisor \\
\@textpagesen: & \nohref{\pageref{LastPage}} \\
\@textsupplen: & \@supplen \\
\@textlangen: & \@langen
\end{tabular}
}

%% Strana s anotací a klíčovými slovy.
\cleardoublepage
\thispagestyle{empty}
\null\vfill
%% Záložka.
\hypertarget{ki:anotation}{}
\bookmark[
  rellevel=1,
  keeplevel,
  dest=ki:anotation
]{\@textanot}
\begin{center}
\ifthenelse{\equal{\kid@language}{english}}{
  \textbf{\@textanotcz}
}{
  \textbf{\@textanot}
}
\end{center}
\bigskip
\emph{\@annotationcz}
\vspace*{4ex}
\begin{center}
\textbf{\@textanoten}
\end{center}
\bigskip
\emph{\@annotationen}
\par
\vspace*{10ex}
\noindent\textbf{\ifthenelse{\equal{\kid@language}{english}}{\@textkeywordscz:}{\@textkeywords:}}
\@keywordscz
\par
\vspace*{2ex}
\noindent\textbf{\@textkeywordsen:} \@keywordsen
\vfill\null

%% Strana s poděkováním a prohlášením.
\clearpage
\thispagestyle{empty}
\null\vfill
\ifthenelse{\equal{\@thanks}{}}{
\relax
}{
\noindent\@thanks
}
\vfill
\noindent\emph{\@textaffirm}\par
%\vspace*{10ex}
%\noindent\@textsubmitdate \hfill \@textsigniture

%% Obsah a seznamy obrázků, tabulek, vět a zdrojových kódů.
\tableofcontents
\@printlists

%% Arabské číslování stran textu v anglických textech.
%% Číslování stran od 1.
\ifthenelse{\equal{\kid@language}{english}}{
  \pagenumbering{arabic}
  \setcounter{page}{1}
}{}
}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% Info o dokumentu.
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\AtBeginDocument{
\hypersetup{
  pdftitle={\@title\ (\@thesistype)},
  pdfauthor={\@author\ (\@textsupervisor: \@supervisor)},
  pdfsubject={\@program},
  pdfcreator={\@author},
  pdfkeywords={\@keywords}
}
}

\endinput
kidiplom.tex — the file that is compiled · 26 KB
%%%  Ukázkový text a dokumentace stylu pro text závěrečné (bakalářské a
%%%  diplomové) práce na KI PřF UP v Olomouci
%%%  Copyright (C) 2012 Martin Rotter, <[email protected]>
%%%  Copyright (C) 2014 Jan Outrata, <[email protected]>


%%  Pro získání PDF souboru dokumentu je třeba tento zdrojový text v
%%  LaTeXu přeložit (dvakrát) programem pdfLaTeX.

%%  V případě použití programu BibLaTeX pro tvorbu seznamu literatury
%%  je poté ještě třeba spustit program Biber s parametrem jméno
%%  souboru zdrojového textu bez přípony a následně opět (dvakrát)
%%  přeložit zdrojový text programem pdfLaTeX.

%%  Postup získání Postscriptového souboru je popsán v dokumentaci.


%%  Třída dokumentu implementující styl pro závěrečnou práci. Vybrané
%%  nepovinné parametry (ostatní v dokumentaci):

%%  'master' pro sazbu diplomové práce, jinak se sází bakalářská práce

%%  'program=kód' pro Váš studijní program/obor (specializaci), kódy
%%  pro diplomovou práci 'infoi' pro Informatiku (Obecná informatika),
%%  'infui' pro Informatiku (Umělá inteligence), 'ainfpst' pro
%%  Aplikovanou informatiku (Počítačové systémy a technologie), 'uinf'
%%  pro Učitelství informatiky pro střední školy, 'binf' pro
%%  Bioinformatiku, 'inf' pro Informatiku (bez specializací) a 'ainf'
%%  pro Aplikovanou informatiku (bez specializací), jinak je výchozí
%%  ainfvs pro Aplikovanou informatiku (Vývoj software), a pro
%%  bakalářskou práci 'infoi' pro Informatiku (Obecná informatika),
%%  'itp' pro Informační technologie v prezenční formě, 'itk' pro
%%  Informační technologie v kombinované formě, 'infv' pro Informatiku
%%  pro vzdělávání, 'binf' pro Bioinfomatiku, 'inf' pro Informatiku
%%  (bez specializací), 'ainfp' pro Aplikovanou informatiku (bez
%%  specializací) v prezenční formě, 'ainfk' pro Aplikovanou
%%  informatiku (bez specializací) v kombinované formě, jinak je
%%  výchozí infpvs pro Informatiku (Programování a vývoj software)

%%  'printversion' pro sazbu verze pro tisk (nebarevné logo a odkazy,
%%  odkazy s uvedením adresy za odkazem, ne odkazy do rejstříku),
%%  jinak verze pro prohlížeč

%%  'biblatex' pro zapnutí podpory pro sazbu bibliografie pomocí
%%  BibLaTeXu, jinak je výchozí sazba v prostředí thebibliography

%%  'language=jazyk' pro jazyk práce, jazyky english pro anglický,
%%  slovak pro slovenský, jinak je výchozí czech pro český

%%  'font=sans' pro bezpatkový font (Iwona Light), jinak je výchozí
%%  serif pro patkový (Latin Modern)

%%  'figures, tables, theorems a sourcecodes' pro sazbu seznamu
%%  obrázků, tabulek, vět a zdrojových kódů, jinak při =false se
%%  nesází (u theorems a sourcecodes výchozí)

\documentclass[
%  master,
%  program=ainfvs,
%  printversion,
  biblatex,
%  language=english,
%  font=sans,
  figures=false,
%  tables=false,
%  theorems,
%  sourcecodes,
  glossaries,
  index
]{kidiplom}

%% Informace pro úvodní strany. V jazyku práce (pokud není v komentáři
%% uvedeno česky) a anglicky. Uveďte všechny, u kterých není v
%% komentáři uvedeno, že jsou volitelné. Při neuvedení se použijí
%% výchozí texty. Text pro jiný než nastavený jazyk práce (nepovinným
%% parametrem language makra \documentclass, výchozí český) se zadává
%% použitím makra s uvedením jazyka jako nepovinného parametru.

%% Název práce, česky a anglicky. Měl by se vysázet na jeden řádek.
\title{Your paper}
\title[english]{A style for thesis}

%% Volitelný podnázev práce, česky a anglicky. Měl by se vysázet na
%% jeden řádek. Výchozí je prázdný.
\subtitle{Ukázkový text a dokumentace stylu v \LaTeX{}u}
\subtitle[english]{Sample text and documentation of the \LaTeX{} style}

%% Jméno autora práce. Makro nemá nepovinný parametr pro uvedení
%% jazyka.
\author{Martin Rotter}

%% Jméno vedoucího práce (včetně titulů). Makro nemá nepovinný
%% parametr pro uvedení jazyka.
\supervisor{doc. Mgr. Jan Outrata, Ph.D.}

%% Volitelný rok odevzdání práce. Výchozí je aktuální (kalendářní)
%% rok. Makro nemá nepovinný parametr pro uvedení jazyka.
%\yearofsubmit{\the\year}

%% Anotace práce, včetně anglické (obvykle překlad z jazyka
%% práce). Jeden odstavec!
\annotation{Ukázkový text závěrečné práce na Katedře informatiky
  Přírodovědecké fakulty Univerzity Palackého v Olomouci, který je
  zároveň dokumentací stylu pro text práce v \LaTeX{}u. Zdrojový text
  v \LaTeX{}u je doporučeno použít jako šablonu pro text skutečné
  závěrečné práce studenta.}

\annotation[english]{Sample text of thesis at the \kitextdepten,
  \kitextfacultyen, \kitextuniven{} and, at the same time,
  documentation of the \LaTeX{} style for the text. The source text in
  \LaTeX{} is recommended to be used as a template for real student's
  thesis text.}

%% Klíčová slova práce, včetně anglických. Oddělená (obvykle) středníkem.
\keywords{styl textu; závěrečná práce; dokumentace; ukázkový text}
\keywords[english]{text style; thesis; documentation; sample text}

%% Volitelná specifikace příloh textu práce, i anglicky. Výchozí je
%% 'elektronická data v systému katedry informatiky / electronic data
%% in system of department of computer science'.
%\supplements{nejlepší software všech dob}
%\supplements[english]{the best software of all times}

%% Volitelné poděkování. Stručné! Výchozí je prázdné. Makro nemá
%% nepovinný parametr pro uvedení jazyka.
\thanks{Děkuji, děkuji, děkuji.}

%% Cesta k souboru s bibliografií pro její sazbu pomocí BibLaTeXu
%% (zvolenou nepovinným parametrem biblatex makra
%% \documentclass). Použijte pouze při této sazbě, ne při (výchozí)
%% sazbě v prostředí thebibliography.
\bibliography{bibliografie.bib}

%% Další dodatečné styly (balíky) potřebné pro sazbu vlastního textu
%% práce.
\usepackage{lipsum}
\usepackage{longtable}

\begin{document}
%% Sazba úvodních stran -- titulní, s bibliografickými údaji, s
%% anotací a klíčovými slovy, s poděkováním a prohlášením, s obsahem a
%% se seznamy obrázků, tabulek, vět a zdrojových kódů (pokud jejich
%% sazba není vypnutá).
\maketitle

%% Vlastní text závěrečné práce. Pro povinné závěry, před přílohami,
%% použijte prostředí kiconclusions. Povinná je i příloha s obsahem
%% elektronických dat.

%% -------------------------------------------------------------------

\newcommand{\BibLaTeX}{\textsc{Bib}\LaTeX}

% \noindent\textcolor{red}{\LARGE Upozornění: Následující text
%   dokumentace stylu, vyjma přílohy~\ref{sec:ObsahData}, je rozpracovaná
%   a (značně) neúplná verze!!!}

\section{Styly pro psaní bakalářských a diplomových prací}
Toto jsou styly pro psaní bakalářských a diplomových prací přes typografický systém \LaTeX{}, tedy \textbf{kistyles}.

\subsection{Požadavky a podprovaná prostředí}
Sada balíku \textbf{kistyles} podporuje následující distribuce systému \LaTeX{}:
\begin{itemize}
\item \TeX{} Live.
\end{itemize}

Jsou podporovány všechny výstupní ovladače, tedy jak \textbf{dvi}, tak \textbf{pdf} i \textbf{ps}. Funkčnost zmiňovaných distribucí byla ověřena na několika operačních systémech, mezi které patří:
\begin{enumerate}
\item Windows $8.1$,
\item Archlinux,
\item Debian GNU/Linux.
\end{enumerate}

Důrazně se doporučuje používat aktuální verzi dané distribuce systému \LaTeX{}.

%%%  Po přeložení programem CSLaTeX (třikrát) je potřeba použít
%%%  program DVIPS a takto získaný PostScriptový soubor vytisknout
%%%  na PostScriptové tiskárně nebo pomocí programu GhostScript.
%%%
%%%  Rovněž je možné použít program DVIPDFM a vytvořit z dokumentu
%%%  soubor ve formátu PDF včetně hypertextových odkazů.

\subsection{Přepínače}
Styl kidiplom je z hlediska uživatele zastoupen ekvivalentně nazvanou třídou, kterou je třeba volat na záčátku dokumentu:
\begin{kicode}{TeX}{}{Volání třídy \textbf{kidiplom}}
\documentclass[
  master,
  program=ainfvs,
  printversion,
  biblatex,
  language=english,
  font=sans,
  figures=false,
  tables=false,
  theorems,
  sourcecodes,
  joinlists,
  glossaries,
  index,
  encoding=utf8,
  bibencoding=utf8
]{kidiplom}
\end{kicode}

Následuje přehled přepínačů, je vždy uvedeno jméno přepínač, včetně výchozí hodnoty. Přepínače uvádí tabulka \ref{tab:prepinace}.

%\begin{table}
\begin{center}
\begin{longtable}{>{\bfseries}l >{\ttfamily}c L{8cm}}
\caption{Seznam přepínačů}\label{tab:prepinace}\\
  {\normalfont Přepínač} & {\normalfont Výchozí hodnota} & {\normalfont Popis} \\
\hline
master & false & Povolí nebo zakáže režim diplomové práce. Výchozí režim je tedy bakalářská práce. \\

printversion & false & Je-li zapnuto, pak budou odkazy vysázeny optimalizovaně pro knižní sazbu. Tuto volbu je nutno použít pro tisk práce. \\

biblatex & false & Zapne sazbu bibliografie přes balík \BibLaTeX{}. \\

language & czech & Jazyk textu práce. Možné hodnoty jsou \textbf{czech},
\textbf{english} a \textbf{slovak}. \\

font & serif & Zapne či vypne podporu pěkného bezpatkového fontu. Možné hodnoty jsou:\newline
\begin{description}\setlength{\itemsep}{-1ex}
\item[serif] Patkové písmo (Computer Modern).
\item[sans] Bezpatkové písmo (Iwona).
\end{description} \\[-3ex]

figures & true & Je-li zapnuto, pak v seznamech položek bude zahrnut seznam obrázků. \\

tables & true & Je-li zapnuto, pak v seznamech položek bude zahrnut seznam tabulek. \\

theorems & false & Je-li zapnuto, pak v seznamech bude zahrnut seznam teorémů. \\

sourcecodes & false & Je-li zapnuto, pak v seznamech bude zahrnut seznam zdrojových kódů. \\

%%% Argument `joinlists' způsobí zřetězení seznamů obrázků, tabulek,
%%% vět a zdrojových kódů. Není-li použít, všechny seznamy jsou
%%% uvedeny na samostatných stránkách.

joinlists & true & Je-li zapnuto, pak seznamy obrázků, tabulek, vět a
zdrojových kódů sázené za obsahem nebudou rozděleny na samostatné stránky. \\

glossaries & false & Je-li zapnuto, pak na konci dokumentu bude vysázen seznam zkratek. \\

index & false & Zapíná podporu sazby rejstříku. \\

%%  'encoding=kódování' pro kódování tohoto a vložených zdrojových
%%  textů v kódování jiném než výchozím utf8
encoding & utf8 & Kódování souboru dokumentu, doporučuje se ponechat výchozí hodnotu. \\

bibencoding & utf8 & Kódování souboru bibliografie. Tato volba má
smysl pouze, pokud je použita bibliografie skrze balíček \BibLaTeX{}. \\

program & \vtop{\hbox{\strut infpvs}\hbox{\strut ainfvs}} & Specifikuje studijní program/obor (specializaci):\newline
\begin{description}
\item[infoi] Informatika (Obecná informatika)\,--\,bakalářský i navazující magisterský,
\item[infpvs] Informatika (Programování a vývoj software)\,--\,bakalářský,
\item[itp] Informační technologie\,--\,bakalářský, prezenční forma,
\item[itk] Informační technologie\,--\,bakalářský, kombinovaná forma,
\item[infui] Informatika (Umělá inteligence)\,--\,navazující magisterský,
\item[ainfvs] Aplikovaná informatika (Vývoj software)\,--\,navazující magisterský,
\item[ainfpst] Aplikovaná informatika (Počítačové systémy a technologie)\,--\,navazující magisterský,
\item[infv] Informatika pro vzdělávání\,--\,bakalářský,
\item[uinf] Učitelství informatiky pro střední školy\,--\,navazující magisterský,
\item[binf] Bioinformatika\,--\,bakalářský i navazující magisterský,
\item[inf] Informatika (bez specializací)\,--\,bakalářský i navazující magisterský,
\item[ainfp] Aplikovaná informatika (bez specializací)\,--\,bakalářský, prezenční forma,
\item[ainfk] Aplikovaná informatika (bez specializací)\,--\,bakalářský, kombinovaná forma,
\item[ainf] Aplikovaná informatika (bez specializací)\,--\,navazující magisterský.
\end{description}
\end{longtable}
\end{center}
%\end{table}

\subsection{Geometrie stránky}
Tento styl používá list velikosti $A4$. Pro sazbu prací je třeba použít jednostrannou sazbu. Levý okraj je rozšířen s ohledem na vazbu výsledné knižní podoby práce.

\section{Sazba částí dokumentu}
\subsection{Sazba úvodní strany či obsahu}
Vysázení všech podstatných částí úvodu práce obstará makro \kiinlinecode{TeX}{!}{\\maketitle}. Pro správné vysázení všech částí a meta-informací je potřeba použí makra \kiinlinecode{TeX}{!}{\\title}, \mbox{\kiinlinecode{TeX}{!}{\\author}} a další. Jejich přehled lze najít ve zdrojovém souboru tohoto dokumentu. V případě použítí \textbf{pdf} výstupu se generuje i dodatečná hlavička souboru s meta-informacemi jako je autor dokumentu, název práce či dalšími.

\subsection{Závěry}
Závěr práce by se měl poskytnout jak v původním jazyce práce, tak v jazyce anglickém. Pro sazbu závěru jsou k dispozici příslušná makra. Berte na vědomí, že v anglickém závěru se aktivuje plně anglická sazba se všemi konvencemi. Tedy je třeba používat anglické uvozovky a další správné typografické prvky.

\begin{kicode}{TeX}{}{Sazba závěrů}
% Tiskne český závěr práce.
\begin{kiconclusions}
Závěr práce v \uv{českém} jazyce.
\end{kiconclusions}

% Tiskne anglický závěr práce.
\begin{kiconclusions}[english]
Thesis conclusions written in \uv{English}.
\end{kiconclusions}
\end{kicode}

\subsection{Matematika}
Pro sazbu matematiky je k dispozici sada standardních maker.
$$\langle f \rangle, \lfloor g \rfloor,
\lceil h \rceil, \ulcorner i \urcorner$$

$$\left\{\frac{x^2}{y^3}\right\}$$

$$
A_{m,n} =
 \begin{pmatrix}
  a_{1,1} & a_{1,2} & \cdots & a_{1,n} \\
  a_{2,1} & a_{2,2} & \cdots & a_{2,n} \\
  \vdots  & \vdots  & \ddots & \vdots  \\
  a_{m,1} & a_{m,2} & \cdots & a_{m,n}
 \end{pmatrix}
$$

$$
M = \begin{bmatrix}
       \frac{5}{6} & \frac{1}{6} & 0           \\[0.3em]
       \frac{5}{6} & 0           & \frac{1}{6} \\[0.3em]
       0           & \frac{5}{6} & \frac{1}{6}
     \end{bmatrix}
$$

\subsection{Sazba literatury}
Pro sazbu literatury má uživatel dvě možnosti. Může použít služeb balíků \BibLaTeX{}, který je pro \textbf{kistyles} zapnutý, či lze použít manuální sazbu bibliografie.
\subsubsection{Sazba bibliografie přes \BibLaTeX{}}
Při použití tohoto balíku se data o použité literatuře ukládají do dedikovaného textového souboru, ukázku najdete i v tomto stylu pod jménem \kiinlinecode{text}{!}{bibliografie.bib}.

Formát daného souboru je nad rámec této dokumentace a je na každém uživateli, aby si jej nastudoval. Bibliografie se tiskne makrem \kiinlinecode{TeX}{!}{\\printbibliography}. Taktéž v preambuli dokumentu je třeba definovat, který soubor data bibliografie obsahuje, tedy například \kiinlinecode{TeX}{!}{\\bibliography\{bibliografie.bib\}}.

Dokument, který využívá \BibLaTeX{} je následně nutné přeložit jak pomocí překladače zvoleného ovladače, tak pomocí aplikace \kiinlinecode{text}{!}{biber}. Více informací poskytne soubor \kiinlinecode{text}{!}{Makefile} z distribuce tohoto stylu.

Výhodou tohoto přístupu je, že bibliografie se vysází automaticky a (obvykle) není třeba manuální úprava formátování.

\subsubsection{Manuální sazba bibliografie}
Manuální sazba obnáší vysázení prostředí \kiinlinecode{text}{!}{thebibliography} ručně. To je nad rámec tohoto dokumentu. Ukázku tohoto přístupu lze samozřejmě nalézt ve zdrojovém souboru tohoto dokumentu nebo také \href{http://www.math.uiuc.edu/~hildebr/tex/bibliographies.html}{zde}.

Pro aktivaci manuální sazby bibliografie je třeba volat třídu \kiinlinecode{text}{!}{kidiplom} s parametrem \kiinlinecode{text}{!}{biblatex=false}. Mějte, prosím, na paměti, že v tomto módu jsou makra \kiinlinecode{text}{!}{\\bibliography} a \kiinlinecode{text}{!}{\\printbibliography} nedostupná.

\subsection{Drobná makra}
Základní styl definuje hned několik maker pro usnadnění práce. Například makro \kiinlinecode{TeX}{!}{\\buno} vysází řetezec \uv{bez újmy na obecnosti}. Je k dispozici i verze s prvním velkým písmenem, \kiinlinecode{TeX}{!}{\\Buno}.

Je rovněž možno přidávat položky do seznamu zkratek. K tomu slouží makro \mbox{\kiinlinecode{TeX}{!}{\\newacronym}}, které lze použít například jednoduše jako \kiinlinecode{TeX}{!}{\\newacronym\{UPOL\}\{UPOL\}\{\\kitextunivcz\}}. Na danou zkratku se pak lze odkazovat jednoduše, \mbox{\kiinlinecode{TeX}{!}{\\gls\{UPOL\}}}.

Sazba uvozovek respektuje nastavení částí dokumentu, a proto se doporučuje používat makro \kiinlinecode{TeX}{!}{\\uv}. V anglické závěru práce toto platí taky, viz tato PDF ukázka.

Styl podporuje sazbu odstavců v tabulkách, více obsahuje tabulka \ref{tab:odstavce}.

\begin{table}
\begin{center}
\caption{Odstavce v tabulkách}\label{tab:odstavce}
\begin{tabular}{L{4cm}|R{4cm}|L{4cm}}
\lipsum[23] & \lipsum[22] & \lipsum[21]
\end{tabular}
\end{center}
\end{table}

K dispozici jsou také makra pro sazbu \csharp{} (\kiinlinecode{TeX}{!}{\\csharp}) či \cpp{} (\kiinlinecode{TeX}{!}{\\cpp}).

%% v případě tvorby rejstříku přeložit vygenerovaný soubor .idx
%% programem Makeindex a v případě tvorby seznamu zkratek spustit
%% program Makeglossaries s parametrem jméno souboru zdrojového textu
%% bez přípony a následně opět (dvakrát) přeložit zdrojový text
%% programem pdfLaTeX.

\subsection{Sazba rejstříku}
Sazba rejstříku sestává z několika kroků:

\begin{enumerate}
\item Je třeba přes volbu \kiinlinecode{TeX}{!}{index=true} rejstříkování povolit.
\item Použítím makra \kiinlinecode{TeX}{!}{\\index} rejstříkovat vybrané pojmy.
\item Kompilovat s použitím utility \kiinlinecode{TeX}{!}{makeindex}. Pro specifika tohoto kroku si stačí prohlédnout soubor \kiinlinecode{text}{!}{Makefile}.
\end{enumerate}

Makro \kiinlinecode{TeX}{!}{\\index} je redefinováno tak, že sází klikací odkaz na výraz v rejstříku. Je doporučeno jej použít ihned za výrazem\index{výraz}.

\textbf{Omezení redefinovaného makra \kiinlinecode{TeX}{!}{\\index}}: klikací odkaz nefunguje, pokud použijete konstrukci \kiinlinecode{TeX}{!}{\\index\{výraz|makro\}} (resp. \kiinlinecode{TeX}{!}{\\index\{výraz|(makro\}}), např. \kiinlinecode{TeX}{!}{\\index\{výraz|textit\}}.

Rejstřík lze vysázet pomocí makra \kiinlinecode{TeX}{!}{\\printindex}.

\subsection{Sazba zdrojových kódů}
Styl nabízí dva způsoby sazby zdrojových kódů:

\begin{enumerate}
\item Sazbu řádkových kódů, například \kiinlinecode{CSS}{!}{background-color: white;}. K tomu slouží makro formátu \kiinlinecode{TeX}{!}{\\kiinlinecode\{jazyk\}\{separátor\}\{kód\}}. Za separátor je vhodné volit jakýkoliv znak, který se nevyskytuje v samotném sázeném zdrojovém kódu. Za jazyk je nutno dosadit jeden z těchto: C, TeX, PHP, HTML, Lisp, SQL, TeX, Python, Java, TutorialD, text, csharp, cpp, JavaScript, CSS.

\item Sazbu zdrojových kódu do separátních prostředí. Takto vytištěný kód se objeví v seznamu zdrojových kódů. Ukázka například zdrojový kód \ref{kod:cpp}. Ukázku sazby naleznete ve zdrojovém kódu tohoto dokumentu.
\end{enumerate}

\newacronym{UPOL}{UPOL}{\kitextunivcz}

\begin{definition}[Název definice]
Abcd. Abcd. Abcd. Abcd. Abcd. Abcd. Abcd. Abcd. Abcd. Abcd. Abcd. Abcd. Abcd. Abcd. Abcd. Abcd. Abcd. Abcd. Abcd. Abcd. Abcd. Abcd. Abcd. Abcd. Abcd. Abcd. Abcd. Abcd. Abcd. Abcd. \gls{UPOL}
\end{definition}

\begin{proof}[Název důkazu]
Abcd. Abcd. Abcd. Abcd. Abcd. Abcd. Abcd. Abcd. Abcd. Abcd. Abcd. Abcd. Abcd. Abcd. Abcd. Abcd. Abcd. Abcd. Abcd. Abcd. Abcd. Abcd. Abcd. Abcd. Abcd. Abcd. Abcd. Abcd. Abcd. Abcd.
\end{proof}

\begin{remark}[Pumpovací věta]
Abcd. Abcd. Abcd. Abcd. Abcd. Abcd. Abcd. Abcd. Abcd. Abcd. Abcd. Abcd. Abcd. Abcd. Abcd. Abcd. Abcd. Abcd. Abcd. Abcd. Abcd. Abcd. Abcd. Abcd. Abcd. Abcd. Abcd. Abcd. Abcd. Abcd.
\end{remark}

\begin{example}[Pumpovací věta]
Abcd. Abcd. Abcd. Abcd. Abcd. Abcd. Abcd. Abcd. Abcd. Abcd. Abcd. Abcd. Abcd. Abcd. Abcd. Abcd. Abcd. Abcd. Abcd. Abcd. Abcd. Abcd. Abcd. Abcd. Abcd. Abcd. Abcd. Abcd. Abcd. Abcd.
\end{example}

\begin{lemma}[Název definice]
Abcd. Abcd. Abcd. Abcd. Abcd. Abcd. Abcd. Abcd. Abcd. Abcd. Abcd. Abcd. Abcd. Abcd. Abcd. Abcd. Abcd. Abcd. Abcd. Abcd. Abcd. Abcd. Abcd. Abcd. Abcd. Abcd. Abcd. Abcd. Abcd. Abcd.
\end{lemma}

\begin{consequence}[Název důkazu]
Abcd. Abcd. Abcd. Abcd. Abcd. Abcd. Abcd. Abcd. Abcd. Abcd. Abcd. Abcd. Abcd. Abcd. Abcd. Abcd. Abcd. Abcd. Abcd. Abcd. Abcd. Abcd. Abcd. Abcd. Abcd. Abcd. Abcd. Abcd. Abcd.
\end{consequence}

\begin{theorem}[Pumpovací věta]
Abcd. Abcd. Abcd. Abcd. Abcd. Abcd. Abcd. Abcd. Abcd. Abcd. Abcd. Abcd. Abcd. Abcd. Abcd. Abcd. Abcd. Abcd. Abcd. Abcd. Abcd. Abcd. Abcd. Abcd. Abcd. Abcd. Abcd. Abcd. Abcd. Abcd.
\end{theorem}


\begin{kicode}{cpp}{kod:cpp}{\cpp}
int main("cs acsa") // komentar
int main("cs acsa") // komentar
int main("cs acsa") // komentar
int main("cs acsa") // komentar
int main("cs acsa") // komentar
\end{kicode}

\begin{kicode}{JavaScript}{}{JS}
new object() // komentar
\end{kicode}

\begin{kicode}{csharp}{}{\csharp}
public static int main("cs acsa") // komentar
\end{kicode}

\begin{kicode}{SQL}{}{SQL}
SELECT * FROM table_1; /* komentar */
\end{kicode}

\begin{kicode}{TutorialD}{}{TutorialD}
table_1 AND table_2;
\end{kicode}

%% Závěry práce. V jazyce práce a anglicky. Text pro jiný než
%% nastavený jazyk práce (nepovinným parametrem language makra
%% \documentclass, výchozí český) se zadává použitím makra s uvedením
%% jazyka jako nepovinného parametru.
\begin{kiconclusions}
Závěr práce v \uv{českém} jazyce.
\end{kiconclusions}

\begin{kiconclusions}[english]
Thesis conclusions in \uv{English}.
\end{kiconclusions}

%% Přílohy obsahu textu práce, za makrem \appendix.
\appendix

\section{První příloha}
Text první přílohy

\section{Druhá příloha}
Text druhé přílohy

%% Obsah elektronických dat. Poslední příloha. Upravte podle vlastní
%% práce!
\section{Obsah elektronických dat} \label{sec:ObsahData}

Na samotném konci textu práce je uveden stručný popis obsahu
elektronických dat odevzdaných v systému katedry informatiky spolu s
textem. Tato data jsou nedílnou součástí práce a tvoří (datovou)
přílohu textu práce. Povinné položky struktury dat jsou:

\begin{description}

\item[\texttt{text/}] \hfill \\
  Adresář s textem práce ve formátu PDF, vytvořený s~použitím
  závazného stylu KI PřF UP v~Olomouci pro závěrečné práce, včetně
  všech (textových) příloh, a~všechny soubory potřebné pro
  bezproblémové vytvoření PDF dokumentu textu (případně v~ZIP
  archivu), tj.~zdrojový text textu a příloh, vložené obrázky, apod.

\item[\texttt{README.*}] \hfill \\
  Textový soubor (s příponou např. \texttt{.txt}) s informacemi o
  opakovatelném způsobu použití ostatních dat práce -- typicky plně
  reprodukovatelný co nejúplnější funkční postup zprovoznění software
  vytvořeného v~rámci práce, tzn. jeho případné instalace/nasazení a
  spuštění, včetně uvedení všech požadavků pro bezproblémový provoz;
  za zprovoznění software se nepovažuje zpřístupnění (např. po
  Internetu) již někde zprovozněného software.

\item[\texttt{*}] \hfill \\
  Adresáře a soubory s veškerými ostatními autorskými daty práce
  (případně v~ZIP archivu) -- typicky spustitelné a další soubory
  software vytvořeného v rámci práce potřebné pro bezproblémový provoz
  software, případně jeho instalační program, a kompletní zdrojové
  texty software a další data nutná pro plně reprodukovatelné korektní
  vytvoření spustitelných souborů.

\end{description}

Dále mohou data obsahovat například:

\begin{itemize}

%\item[\texttt{data/}] \hfill \\
\item
  ukázková a~testovací data použitá v~práci nebo pro potřeby posouzení
  práce v rámci její obhajoby,

%\item[\texttt{literature/}] \hfill \\
\item
  položky bibliografie v elektronické podobě, příp.~jiná relevantní literatura
  a dokumentace vztahující se k~práci,

%\item[\texttt{install/}] \hfill \\
\item
  cizí data (software) potřebná pro bezproblémové použití autorských
  dat práce (software), která nejsou standardní součástí
  předpokládaného (softwarového) vybavení uživatele.

\end{itemize}

U~veškerých cizích obsažených materiálů jejich
zahrnutí dovolují podmínky pro jejich veřejné šíření nebo přiložený souhlas
držitele práv k užití. Pro všechny použité (a~citované) materiály,
u~kterých toto není splněno a~nejsou tak obsaženy, je uveden
jejich zdroj, např.~webová adresa, v~bibliografii nebo textu práce
nebo souboru \texttt{README.*}.

%% -------------------------------------------------------------------

%% Sazba volitelného seznamu zkratek, za přílohami.
\printglossary

%% Sazba povinné bibliografie, za přílohami (případně i za seznamem
%% zkratek). Při použití BibLaTeXu použijte makro
%% \printbibliography. jinak prostředí thebibliography. Ne obojí!

%% Sazba i v textu necitovaných zdrojů, při použití
%% BibLaTeXu. Volitelné.
\nocite{*}
%% Vlastní sazba bibliografie při použití BibLaTeXu.
\printbibliography

%% Bibliografie, včetně sazby, při NEpoužití BibLaTeXu.
% \begin{thebibliography}{9}
%\bibitem{kniha2} \uppercase{Hawke}, Paul. NanoHttpd: Light-weight HTTP server designed for embedding in other applications. GitHub [online]. 2014-05-12. [cit. 2014-12-06]. Dostupné z: \url{https://github.com/NanoHttpd/nanohttpd}
%
%\bibitem{jeske13} \uppercase{Jeske}, David; \uppercase{Novák}, Josef. Simple HTTP Server in \csharp: Threaded synchronous HTTP Server abstract class, to respond to HTTP requests. CodeProject: For those who code [online]. 2014-05-24. [cit. 2014-12-06]. Dostupné z: \url{http://www.codeproject.com/Articles/137979/Simple-HTTP-Server-in-C}
%
%\bibitem{uzis2012} \uppercase{ÚSTAV ZDRAVOTNICKÝCH INFORMACÍ A STATISTIKY ČR}. Lékaři, zubní lékaři a farmaceuti 2012 [online]. Praha 2, Palackého náměstí 4: Ústav zdravotnických informací a statistiky ČR, 2012 [cit. 2014-12-06]. ISBN 978-80-7472-089-5. Dostupné z: \url{http://www.uzis.cz/publikace/lekari-zubni-lekari-farmaceuti-2012}
% \end{thebibliography}

%% Sazba volitelného rejstříku, za bibliografií.
\printindex

\end{document}

%%% Local Variables:
%%% mode: latex
%%% TeX-master: t
%%% End:
slovak-iso.lbx · 317 B

\ProvidesFile{slovak-iso.lbx}

\InheritBibliographyExtras{slovak}
\InheritBibliographyStrings{slovak}

\NewBibliographyString{urlalso,urlcomercial,urlcited}
\DeclareBibliographyStrings{%
  urlalso={{Dostupn\'e z {\tt WWW}}{{\tt WWW}}},
  urlcomercial={{Dostupn\'e komer\v{c}ne na {\tt WWW}}{Komer\v{c}n\'y zdroj}}
}
slovak.lbx · 23 KB
% $Id: historian.lbx,v 0.4 2010/08/22 gliboff $

\ProvidesFile{slovak.lbx}

\InheritBibliographyExtras{english}
\InheritBibliographyStrings{english}

%Turabian calls for mostly abbreviated bibstrings in the footnotes, but mostly long forms in the bibliography. Here the entire list of bibstrings from the english.lbx file is redefined to select strings by bibliography vs. footnote environment, rather than long vs. short.

\DeclareBibliographyExtras{
  \protected\def\mkbibordinal#1{
  \ifnumequal{#1}{1}{Prv\'e}{%
    \ifnumequal{#1}{2}{Druh\'e}{%
      \ifnumequal{#1}{3}{Tretie}{%
		\ifnumequal{#1}{4}{\v{S}tvrt\'e}{%
    #1\adddot}}}}}
    \renewcommand\finalandcomma{}
  %\protected\def\nameprint#1#2{#2\space#1}
}

\NewBibliographyString{urlalso,urlcomercial,urlcited}
\DeclareBibliographyStrings{%
  volume={{diel}{d\adddot}},
%   volume={diel},
  edition={{ed\'icia}{ed\adddot}},
%   edition={ed\'icia},
  page={{strana}{str\adddot}},
  pages={{strany}{str\adddot}},
%   page={str\adddot},
%   pages={str\adddot},
  andothers={{a kol\adddot}{a kol\adddot}},
  volume={{diel}{d\adddot}},
  jourvol={{ro\v{c}n\'ik}{ro\v{c}\adddot}},
%   jourvol={diel},
  number={{\v{c}\'islo}{\v{c}\adddot}},
  urlseen={{citovan\'e}{cit\adddot}},
  url = {{Dostupn\'e z www}{www}},
  urlcited = {{citovan\'e}{cit\adddot}},
  bibliography     = {{Bibliografia}{Bibliografia}},
  references       = {{Literatúra}{Literatúra}},
  shorthands       = {{Zoznam skratiek}{Skratky}},
  editor           = {{editor}{ed\adddot}},
  editors          = {{edotori}{ed\adddot}},
  compiler         = {{zostavil}{zost\adddot}},
  compilers        = {{zostavili}{zost\adddot}},
  redactor         = {{redaktor}{red\adddot}},
  redactors        = {{redaktori}{red\adddot}},
  founder          = {{zakladateľ}{zakl\adddot}},
  founders         = {{zakladatelia}{zakl\adddot}},
  continuator      = {{pokračujúci}{pok\adddot}}, % FIXME: unsure
  continuators     = {{continued}{cont\adddot}}, % FIXME: unsure
  collaborator     = {{spolupracovník}{spoluprac\adddot}},  % FIXME: unsure
  collaborators    = {{spolupracovníci}{spoluprac\adddot}}, % FIXME: unsure
  translator       = {{prekladatel}{prekl\adddot}},
  translators      = {{prekladatelia}{prekl\adddot}},
  commentator      = {{komentátor}{kom\adddot}},
  commentators     = {{komentátori}{kom\adddot}},
  annotator        = {{anotátor}{anot\adddot}},
  annotators       = {{anotátoři}{anot\adddot}},
  commentary       = {{commentary}{comm\adddot}},
  annotations      = {{anotatace}{anot\adddot}},
  introduction     = {{úvod}{úv\adddot}},
  foreword         = {{predhovor}{predh\adddot}},
  afterword        = {{doslov}{dosl\adddot}},
  editortr         = {{editor a prekladateľ}%
                      {ed\adddotspace a prekl\adddot}},
  editorstr        = {{editori a překladatelia}%
                      {ed\adddotspace a prekl\adddot}},
  editorco         = {{editor a komentátori}%
                      {ed\adddotspace a kom\adddot}},
  editorsco        = {{editor a komentátori}%
                      {ed\adddotspace a kom\adddot}},
  editoran         = {{editor a anotátor}%
                      {ed\adddotspace a anot\adddot}},
  editorsan        = {{editor a anotátoři}%
                      {ed\adddotspace a anot\adddot}},
  editorin         = {{editor a úvod}%
                      {ed\adddotspace úv\adddot}},
  editorsin        = {{editoři a úvod}%
                      {ed\adddotspace a úv\adddot}},
  editorfo         = {{editor a predhovor}%
                      {ed\adddotspace a predh\adddot}},
  editorsfo        = {{editori a predhovor}%
                      {ed\adddotspace a predh\adddot}},
  editoraf         = {{editor a afterword}%
                      {ed\adddotspace a afterw\adddot}},
  editorsaf        = {{editoři a  doslov}%
                      {ed\adddotspace a afterw\adddot}},
  editortrco       = {{editor, translator\ a komentátor}%
                      {ed.,\addabbrvspace překl\adddot\ a comm\adddot}},
  editorstrco      = {{editors, translators\ a komentátoři}%
                      {eds.,\addabbrvspace překl\adddot\ a comm\adddot}},
  editortran       = {{editor, translator\ a annotator}%
                      {ed.,\addabbrvspace překl\adddot\ a anot\adddot}},
  editorstran      = {{editors, translators\ a annotators}%
                      {ed.,\addabbrvspace překl\adddot\ a anot\adddot}},
  editortrin       = {{editor, translator\ a úvod}%
                      {ed.,\addabbrvspace překl\adddot\ a introd\adddot}},
  editorstrin      = {{editors, translators\ a úvod}%
                      {ed.,\addabbrvspace překl\adddot\ a introd\adddot}},
  editortrfo       = {{editor, translator\ a předmluva}%
                      {ed.,\addabbrvspace překl\adddot\ a forew\adddot}},
  editorstrfo      = {{editors, translators\ a předmluva}%
                      {ed.,\addabbrvspace překl\adddot\ a forew\adddot}},
  editortraf       = {{editor, translator\ a  doslov}%
                      {ed.,\addabbrvspace překl\adddot\ a afterw\adddot}},
  editorstraf      = {{editors, translators\ a  doslov}%
                      {ed.,\addabbrvspace překl\adddot\ a afterw\adddot}},
  editorcoin       = {{editor, commentator\ a úvod}%
                      {ed.,\addabbrvspace comm\adddot\ a introd\adddot}},
  editorscoin      = {{editors, commentators\ a úvod}%
                      {ed.,\addabbrvspace comm\adddot\ a introd\adddot}},
  editorcofo       = {{editor, commentator\ a předmluva}%
                      {ed.,\addabbrvspace comm\adddot\ a forew\adddot}},
  editorscofo      = {{editors, commentators\ a předmluva}%
                      {ed.,\addabbrvspace comm\adddot\ a forew\adddot}},
  editorcoaf       = {{editor, commentator\ a  doslov}%
                      {ed.,\addabbrvspace comm\adddot\ a dosl\adddot}},
  editorscoaf      = {{editors, commentators\ a  doslov}%
                      {ed.,\addabbrvspace comm\adddot\ a dosl\adddot}},
  editoranin       = {{editor, annotator\ a úvod}%
                      {ed.,\addabbrvspace anot\adddot\ a introd\adddot}},
  editorsanin      = {{editors, annotators\ a úvod}%
                      {ed.,\addabbrvspace anot\adddot\ a introd\adddot}},
  editoranfo       = {{editor, annotator\ a předmluva}%
                      {ed.,\addabbrvspace anot\adddot\ a forew\adddot}},
  editorsanfo      = {{editors, annotators\ a předmluva}%
                      {ed.,\addabbrvspace anot\adddot\ a forew\adddot}},
  editoranaf       = {{editor, annotator\ a  doslov}%
                      {ed.,\addabbrvspace anot\adddot\ a dosl\adddot}},
  editorsanaf      = {{editors, annotators\ a  doslov}%
                      {ed.,\addabbrvspace anot\adddot\ a dosl\adddot}},
  editortrcoin     = {{editor, překladatel, commentator\ a úvod}%
                      {ed.,\addabbrvspace trans., comm\adddot\ a introd\adddot}},
  editorstrcoin    = {{editors, překladatelé, commentators\ a úvod}%
                      {ed.,\addabbrvspace trans., comm\adddot\ a introd\adddot}},
  editortrcofo     = {{editor, překladatel, commentator\ a předmluva}%
                      {ed.,\addabbrvspace trans., comm\adddot\ a forew\adddot}},
  editorstrcofo    = {{editors, překladatelé, commentators\ a předmluva}%
                      {ed.,\addabbrvspace trans., comm\adddot\ a forew\adddot}},
  editortrcoaf     = {{editor, překladatel, commentator\ a  doslov}%
                      {ed.,\addabbrvspace trans., comm\adddot\ a dosl\adddot}},
  editorstrcoaf    = {{editors, překladatelé, commentators\ a  doslov}%
                      {ed.,\addabbrvspace trans., comm\adddot\ a dosl\adddot}},
  editortranin     = {{editor, překladatel, annotator\ a úvod}%
                      {ed.,\addabbrvspace trans., anot\adddot\ a introd\adddot}},
  editorstranin    = {{editors, překladatelé, annotators\ a úvod}%
                      {ed.,\addabbrvspace trans., anot\adddot\ a introd\adddot}},
  editortranfo     = {{editor, překladatel, annotator\ a předmluva}%
                      {ed.,\addabbrvspace trans., anot\adddot\ a forew\adddot}},
  editorstranfo    = {{editors, překladatelé, annotators\ a předmluva}%
                      {ed.,\addabbrvspace trans., anot\adddot\ a forew\adddot}},
  editortranaf     = {{editor, překladatel, annotator\ a  doslov}%
                      {ed.,\addabbrvspace trans., anot\adddot\ a dosl\adddot}},
  editorstranaf    = {{editors, překladatelé, annotators\ a  doslov}%
                      {ed.,\addabbrvspace trans., anot\adddot\ a dosl\adddot}},
  translatorco     = {{překladatel a komentátor}%
                      {překl\adddot\ a comm\adddot}},
  translatorsco    = {{překladatelé a komentátoři}%
                      {překl\adddot\ a comm\adddot}},
  translatoran     = {{překladatel a annotator}%
                      {překl\adddot\ a anot\adddot}},
  translatorsan    = {{překladatelé a annotators}%
                      {překl\adddot\ a anot\adddot}},
  translatorin     = {{překlad a úvod}%
                      {překl\adddot\ a introd\adddot}},
  translatorsin    = {{překlad a úvod}%
                      {překl\adddot\ a introd\adddot}},
  translatorfo     = {{překlad a předmluva}%
                      {překl\adddot\ a forew\adddot}},
  translatorsfo    = {{překlad a předmluva}%
                      {překl\adddot\ a forew\adddot}},
  translatoraf     = {{překlad a  doslov}%
                      {překl\adddot\ a dosl\adddot}},
  translatorsaf    = {{překlad a  doslov}%
                      {překl\adddot\ a dosl\adddot}},
  translatorcoin   = {{překlad, commentary\ a úvod}%
                      {trans., comm\adddot\ a introd\adddot}},
  translatorscoin  = {{překlad, commentary\ a úvod}%
                      {trans., comm\adddot\ a introd\adddot}},
  translatorcofo   = {{překlad, commentary\ a předmluva}%
                      {trans., comm\adddot\ a forew\adddot}},
  translatorscofo  = {{překlad, commentary\ a předmluva}%
                      {trans., comm\adddot\ a forew\adddot}},
  translatorcoaf   = {{překlad, commentary\ a  doslov}%
                      {trans., comm\adddot\ a dosl\adddot}},
  translatorscoaf  = {{překlad, commentary\ a  doslov}%
                      {trans., comm\adddot\ a dosl\adddot}},
  translatoranin   = {{překlad, anotace,\ a úvod}%
                      {trans., anot\adddot\ a introd\adddot}},
  translatorsanin  = {{překlad, anotace,\ a úvod}%
                      {trans., anot\adddot\ a introd\adddot}},
  translatoranfo   = {{překlad, anotace,\ a předmluva}%
                      {trans., anot\adddot\ a forew\adddot}},
  translatorsanfo  = {{překlad, anotace,\ a předmluva}%
                      {trans., anot\adddot\ a forew\adddot}},
  translatoranaf   = {{překlad, anotace,\ a  doslov}%
                      {trans., anot\adddot\ a dosl\adddot}},
  translatorsanaf  = {{překlad, anotace,\ a  doslov}%
                      {trans., anot\adddot\ a dosl\adddot}},
  byauthor         = {{by}{by}},
  byeditor         = {{edited by}{ed\adddotspace by}},
  bycompiler       = {{compiled by}{comp\adddotspace by}},
  byredactor       = {{redacted by}{red\adddotspace by}},
  byfounder        = {{founded by}{found\adddotspace by}},
  bycontinuator    = {{continued by}{cont\adddotspace by}},
  bycollaborator   = {{in collaboration with}{in collab\adddotspace with}}, % FIXME: unsure
  bytranslator     = {{translated \lbx@lfromlang\ by}{překl\adddot\ \lbx@sfromlang\ by}},
  bycommentator    = {{commented by}{comm\adddot\ by}},
  byannotator      = {{annotated by}{anot\adddot\ by}},
  withcommentator  = {{with a commentary by}{with a comment\adddot\ by}},
  withannotator    = {{s anotacemi od}{s anot\adddot\ od}},
  withintroduction = {{s úvodem od}{u úv\adddot\ od}},
  withforeword     = {{s předmluvou od}{s předml\adddot\ od}},
  withafterword    = {{with an afterword by}{with an dosl\adddot\ by}},
  byeditortr       = {{edited a translated \lbx@lfromlang\ by}%
                      {ed\adddotspace a překl\adddot\ \lbx@sfromlang\ by}},
  byeditorco       = {{edited a commented by}%
                      {ed\adddotspace a kom\adddot\ by}},
  byeditoran       = {{edited a annotated by}%
                      {ed\adddotspace a anot\adddot\ by}},
  byeditorin       = {{edited, with an úvod, by}%
                      {ed.,\addabbrvspace with an introd., by}},
  byeditorfo       = {{edited, with a foreword, by}%
                      {ed.,\addabbrvspace with a forew., by}},
  byeditoraf       = {{edited, with an afterword, by}%
                      {ed.,\addabbrvspace with an afterw., by}},
  byeditortrco     = {{edited, translated \lbx@lfromlang\ a commented by}%
                      {ed.,\addabbrvspace překl\adddot\ \lbx@sfromlang\ a kom\adddot\ by}},
  byeditortran     = {{edited, translated \lbx@lfromlang\ a annotated by}%
                      {ed.,\addabbrvspace překl\adddot\ \lbx@sfromlang\ a anot\adddot\ by}},
  byeditortrin     = {{edited a translated \lbx@lfromlang, with an úvod, by}%
                      {ed\adddotspace a překl\adddot\ \lbx@sfromlang, with an introd., by}},
  byeditortrfo     = {{edited a translated \lbx@lfromlang, with a foreword, by}%
                      {ed\adddotspace a překl\adddot\ \lbx@sfromlang, with a forew., by}},
  byeditortraf     = {{edited a translated \lbx@lfromlang, with an afterword, by}%
                      {ed\adddotspace a překl\adddot\ \lbx@sfromlang, with an afterw., by}},
  byeditorcoin     = {{edited a commented, with an úvod, by}%
                      {ed\adddotspace a comm., with an introd., by}},
  byeditorcofo     = {{edited a commented, with a foreword, by}%
                      {ed\adddotspace a comm., with a forew., by}},
  byeditorcoaf     = {{edited a commented, with an afterword, by}%
                      {ed\adddotspace a comm., with an afterw., by}},
  byeditoranin     = {{edited a annotated, with an úvod, by}%
                      {ed\adddotspace a annot., with an introd., by}},
  byeditoranfo     = {{edited a annotated, with a foreword, by}%
                      {ed\adddotspace a annot., with a forew., by}},
  byeditoranaf     = {{edited a annotated, with an afterword, by}%
                      {ed\adddotspace a annot., with an afterw., by}},
  byeditortrcoin   = {{edited, translated \lbx@lfromlang\ a commented, with an úvod, by}%
                      {ed.,\addabbrvspace překl\adddot\ \lbx@sfromlang\ a comm., with an introd., by}},
  byeditortrcofo   = {{edited, translated \lbx@lfromlang\ a commented, with a foreword, by}%
                      {ed.,\addabbrvspace překl\adddot\ \lbx@sfromlang\ a comm., with a forew., by}},
  byeditortrcoaf   = {{edited, translated \lbx@lfromlang\ a commented, with an afterword, by}%
                      {ed.,\addabbrvspace překl\adddot\ \lbx@sfromlang\ a comm., with an afterw., by}},
  byeditortranin   = {{edited, translated \lbx@lfromlang\ a annotated, with an úvod, by}%
                      {ed.,\addabbrvspace překl\adddot\ \lbx@sfromlang\ a annot, with an introd., by}},
  byeditortranfo   = {{edited, translated \lbx@lfromlang\ a annotated, with a foreword, by}%
                      {ed.,\addabbrvspace překl\adddot\ \lbx@sfromlang\ a annot, with a forew., by}},
  byeditortranaf   = {{edited, translated \lbx@lfromlang\ a annotated, with an afterword, by}%
                      {ed.,\addabbrvspace překl\adddot\ \lbx@sfromlang\ a annot, with an afterw., by}},
  bytranslatorco   = {{translated \lbx@lfromlang\ a commented by}%
                      {překl\adddot\ \lbx@sfromlang\ a kom\adddot\ by}},
  bytranslatoran   = {{translated \lbx@lfromlang\ a annotated by}%
                      {překl\adddot\ \lbx@sfromlang\ a anot\adddot\ by}},
  bytranslatorin   = {{translated \lbx@lfromlang, with an úvod, by}%
                      {překl\adddot\ \lbx@sfromlang, with an introd., by}},
  bytranslatorfo   = {{translated \lbx@lfromlang, with a foreword, by}%
                      {překl\adddot\ \lbx@sfromlang, with a forew., by}},
  bytranslatoraf   = {{translated \lbx@lfromlang, with an afterword, by}%
                      {překl\adddot\ \lbx@sfromlang, with an afterw., by}},
  bytranslatorcoin = {{translated \lbx@lfromlang\ a commented, with an úvod, by}%
                      {překl\adddot\ \lbx@sfromlang\ a comm., with an introd., by}},
  bytranslatorcofo = {{translated \lbx@lfromlang\ a commented, with a foreword, by}%
                      {překl\adddot\ \lbx@sfromlang\ a comm., with a forew., by}},
  bytranslatorcoaf = {{translated \lbx@lfromlang\ a commented, with an afterword, by}%
                      {překl\adddot\ \lbx@sfromlang\ a comm., with an afterw., by}},
  bytranslatoranin = {{translated \lbx@lfromlang\ a annotated, with an úvod, by}%
                      {překl\adddot\ \lbx@sfromlang\ a annot., with an introd., by}},
  bytranslatoranfo = {{translated \lbx@lfromlang\ a annotated, with a foreword, by}%
                      {překl\adddot\ \lbx@sfromlang\ a annot., with a forew., by}},
  bytranslatoranaf = {{translated \lbx@lfromlang\ a annotated, with an afterword, by}%
                      {překl\adddot\ \lbx@sfromlang\ a annot., with an afterw., by}},
  and              = {{a}{a}},
  andothers        = {{a kolektív}{a kol\adddot}},
  andmore          = {{a iní}{a i\adddot}},
  volume           = {{číslo}{č\adddot}},
  volumes          = {{čísla}{č\adddot}},
  jourvol          = {{číslo}{č\adddot}},
  jourser          = {{séria}{s\adddot}},
  newseries        = {{new series}{new ser\adddot}},
  oldseries        = {{old series}{old ser\adddot}},
  edition          = {{edícia}{ed\adddot}},
  reprint          = {{reprint}{repr\adddot}},
  reprintof        = {{reprint z}{repr\adddotspace z}},
  reprintas        = {{reprinted ako}{rpt\adddotspace ako}},
  page             = {{strana}{str\adddot}},
  pages            = {{strany}{str\adddot}},
  column           = {{stĺpec}{slp\adddot}},
  columns          = {{stĺpce}{slp\adddot}},
  line             = {{riadok}{r\adddot}},
  lines            = {{riadky}{r\adddot}},
  verse            = {{verš}{v\adddot}},
  verses           = {{verše}{v\adddot}},
  section          = {{sekcia}{\S}},
  sections         = {{sekcie}{\S\S}},
  paragraph        = {{odstavec}{ods\adddot}},
  paragraphs       = {{odstavce}{ods\adddot}},
  in               = {{in}{in}},
  inseries         = {{v}{v}},
  ofseries         = {{z}{z}},
  %number           = {{number}{no\adddot}},
  chapter          = {{kapitola}{kap\adddot}},
  mathesis         = {{diplomová práca}{dipl\adddotspace práca}},
  phdthesis        = {{dizertačná práca}{diz\adddotspace práca}},
  resreport        = {{výzkumná správa}{výzk\adddotspace spr\adddot}},
  techreport       = {{technická správa}{tech\adddotspace spr\adddot}},
  software         = {{počítačový softvér}{soft\adddot}},
  datacd           = {{CD-ROM}{CD-ROM}},
  audiocd          = {{audio CD}{audio CD}},
  version          = {{verzia}{ver\adddot}},
  %url              = {{address}{address}},
  %urlseen          = {{visited on}{visited on}},
  inpress          = {{in press}{in press}},
  submitted        = {{submitted}{submitted}},
  citedas          = {{henceforth cited as}{henceforth cited as}},
  thiscite         = {{especially}{esp\adddot}},
  seenote          = {{pozri poznámku}{pozri pozn\adddot}},
  quotedin         = {{citované v}{cit\adddotspace v}},
  idem             = {{idem}{idem}},
  idemsm           = {{idem}{idem}},
  idemsf           = {{eadem}{eadem}},
  idemsn           = {{idem}{idem}},
  idempm           = {{eidem}{eidem}},
  idempf           = {{eaedem}{eaedem}},
  idempn           = {{eadem}{eadem}},
  idempp           = {{eidem}{eidem}},
  ibidem           = {{ibidem}{ibid\adddot}},
  opcit            = {{op\adddotspace cit\adddot}{op\adddotspace cit\adddot}},
  loccit           = {{loc\adddotspace cit\adddot}{loc\adddotspace cit\adddot}},
  confer           = {{cf\adddot}{cf\adddot}},
  sequens          = {{sq\adddot}{sq\adddot}},
  sequentes        = {{sqq\adddot}{sqq\adddot}},
  passim           = {{passim}{pass\adddot}},
  see              = {{pozri}{pozri}},
  seealso          = {{pozri tiež}{pozri tiež}},
  backrefpage      = {{citované na strane}{cit\adddotspace na s\adddot}},
  backrefpages     = {{citované na stranách}{cit\adddotspace na s\adddot}},
  january          = {{januára}{jan\adddot}},
  february         = {{februára}{feb\adddot}},
  march            = {{marca}{mar\adddot}},
  april            = {{apríla}{apr\adddot}},
  may              = {{mája}{máj}},
  june             = {{júna}{jún}},
  july             = {{júla}{júl}},
  august           = {{augusta}{aug\adddot}},
  september        = {{septembra}{sep\adddot}},
  october          = {{októbra}{okt\adddot}},
  november         = {{novembra}{nov\adddot}},
  december         = {{decembra}{dec\adddot}},
  langamerican     = {{Americká angličtina}{Am\adddot angl\adddot}},
  langbrazilian    = {{Brazilská portugalština}{Braz\adddot portugal\adddot}},
  langdanish       = {{Dánština}{Dán\adddot}},
  langdutch        = {{Holandština}{Hol.\adddot}},
  langenglish      = {{Angličtina}{Angl\adddot}},
  langfrench       = {{Francouzština}{Franc\adddot}},
  langgerman       = {{Němčina}{Něm\adddot}},
  langgreek        = {{Řečtina}{Řeč\adddot}},
  langitalian      = {{Italština}{Ital\adddot}},
  langlatin        = {{Latina}{Lat\adddot}},
  langnorwegian    = {{Norština}{Norš\adddot}},
  langportuguese   = {{Portugalština}{Port\adddot}},
  langspanish      = {{Šanělština}{Špaň\adddot}},
  langswedish      = {{Švédština}{Švéd\adddot}},
  fromamerican     = {{z americké Angličtiny}{z amer\adddot angl\adddot}},
  frombrazilian    = {{z Brazilské Portugalštiny}{z Braz\adddot Port\adddot}},
  fromdanish       = {{z Danštiny}{z Dán\adddot}},
  fromdutch        = {{z Holandštiny}{z Hol\adddot}},
  fromenglish      = {{z Angličtiny}{z Angl\adddot}},
  fromfrench       = {{z Francouzštiny}{z Franc\adddot}},
  fromgerman       = {{z Němčiny}{z Něm\adddot}},
  fromgreek        = {{z Řečtiny}{z Řeč\adddot}},
  fromitalian      = {{z Italštiny}{z Ital\adddot}},
  fromlatin        = {{z Latiny}{z Lat\adddot}},
  fromnorwegian    = {{z Norštiny}{z Nor\adddot}},
  fromportuguese   = {{z Portugalštiny}{z Portuguese}},
  fromspanish      = {{ze Španělštiny}{ze Špaň\adddot}},
  fromswedish      = {{ze Švédštiny}{ze Švéd\adddot}},
  countryde        = {{Německo}{DE}},
  countryeu        = {{European Union}{EU}},
  countryep        = {{European Union}{EP}},
  countryfr        = {{Francie}{FR}},
  countryuk        = {{Velká Británie}{GB}},
  countryus        = {{Spojené Státy Americké}{US}},
  patent           = {{patent}{pat\adddot}},
  patentde         = {{German patent}{German pat\adddot}},
  patenteu         = {{European patent}{European pat\adddot}},
  patentfr         = {{French patent}{French pat\adddot}},
  patentuk         = {{British patent}{British pat\adddot}},
  patentus         = {{U.S\adddotspace patent}{U.S\adddotspace pat\adddot}},
  patreq           = {{patent request}{pat\adddot\ req\adddot}},
  patreqde         = {{German patent request}{German pat\adddot\ req\adddot}},
  patreqeu         = {{European patent request}{European pat\adddot\ req\adddot}},
  patreqfr         = {{French patent request}{French pat\adddot\ req\adddot}},
  patrequk         = {{British patent request}{British pat\adddot\ req\adddot}},
  patrequs         = {{U.S\adddotspace patent request}{U.S\adddotspace pat\adddot\ req\adddot}},
  file             = {{súbor}{súb\adddot}},
  library          = {{knižnica}{kniž\adddot}},
  abstract         = {{abstrakt}{abst\adddot}},
  annotation       = {{anotácia}{anot\adddot}},
}

\endinput

The first page, as this template compiles today. Click it to enlarge, and again to shrink. Open the file ↗