Skip to content
Snippets Groups Projects
Unverified Commit 817acc9a authored by Vít Starý Novotný's avatar Vít Starý Novotný
Browse files

Merge branch 'master' into feature/title-page

parents 93f372b8 f538d1bc
No related branches found
No related tags found
No related merge requests found
...@@ -98,6 +98,12 @@ ...@@ -98,6 +98,12 @@
%% %%
%% The following section sets up the metadata of the thesis. %% The following section sets up the metadata of the thesis.
%<*econ> %<*econ>
% \end{macrocode}
% \changes{v1.0.0}{2021/03/04}{Added elements that are used
% by thesis@bibEntry and thesis@titlePage: field, fieldEn
% departmentEn. [TV]}
% \begin{macrocode}
\thesissetup{ \thesissetup{
date = \the\year/\the\month/\the\day, date = \the\year/\the\month/\the\day,
autoLayout = false, autoLayout = false,
...@@ -135,6 +141,8 @@ ...@@ -135,6 +141,8 @@
%% The following keys are only useful, when you're using a %% The following keys are only useful, when you're using a
%% locale other than English. You can safely omit them in an %% locale other than English. You can safely omit them in an
%% English thesis. %% English thesis.
fieldEn = Applied Econometrics,
departmentEn = Department of Finance,
titleEn = The Economic Value of LaTeX, titleEn = The Economic Value of LaTeX,
TeXtitleEn = The Economic Value of \LaTeX, TeXtitleEn = The Economic Value of \LaTeX,
keywordsEn = {keyword1, keyword2, ...}, keywordsEn = {keyword1, keyword2, ...},
...@@ -147,11 +155,17 @@ ...@@ -147,11 +155,17 @@
} }
%</econ> %</econ>
%<*fi> %<*fi>
% \end{macrocode}
% \changes{v1.0.0}{2021/03/04}{Added elements that are used
% by thesis@titlePage: field, department. [TV]}
% \begin{macrocode}
\thesissetup{ \thesissetup{
date = \the\year/\the\month/\the\day, date = \the\year/\the\month/\the\day,
university = mu, university = mu,
faculty = fi, faculty = fi,
type = bc, type = bc,
field = Applied Informatics,
department = Department of Machine Learning and Data Processing,
author = Jane Doe, author = Jane Doe,
gender = f, gender = f,
advisor = {Prof. RNDr. John Smith, CSc.}, advisor = {Prof. RNDr. John Smith, CSc.},
...@@ -177,28 +191,53 @@ ...@@ -177,28 +191,53 @@
} }
%</fi> %</fi>
%<*fsps> %<*fsps>
% \end{macrocode}
% \changes{v1.0.0}{2021/03/04}{Added elements that are used
% by thesis@bibEntry and thesis@titlePage: field, fieldEn,
% department, departmentEn, titleEn, TeXtitleEn, keywords,
% keywordsEn, TeXkeywords, TeXkeywordsEn. [TV]}
% \begin{macrocode}
\thesissetup{ \thesissetup{
date = \the\year/\the\month/\the\day, date = \the\year/\the\month/\the\day,
university = mu, university = mu,
faculty = fsps, faculty = fsps,
type = bc, type = bc,
field = Sport Management, field = Sport Management,
author = Jane Doe, department = Department of Social Sciences and Sport Management,
gender = f, author = Jane Doe,
advisor = {Prof. RNDr. John Smith, CSc.}, gender = f,
title = The use of LaTeX for the Typesetting advisor = {Prof. RNDr. John Smith, CSc.},
of Sports Tables, title = The use of LaTeX for the Typesetting
TeXtitle = The use of \LaTeX\ for the Typesetting of Sports Tables,
of Sports Tables, TeXtitle = The use of \LaTeX\ for the Typesetting
bib = example.bib, of Sports Tables,
keywords = {keyword1, keywords2, ...},
TeXkeywords = {keyword1, keywords2, \ldots},
bib = example.bib,
%% The following keys are only useful, when you're using a
%% locale other than English. You can safely omit them in an
%% English thesis.
fieldEn = Applied Econometrics,
departmentEn = Department of Finance,
titleEn = The Economic Value of LaTeX,
TeXtitleEn = The Economic Value of \LaTeX,
keywordsEn = {keyword1, keyword2, ...},
TeXkeywordsEn = {keyword1, keyword2, \ldots},
} }
%</fsps> %</fsps>
%<*fss> %<*fss>
% \end{macrocode}
% \changes{v1.0.0}{2021/03/04}{Added elements that are used
% by thesis@bibEntry and thesis@titlePage: field, fieldEn,
% department, departmentEn, titleEn, TeXtitleEn. [TV]}
% \begin{macrocode}
\thesissetup{ \thesissetup{
date = \the\year/\the\month/\the\day, date = \the\year/\the\month/\the\day,
university = mu, university = mu,
faculty = fss, faculty = fss,
type = bc, type = bc,
field = Psychology,
department = Department of Health,
author = Jane Doe, author = Jane Doe,
gender = f, gender = f,
title = LaTeX and Its Impact on the title = LaTeX and Its Impact on the
...@@ -221,6 +260,12 @@ ...@@ -221,6 +260,12 @@
%% The following keys are only useful, when you're using a %% The following keys are only useful, when you're using a
%% locale other than English. You can safely omit them in an %% locale other than English. You can safely omit them in an
%% English thesis. %% English thesis.
fieldEn = Psychology,
departmentEn = Department of Health,
titleEn = LaTeX and Its Impact on the
Information Society,
TeXtitleEn = \LaTeX\ and Its Impact on the
Information Society,
keywordsEn = {keyword1, keyword2, ...}, keywordsEn = {keyword1, keyword2, ...},
TeXkeywordsEn = {keyword1, keyword2, \ldots}, TeXkeywordsEn = {keyword1, keyword2, \ldots},
abstractEn = {% abstractEn = {%
...@@ -231,12 +276,17 @@ ...@@ -231,12 +276,17 @@
} }
%</fss> %</fss>
%<*law> %<*law>
% \end{macrocode}
% \changes{v1.0.0}{2021/03/04}{Added elements that are used
% by thesis@titlePage: field [TV]}
% \begin{macrocode}
\thesissetup{ \thesissetup{
date = \the\year/\the\month/\the\day, date = \the\year/\the\month/\the\day,
university = mu, university = mu,
faculty = law, faculty = law,
department = The Department of Commercial Law,
type = bc, type = bc,
field = Law and Finance,
department = The Department of Commercial Law,
author = Jane Doe, author = Jane Doe,
gender = f, gender = f,
title = The Legal Aspects of the LaTeX Project title = The Legal Aspects of the LaTeX Project
...@@ -273,10 +323,10 @@ ...@@ -273,10 +323,10 @@
date = \the\year/\the\month/\the\day, date = \the\year/\the\month/\the\day,
university = mu, university = mu,
faculty = med, faculty = med,
type = bc,
field = Optometry, field = Optometry,
department = The Department of Optometry and department = The Department of Optometry and
Orthoptics, Orthoptics,
type = bc,
author = Jane Doe, author = Jane Doe,
gender = f, gender = f,
advisor = {Prof. RNDr. John Smith, CSc.}, advisor = {Prof. RNDr. John Smith, CSc.},
...@@ -310,11 +360,17 @@ ...@@ -310,11 +360,17 @@
} }
%</med> %</med>
%<*ped> %<*ped>
% \end{macrocode}
% \changes{v1.0.0}{2021/03/04}{Added elements that are used
% by thesis@bibEntry and thesis@titlePage: field, fieldEn,
% departmentEn, titleEn, TeXtitleEn. [TV]}
% \begin{macrocode}
\thesissetup{ \thesissetup{
date = \the\year/\the\month/\the\day, date = \the\year/\the\month/\the\day,
university = mu, university = mu,
faculty = ped, faculty = ped,
type = bc, type = bc,
field = Speech Therapy,
department = Department of Primary Pedagogy, department = Department of Primary Pedagogy,
author = Jane Doe, author = Jane Doe,
gender = f, gender = f,
...@@ -339,6 +395,12 @@ ...@@ -339,6 +395,12 @@
%% The following keys are only useful, when you're using a %% The following keys are only useful, when you're using a
%% locale other than English. You can safely omit them in an %% locale other than English. You can safely omit them in an
%% English thesis. %% English thesis.
fieldEn = Speech Therapy,
departmentEn = Department of Primary Pedagogy,
titleEn = The Challenges of Teaching LaTeX
to Preschool Children,
TeXtitleEn = The Challenges of Teaching \LaTeX\
to Preschool Children,
keywordsEn = {keyword1, keyword2, ...}, keywordsEn = {keyword1, keyword2, ...},
TeXkeywordsEn = {keyword1, keyword2, \ldots}, TeXkeywordsEn = {keyword1, keyword2, \ldots},
abstractEn = {% abstractEn = {%
...@@ -349,26 +411,49 @@ ...@@ -349,26 +411,49 @@
} }
%</ped> %</ped>
%<*phil> %<*phil>
% \end{macrocode}
% \changes{v1.0.0}{2021/03/04}{Added elements that are used
% by thesis@bibEntry and thesis@titlePage: fieldEn, departmentEn,
% titleEn, TeXtitleEn, keywordsEn, TeXkeywordsEn, abstractEn. [TV]}
% \begin{macrocode}
\thesissetup{ \thesissetup{
date = \the\year/\the\month/\the\day, date = \the\year/\the\month/\the\day,
university = mu, university = mu,
faculty = phil, faculty = phil,
department = Department of Psychology, type = bc,
field = Cognitive Sciences, field = Cognitive Sciences,
type = bc, department = Department of Psychology,
author = Jane Doe, author = Jane Doe,
gender = f, gender = f,
advisor = {Prof. RNDr. John Smith, CSc.}, advisor = {Prof. RNDr. John Smith, CSc.},
title = What Can Typography Tell Us title = What Can Typography Tell Us
About the Nature of Man, About the Nature of Man,
TeXtitle = What Can Typography Tell Us\\ TeXtitle = What Can Typography Tell Us\\
About the Nature of Man, About the Nature of Man,
thanks = {% keywords = {keyword1, keyword2, ...},
TeXkeywords = {keyword1, keyword2, \ldots},
thanks = {%
These are the acknowledgements for my thesis, which can These are the acknowledgements for my thesis, which can
span multiple paragraphs. span multiple paragraphs.
}, },
bib = example.bib, bib = example.bib,
%% The following keys are only useful, when you're using a
%% locale other than English. You can safely omit them in an
%% English thesis.
fieldEn = Cognitive Sciences,
departmentEn = Department of Psychology,
titleEn = What Can Typography Tell Us
About the Nature of Man,
TeXtitleEn = What Can Typography Tell Us
About the Nature of Man,
keywordsEn = {keyword1, keyword2, ...},
TeXkeywordsEn = {keyword1, keyword2, \ldots},
abstractEn = {%
This is the English abstract of my thesis, which can
span multiple paragraphs.
},
} }
%</phil> %</phil>
%<*sci> %<*sci>
......
...@@ -190,6 +190,17 @@ ...@@ -190,6 +190,17 @@
\global\let\thesis@czech@bib@author\thesis@czech@authorTitle \global\let\thesis@czech@bib@author\thesis@czech@authorTitle
\gdef\thesis@czech@bib@thesisTitle{Název práce} \gdef\thesis@czech@bib@thesisTitle{Název práce}
\global\let\thesis@czech@bib@advisor\thesis@czech@advisorTitle \global\let\thesis@czech@bib@advisor\thesis@czech@advisorTitle
% \end{macrocode}
% \changes{v1.0.0}{2021/03/04}{Lifted the \texttt{bib@programme},
% \texttt{bib@academicYear}, and \texttt{bib@pages} strings from
% \texttt{locale/mu/sci/*.def} to \texttt{locale/mu/*.def},
% so that they can be shared with other faculties. [TV]}
% \begin{macrocode}
\gdef\thesis@czech@bib@programme{Studijní program}
\global\let\thesis@czech@bib@field\thesis@czech@fieldTitle
\gdef\thesis@czech@bib@academicYear{Akademický rok}
\gdef\thesis@czech@bib@pages{Počet stran}
\global\let\thesis@czech@bib@keywords\thesis@czech@keywordsTitle
% Různé % Různé
\gdef\thesis@czech@idTitle{UČO} \gdef\thesis@czech@idTitle{UČO}
...@@ -283,17 +294,6 @@ ...@@ -283,17 +294,6 @@
% Zástupné texty % Zástupné texty
\gdef\thesis@czech@facultyName{Ekonomicko-správní fakulta} \gdef\thesis@czech@facultyName{Ekonomicko-správní fakulta}
% Bibliografický záznam
% \end{macrocode}
% \changes{v0.3.46}{2017/06/02}{Defined strings required by
% \cs{thesis@blocks@bibEntry} from
% \texttt{style/mu/fithesis-econ.sty} in
% \texttt{locale/mu/econ/*.def}. [VN]}
% \begin{macrocode}
\gdef\thesis@czech@bib@thesisTitleEn{Název práce v angličtině}
\gdef\thesis@czech@bib@department{Katedra}
\gdef\thesis@czech@bib@year{Rok obhajoby}
% Různé % Různé
% \end{macrocode} % \end{macrocode}
% \changes{v0.3.46}{2017/06/02}{Updated the % \changes{v0.3.46}{2017/06/02}{Updated the
...@@ -502,12 +502,6 @@ ...@@ -502,12 +502,6 @@
statně s~využitím informačních zdrojů, které jsou v~práci statně s~využitím informačních zdrojů, které jsou v~práci
citovány.} citovány.}
% Bibliografický záznam
\gdef\thesis@czech@bib@programme{Studijní program}
\global\let\thesis@czech@bib@field\thesis@czech@fieldTitle
\gdef\thesis@czech@bib@academicYear{Akademický rok}
\gdef\thesis@czech@bib@pages{Počet stran}
\global\let\thesis@czech@bib@keywords\thesis@czech@keywordsTitle
% \end{macrocode}\iffalse % \end{macrocode}\iffalse
%</mu/sci> %</mu/sci>
% \fi % \fi
...@@ -171,6 +171,17 @@ ...@@ -171,6 +171,17 @@
\global\let\thesis@english@bib@author\thesis@english@authorTitle \global\let\thesis@english@bib@author\thesis@english@authorTitle
\gdef\thesis@english@bib@thesisTitle{Title of Thesis} \gdef\thesis@english@bib@thesisTitle{Title of Thesis}
\gdef\thesis@english@bib@advisor{Supervisor} \gdef\thesis@english@bib@advisor{Supervisor}
% \end{macrocode}
% \changes{v1.0.0}{2021/03/04}{Lifted the \texttt{bib@programme},
% \texttt{bib@academicYear}, and \texttt{bib@pages} strings from
% \texttt{locale/mu/sci/*.def} to \texttt{locale/mu/*.def},
% so that they can be shared with other faculties. [TV]}
% \begin{macrocode}
\gdef\thesis@english@bib@programme{Degree Programme}
\global\let\thesis@english@bib@field\thesis@english@fieldTitle
\gdef\thesis@english@bib@academicYear{Academic Year}
\gdef\thesis@english@bib@pages{Number of Pages}
\global\let\thesis@english@bib@keywords\thesis@english@keywordsTitle
% Miscellaneous % Miscellaneous
\gdef\thesis@english@idTitle{UČO} \gdef\thesis@english@idTitle{UČO}
...@@ -250,16 +261,6 @@ ...@@ -250,16 +261,6 @@
\gdef\thesis@english@facultyName{Faculty of Economics \gdef\thesis@english@facultyName{Faculty of Economics
and Administration} and Administration}
% Bibliographic entry
% \end{macrocode}
% \changes{v0.3.46}{2017/06/02}{Defined strings required by
% \cs{thesis@blocks@bibEntry} from
% \texttt{style/mu/fithesis-econ.sty} in
% \texttt{locale/mu/econ/*.def}. [VN]}
% \begin{macrocode}
\gdef\thesis@english@bib@department{Department}
\gdef\thesis@english@bib@year{Year of Defense}
% Miscellaneous % Miscellaneous
% \end{macrocode} % \end{macrocode}
% \changes{v0.3.46}{2017/06/02}{Updated the % \changes{v0.3.46}{2017/06/02}{Updated the
...@@ -384,12 +385,6 @@ ...@@ -384,12 +385,6 @@
% Miscellaneous % Miscellaneous
\global\let\thesis@english@advisorTitleEn=\thesis@english@bib@advisor \global\let\thesis@english@advisorTitleEn=\thesis@english@bib@advisor
% Bibliographic entry
\gdef\thesis@english@bib@programme{Degree Programme}
\global\let\thesis@english@bib@field\thesis@english@fieldTitle
\gdef\thesis@english@bib@academicYear{Academic Year}
\gdef\thesis@english@bib@pages{Number of Pages}
\global\let\thesis@english@bib@keywords\thesis@english@keywordsTitle
% \end{macrocode}\iffalse % \end{macrocode}\iffalse
%</mu/sci> %</mu/sci>
% \fi % \fi
...@@ -195,6 +195,17 @@ ...@@ -195,6 +195,17 @@
\global\let\thesis@slovak@bib@author\thesis@slovak@authorTitle \global\let\thesis@slovak@bib@author\thesis@slovak@authorTitle
\gdef\thesis@slovak@bib@thesisTitle{Názov práce} \gdef\thesis@slovak@bib@thesisTitle{Názov práce}
\global\let\thesis@slovak@bib@advisor\thesis@slovak@advisorTitle \global\let\thesis@slovak@bib@advisor\thesis@slovak@advisorTitle
% \end{macrocode}
% \changes{v1.0.0}{2021/03/04}{Lifted the \texttt{bib@programme},
% \texttt{bib@academicYear}, and \texttt{bib@pages} strings from
% \texttt{locale/mu/sci/*.def} to \texttt{locale/mu/*.def},
% so that they can be shared with other faculties. [TV]}
% \begin{macrocode}
\gdef\thesis@slovak@bib@programme{Študijný program}
\global\let\thesis@slovak@bib@field\thesis@slovak@fieldTitle
\gdef\thesis@slovak@bib@academicYear{Akademický rok}
\gdef\thesis@slovak@bib@pages{Počet strán}
\global\let\thesis@slovak@bib@keywords\thesis@slovak@keywordsTitle
% Rôzne % Rôzne
\gdef\thesis@slovak@idTitle{UČO} \gdef\thesis@slovak@idTitle{UČO}
...@@ -289,17 +300,6 @@ ...@@ -289,17 +300,6 @@
% Zástupné texty % Zástupné texty
\gdef\thesis@slovak@facultyName{Ekonomicko-správna fakulta} \gdef\thesis@slovak@facultyName{Ekonomicko-správna fakulta}
% Bibliografický záznam
% \end{macrocode}
% \changes{v0.3.46}{2017/06/02}{Defined strings required by
% \cs{thesis@blocks@bibEntry} from
% \texttt{style/mu/fithesis-econ.sty} in
% \texttt{locale/mu/econ/*.def}. [VN]}
% \begin{macrocode}
\gdef\thesis@slovak@bib@thesisTitleEn{Názov práce v angličtine}
\gdef\thesis@slovak@bib@department{Katedra}
\gdef\thesis@slovak@bib@year{Rok obhajoby}
% Rôzne % Rôzne
% \end{macrocode} % \end{macrocode}
% \changes{v0.3.46}{2017/06/02}{Updated the % \changes{v0.3.46}{2017/06/02}{Updated the
...@@ -496,12 +496,6 @@ ...@@ -496,12 +496,6 @@
% Zástupné texty % Zástupné texty
\gdef\thesis@slovak@facultyName{Prírodovedecká fakulta} \gdef\thesis@slovak@facultyName{Prírodovedecká fakulta}
% Bibliografický záznam
\gdef\thesis@slovak@bib@programme{Študijný program}
\global\let\thesis@slovak@bib@field\thesis@slovak@fieldTitle
\gdef\thesis@slovak@bib@academicYear{Akademický rok}
\gdef\thesis@slovak@bib@pages{Počet strán}
\global\let\thesis@slovak@bib@keywords\thesis@slovak@keywordsTitle
% \end{macrocode}\iffalse % \end{macrocode}\iffalse
%</mu/sci> %</mu/sci>
% \fi % \fi
...@@ -209,6 +209,8 @@ ...@@ -209,6 +209,8 @@
% \item\textsf{booktabs} -- A package, which allows the creation % \item\textsf{booktabs} -- A package, which allows the creation
% of publication-quality tables in \LaTeX. % of publication-quality tables in \LaTeX.
% \end{itemize} % \end{itemize}
% \changes{v1.0.0}{2021/03/04}{Added required package tikz
% for bibEntry. [TV]}
% \begin{macrocode} % \begin{macrocode}
\thesis@require{xcolor} \thesis@require{xcolor}
\RequirePackage[labelfont=bf]{caption} \RequirePackage[labelfont=bf]{caption}
...@@ -220,6 +222,7 @@ ...@@ -220,6 +222,7 @@
\thesis@require{tabularx} \thesis@require{tabularx}
\thesis@require{tabu} \thesis@require{tabu}
\thesis@require{booktabs} \thesis@require{booktabs}
\thesis@require{tikz}
% \end{macrocode} % \end{macrocode}
% If the |\thesis@microtype@| is set to true, then the % If the |\thesis@microtype@| is set to true, then the
% \textsf{microtype} package gets loaded. % \textsf{microtype} package gets loaded.
...@@ -1145,15 +1148,109 @@ ...@@ -1145,15 +1148,109 @@
% \item\texttt{bib@pages} -- The abbreviation of pages used in % \item\texttt{bib@pages} -- The abbreviation of pages used in
% the bibliographical entry % the bibliographical entry
% \end{itemize} % \end{itemize}
% \changes{v1.0.0}{2021/03/04}{The \cs{thesis@blocks@bibEntry} command
% was expanded to more closely resemble Faculty of Science's bibEntry.
% The \cs{thesis@blocks@bibEntryEn} was added. [TV]}
% \begin{macrocode} % \begin{macrocode}
\def\thesis@blocks@bibEntry{% \def\thesis@blocks@bibEntry{%
\thesis@blocks@clear
\chapter*{\thesis@@{bib@title}} \chapter*{\thesis@@{bib@title}}
\noindent\thesis@upper{author@tail}, \thesis@author@head. {% Calculate the width of the columns
\emph{\thesis@title}. \thesis@place: \thesis@@{universityName}, \let\@A\relax\newlength{\@A}\settowidth{\@A}{{%
\thesis@@{facultyName}, \thesis@department@name, \thesis@year. \bf\thesis@@{bib@author}:}}
\thesis@pages\ \thesis@@{bib@pages}. \let\@B\relax\newlength{\@B}\settowidth{\@B}{{%
\thesis@@{advisorTitle}: \thesis@advisor \bf\thesis@@{bib@thesisTitle}:}}
\thesis@blocks@clearRight} \let\@C\relax\newlength{\@C}\settowidth{\@C}{{%
\bf\thesis@@{bib@programme}:}}
\let\@D\relax\newlength{\@D}\settowidth{\@D}{{%
\bf\thesis@@{bib@field}:}}
\let\@E\relax\newlength{\@E}
\settowidth{\@E}{{\bf\thesis@@{bib@advisor}:}}
\let\@F\relax\newlength{\@F}\settowidth{\@F}{{%
\bf\thesis@@{bib@academicYear}:}}
\let\@G\relax\newlength{\@G}\settowidth{\@G}{{%
\bf\thesis@@{bib@pages}:}}
\let\@H\relax\newlength{\@H}\settowidth{\@H}{{%
\bf\thesis@@{bib@keywords}:}}
\let\@skip\relax\newlength{\@skip}\setlength{\@skip}{16pt}
\let\@left\relax\newlength{\@left}\pgfmathsetlength{\@left}{%
max(\@A,\@B,\@C,\@D,\@E,\@F,\@G,\@H)}
\let\@right\relax\newlength{\@right}\setlength{\@right}{%
\textwidth-\@left-\@skip}
% Typeset the table
\noindent\begin{thesis@newtable@old}%
{@{}p{\@left}@{\hskip\@skip}p{\@right}@{}}
\textbf{\thesis@@{bib@author}\ifthesis@woman ka\fi:} &
\noindent\parbox[t]{\@right}{
\thesis@author\\
\thesis@@{facultyName} \\
\thesis@@{universityName}\\
\thesis@department@name
}\\
\textbf{\thesis@@{bib@thesisTitle}:}
& \thesis@title \\
\textbf{\thesis@@{bib@programme}:}
& \thesis@field \\
\textbf{\thesis@@{bib@advisor}:}
& \thesis@advisor \\
\textbf{\thesis@@{bib@academicYear}:}
& \thesis@academicYear \\
\textbf{\thesis@@{bib@pages}:}
& \thesis@pages \\
\textbf{\thesis@@{bib@keywords}:}
& \thesis@TeXkeywords \\
\end{thesis@newtable@old}}}
\def\thesis@blocks@bibEntryEn{%
\ifthesis@english\else
\thesis@blocks@clear
\chapter*{\thesis@english@bib@title}
{% Calculate the width of the columns
\let\@A\relax\newlength{\@A}\settowidth{\@A}{{%
\bf\thesis@english@bib@author:}}
\let\@B\relax\newlength{\@B}\settowidth{\@B}{{%
\bf\thesis@english@bib@thesisTitle:}}
\let\@C\relax\newlength{\@C}\settowidth{\@C}{{%
\bf\thesis@english@bib@programme:}}
\let\@D\relax\newlength{\@D}\settowidth{\@D}{{%
\bf\thesis@english@bib@field:}}
\let\@E\relax\newlength{\@E}
\settowidth{\@E}{{\bf\thesis@english@bib@advisor:}}
\let\@F\relax\newlength{\@F}\settowidth{\@F}{{%
\bf\thesis@english@bib@academicYear:}}
\let\@G\relax\newlength{\@G}\settowidth{\@G}{{%
\bf\thesis@english@bib@pages:}}
\let\@H\relax\newlength{\@H}\settowidth{\@H}{{%
\bf\thesis@english@bib@keywords:}}
\let\@skip\relax\newlength{\@skip}\setlength{\@skip}{16pt}
\let\@left\relax\newlength{\@left}\pgfmathsetlength{\@left}{%
max(\@A,\@B,\@C,\@D,\@E,\@F,\@G,\@H)}
\let\@right\relax\newlength{\@right}\setlength{\@right}{%
\textwidth-\@left-\@skip}
% Typeset the table
\noindent\begin{thesis@newtable@old}%
{@{}p{\@left}@{\hskip\@skip}p{\@right}@{}}
\textbf{\thesis@@{bib@author}:} &
\noindent\parbox[t]{\@right}{
\thesis@author\\
\thesis@english@facultyName \\
\thesis@english@universityName\\
\thesis@departmentEn@name
}\\
\textbf{\thesis@english@bib@thesisTitle:}
& \thesis@titleEn \\
\textbf{\thesis@english@bib@programme:}
& \thesis@fieldEn \\
\textbf{\thesis@english@bib@advisor:}
& \thesis@advisor \\
\textbf{\thesis@english@bib@academicYear:}
& \thesis@academicYear \\
\textbf{\thesis@english@bib@pages:}
& \thesis@pages \\
\textbf{\thesis@english@bib@keywords:}
& \thesis@TeXkeywordsEn \\
\end{thesis@newtable@old}}
\fi}
% \end{macrocode} % \end{macrocode}
% \end{macro}\begin{macro}{\thesis@blocks@bibliography} % \end{macro}\begin{macro}{\thesis@blocks@bibliography}
% When |\ifthesis@bibliography@loaded@| is true and % When |\ifthesis@bibliography@loaded@| is true and
......
...@@ -247,65 +247,8 @@ ...@@ -247,65 +247,8 @@
\end{alwayssingle}}% \end{alwayssingle}}%
\fi} \fi}
% \end{macrocode} % \end{macrocode}
% \end{macro}\begin{macro}{\thesis@blocks@bibEntry}
% The |\thesis@blocks@bibEntry| macro typesets a bibliographical
% entry. Along with the macros required by the locale file
% interface, the locale files need to define the following macros:
% \begin{itemize}
% \item|\thesis@|\textit{locale}|@bib@author| -- The label of the
% author name entry
% \item|\thesis@|\textit{locale}|@bib@title| -- The label of the
% title name entry
% \item|\thesis@|\textit{locale}|@bib@titleEn| -- The label of the
% English title name entry (\cs{thesis@english@bib@titleEn}
% does not need to be defined)
% \item|\thesis@|\textit{locale}|@bib@department| -- The label of
% the department name entry
% \item|\thesis@|\textit{locale}|@bib@advisor| -- The label of
% the advisor name entry
% \item|\thesis@|\textit{locale}|@bib@year| -- The label of the
% year entry
% \end{itemize}
% \changes{v0.3.46}{2017/06/02}{Defined \cs{thesis@blocks@bibEntry}
% in \texttt{style/mu/fithesis-econ.sty} in accordance with the
% example documents. The patch was submitted by Jana Ratajská.
% [VN]}
% \changes{v0.3.51}{2020/03/09}{The \cs{thesis@blocks@bibEntry}
% command now accomodates long titles and other information that
% may span multiple lines. [VN]}
% \begin{macrocode}
\def\thesis@blocks@bibEntry{%
\thesis@blocks@clear
{\let\@A\relax\newlength{\@A}
\settowidth{\@A}{{\bf\thesis@@{bib@author}}}
\let\@B\relax\newlength{\@B}
\@B=\@A
\settowidth{\@A}{{\bf\thesis@@{bib@thesisTitle}}}
\ifdim\@A>\@B\@B=\@A\fi
\ifthesis@english\else
\settowidth{\@A}{{\bf\thesis@@{bib@thesisTitleEn}}}
\ifdim\@A>\@B\@B=\@A\fi
\fi
\settowidth{\@A}{{\bf\thesis@@{bib@department}}}
\ifdim\@A>\@B\@B=\@A\fi
\settowidth{\@A}{{\bf\thesis@@{bib@advisor}}}
\ifdim\@A>\@B\@B=\@A\fi
\settowidth{\@A}{{\bf\thesis@@{bib@year}}}
\ifdim\@A>\@B\@B=\@A\fi
\noindent\begin{thesis@newtable@old}{@{}>{\bfseries}%
p{\dimexpr(\@B + \tabcolsep)}%
p{\dimexpr(\textwidth - \@B - 2\tabcolsep)}@{}}
\thesis@@{bib@author}: & \thesis@author \\
\thesis@@{bib@thesisTitle}: & \thesis@title \\
\ifthesis@english\else
\thesis@@{bib@thesisTitleEn}: & \thesis@titleEn \\
\fi
\thesis@@{bib@department}: & \thesis@department \\
\thesis@@{bib@advisor}: & \thesis@advisor \\
\thesis@@{bib@year}: & \thesis@year \\
\end{thesis@newtable@old}}}
% \end{macrocode}
% \end{macro} % \end{macro}
%
% Note that there is no direct support for the seminar paper and % Note that there is no direct support for the seminar paper and
% thesis proposal types. If you would like to change the contents % thesis proposal types. If you would like to change the contents
% of the preamble and the postamble, you should modify the % of the preamble and the postamble, you should modify the
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment