Skip to content
Snippets Groups Projects

Minted and abbreviations improvements

Merged Tomáš Nováček requested to merge novacek/minted-and-abbreviations-improvements into master
2 files
+ 9
5
Compare changes
  • Side-by-side
  • Inline
Files
2
+ 5
0
@@ -51,6 +51,7 @@
\PassOptionsToPackage{english,main=slovak}{babel}
\def\@ctufitlang{S}
}
\PassOptionsToPackage{newfloat}{minted}
\DeclareOption*{\PassOptionsToClass{\CurrentOption}{book}}
\ExecuteOptions{unicode}
\ProcessOptions\relax
@@ -151,6 +152,7 @@
\DeclareRobustCommand{\thectufitdeclarationlabel}{\if\@ctufitlang C{Prohlášení}\else\if\@ctufitlang E{Declaration}\else{Vyhlásenie}\fi\fi}
\DeclareRobustCommand{\thectufitabbreviationlabel}{\if\@ctufitlang C{Seznam zkratek}\else\if\@ctufitlang E{List of abbreviations}\else{Zoznam skratiek}\fi\fi}
\DeclareRobustCommand{\thectufitcopyrighttext}{\if\@ctufitlang C{Tato pr{\' a}ce vznikla jako {\v s}koln{\' i} d{\' i}lo na {\v C}esk{\' e}m vysok{\' e}m u{\v c}en{\' i} technick{\' e}m v~Praze, Fakult{\v e} informa{\v c}n{\' i}ch technologi{\' i}. Pr{\' a}ce je chr{\' a}n{\v e}na pr{\' a}vn{\' i}mi p{\v r}edpisy a~mezin{\' a}rodn{\' i}mi {\' u}mluvami o~pr{\' a}vu autorsk{\' e}m a~pr{\' a}vech souvisej{\' i}c{\' i}ch s~pr{\' a}vem autorsk{\' y}m. K~jej\'\i{}mu u\v zit\'\i{}, s~v\'yjimkou bez\'uplatn\'ych z\'akonn\'ych licenc\'\i{} a nad r\'amec opr\'avn\v en\'\i{} uveden\'ych v~Prohl\'a\v sen\'\i{}, je nezbytn\'y souhlas autora.}\else\if\@ctufitlang S{T\'ato pr\'aca vznikla ako \v skolsk\'e dielo na FIT \v CVUT v Prahe. Pr\'aca je chr\'anen\'a medzin\'arodn\'ymi predpismi a~zmluvami o~autorskom pr\'ave a~pr\'avach s\'uvisiacich s~autorsk\'ym pr\'avom. Na jej vyu\v zitie, s~v\'ynimkou bezplatn\'ych z\'akonn\'ych licenci\'\i, je nutn\'y s\'uhlas autora.}\else{This thesis is school work as defined by Copyright Act of the Czech Republic. It has been submitted at Czech Technical University in Prague, Faculty of Information Technology. The thesis is protected by the Copyright Act and its usage without author's permission is prohibited (with exceptions defined by the Copyright Act).}\fi\fi}
@@ -501,6 +503,7 @@
\@ifpackageloaded{listings}{%
\DeclareRobustCommand{\lstlistingname}{\thectufitlistinglabel}%
\DeclareRobustCommand{\lstlistlistingname}{\thectufitlollabel}%
\DeclareRobustCommand{\thectufitlistingscommand}{\lstlistoflistings}%
\lstset{basicstyle=\small\ttfamily,keywordstyle=\bfseries,%
backgroundcolor=\color{backgroundgray},%
frame=single,framerule=0pt,xleftmargin=\fboxsep,xrightmargin=\fboxsep}%
@@ -508,6 +511,8 @@
\@ifpackageloaded{minted}{%
\DeclareRobustCommand{\listingscaption}{\thectufitlistinglabel}%
\DeclareRobustCommand{\listoflistingscaption}{\thectufitlollabel}%
\DeclareRobustCommand{\listlistingname}{\thectufitlollabel}%
\DeclareRobustCommand{\thectufitlistingscommand}{\listoflistings}%
\ifdefined\@ctufitthesisblackandwhite
\usemintedstyle{bw}%
\setminted{bgcolor=backgroundgray}%
Loading