Skip to content

Commit

Permalink
refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
susickypavel committed Oct 18, 2023
1 parent 71fc213 commit deecbde
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 122 deletions.
38 changes: 0 additions & 38 deletions src/common/ctuth-core.tex
Original file line number Diff line number Diff line change
@@ -1,15 +1,9 @@

%!TEX ROOT = thesis.tex

\ProvidesExplFile{ctuth-core.tex}%
{2016/06/15}{0.1 t1606152353}%MY TIMESTAMP HERE {0.1}
{"Core"\space part\space of\space the\space class\space ctuthesis}






%%% GENERAL LaTeX3 THINGIES

\cs_generate_variant:Nn \keys_set:nn { nx }
Expand All @@ -19,11 +13,6 @@

\skip_new:N \g_ctuthesis_tempa_skip






%%% CLASS SETUP, FIELDS, TEMPLATES, THEMES

% Set allowed languages: No other languages can ever be main, title or second
Expand All @@ -37,13 +26,6 @@
\msg_new:nnn { ctuthesis } { ctuprocess-none } { It~is~necessary~to~use~the~
macro~ \token_to_str:N \ctuprocess\ once~in~the~preamble. }








%%% KEY-VALUE SETUP

% Two seqs: one for keys that need disabling after \documentclass,
Expand Down Expand Up @@ -195,12 +177,6 @@
ctulstbg .tl_gset:N = \g_ctuthesis_ctulstbg_tl
}







% A macro called after every \keys_set{ctuthesis}{...}
\cs_new_protected:Nn \ctuthesis_ctusetup_trigger: {
% Remove duplicates from the language list
Expand Down Expand Up @@ -237,11 +213,6 @@
\ctuthesis_ctusetup_trigger:
}






%%% THEMES, TEMPLATES AND FIELDS

% Theme, template and field hadling - "unknown" error messages
Expand Down Expand Up @@ -383,11 +354,6 @@
\bool_if:cTF { g_ctuthesis_switch_#1_bool } { #2 } { #3 }
}






%%% LOGGING

% Create \ctuverlog which contains the automatically updated timestamp of the file.
Expand All @@ -398,8 +364,4 @@
{2016/06/15}{ t1606152353}%MY TIMESTAMP HERE {}
}





\endinput
8 changes: 0 additions & 8 deletions src/common/ctuth-names.tex
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

%!TEX ROOT = thesis.tex

\ProvidesExplFile{ctuthesis-names.def}{2014/01/18}{0.1}{"Names" part of the class ctuthesis}
Expand Down Expand Up @@ -95,8 +94,6 @@
}
}



% Document types and Faculty names in all langauges
\keys_define:nn { ctuthesis } {

Expand Down Expand Up @@ -187,9 +184,4 @@

}






\endinput
75 changes: 0 additions & 75 deletions src/common/ctuth-pkg.tex
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,6 @@
\RequirePackage{graphicx}
\RequirePackage{pdfpages}




%%% BABEL -- LANGUAGE HANDLING

% The loading of the languages is a bit wicked, but it works this way. We load the main language once more
Expand All @@ -30,12 +27,6 @@
{ \msg_error:nnx { ctuthesis } { unknown-field } { #1 language } }
}







%%% COLORS, TEXT FLOW

\RequirePackage{xcolor}
Expand Down Expand Up @@ -93,11 +84,6 @@

\setlength{\parindent}{11.2pt}






%%% FRONT MATTER --- TWOCOLUMN HANDLING

% This is a "ToC macro" for the twocolumn context
Expand Down Expand Up @@ -175,11 +161,6 @@
\pagestyle{plain}
}






%%% LANGUAGES

% For every of the languages below, if it's initialized, add the
Expand All @@ -188,10 +169,6 @@
\@ifundefined{captionsczech}{}{\g@addto@macro\captionsczech{\ctucaptionsczech}}
\@ifundefined{captionsslovak}{}{\g@addto@macro\captionsslovak{\ctucaptionsslovak}}





%%% GEOMETRY

% The ratios of inner:outer margins
Expand Down Expand Up @@ -260,11 +237,6 @@
% Re-initialize the geometry
\ctuthesis_geometry_plain:






%%% TITLES

\usepackage{titlesec}
Expand Down Expand Up @@ -527,11 +499,6 @@
\def\l@figure{\ctu@dottedtocline{-2}{0.6em}{0em}}
\let\l@table\l@figure






%%% FANCY HEADERS

\RequirePackage{fancyhdr}
Expand Down Expand Up @@ -654,11 +621,6 @@
\fi\fi
}






%%% FLOATS

\usepackage{float,caption}
Expand Down Expand Up @@ -712,11 +674,6 @@
\newenvironment{ctucolortab}{\begin{lrbox}{0}}{\end{lrbox}\ht0\dimexpr\ht0 + 2pt\relax{\fboxsep0pt\colorbox{ctubluebg}{\usebox{0}}}}
\newenvironment{ctucolortab*}{\begin{lrbox}{0}}{\end{lrbox}{\fboxsep0pt\colorbox{ctubluebg}{\usebox{0}}}}






%%% LISTS

% Temp box
Expand Down Expand Up @@ -794,12 +751,6 @@
\leftmargini22.2pt
\labelsep6pt







%%% MATH, THEOREMS

\usepackage{amsmath,amssymb,amsfonts}
Expand Down Expand Up @@ -836,11 +787,6 @@

}






%%% INDEX

\ctuthesis_if_switch:nT { pkg-makeidx } {
Expand Down Expand Up @@ -875,10 +821,6 @@
\newcommand\ctu@restoretocdepth{\global\c@tocdepth\ctu@saved@tocdepth\relax}
}





%%% LISTINGS

\ctuthesis_if_switch:nT { pkg-listings } {
Expand Down Expand Up @@ -929,11 +871,6 @@
}
}






%%% HYPERREF

\ctuifswitch { pkg-hyperref } {
Expand Down Expand Up @@ -961,11 +898,6 @@
% \hypersetup{colorlinks=false,linktocpage=true,linkbordercolor=0 122 195}
%}






%%% VARIOUS TWEAKS

% Provide \phantomsection and \texorpdfstring to make them available in case hyperref wasn't loaded
Expand All @@ -974,11 +906,4 @@
% Provide \microtypesetup to make it available in case microtype wasn't loaded
\providecommand\microtypesetup[1]{}








\endinput
1 change: 0 additions & 1 deletion src/common/ctuth-templates.tex
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

%!TEX ROOT = thesis.tex

\ProvidesExplFile{ctuth-templates.tex}%
Expand Down

0 comments on commit deecbde

Please sign in to comment.