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

\thesis@blocks@bibEntry now accomodates multiline texts

parent 5b327516
No related branches found
No related tags found
No related merge requests found
...@@ -56,7 +56,7 @@ ...@@ -56,7 +56,7 @@
\gdef\thesis@version@number{#1} \gdef\thesis@version@number{#1}
\gdef\thesis@version@date{#2} \gdef\thesis@version@date{#2}
\gdef\thesis@version{#2 #1 fithesis3 MU thesis class}} \gdef\thesis@version{#2 #1 fithesis3 MU thesis class}}
\thesis@versiondef{v0.3.51-dev}{2018/06/15}} \thesis@versiondef{v0.3.51-dev}{2020/03/09}}
% {\newwrite\f\openout\f=VERSION\write\f{\thesis@version}\closeout\f} % {\newwrite\f\openout\f=VERSION\write\f{\thesis@version}\closeout\f}
% %
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
......
...@@ -292,19 +292,39 @@ ...@@ -292,19 +292,39 @@
% in \texttt{style/mu/fithesis-econ.sty} in accordance with the % in \texttt{style/mu/fithesis-econ.sty} in accordance with the
% example documents. The patch was submitted by Jana Ratajská. % example documents. The patch was submitted by Jana Ratajská.
% [VN]} % [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} % \begin{macrocode}
\def\thesis@blocks@bibEntry{% \def\thesis@blocks@bibEntry{%
\thesis@blocks@clear \thesis@blocks@clear
\noindent\begin{thesis@newtable@old}{@{}>{\bfseries}ll@{}} {\let\@A\relax\newlength{\@A}
\thesis@@{bib@author}: & \thesis@author \\ \settowidth{\@A}{{\bf\thesis@@{bib@author}}}
\thesis@@{bib@thesisTitle}: & \thesis@title \\ \let\@B=\@A
\ifthesis@english\else \settowidth{\@A}{{\bf\thesis@@{bib@thesisTitle}}}
\thesis@@{bib@thesisTitleEn}: & \thesis@titleEn \\ \ifdim\@A>\@B\let\@B=\@A\fi
\fi \ifthesis@english\else
\thesis@@{bib@department}: & \thesis@department \\ \settowidth{\@A}{{\bf\thesis@@{bib@thesisTitleEn}}}
\thesis@@{bib@advisor}: & \thesis@advisor \\ \ifdim\@A>\@B\let\@B=\@A\fi
\thesis@@{bib@year}: & \thesis@year \\ \fi
\end{thesis@newtable@old}} \settowidth{\@A}{{\bf\thesis@@{bib@department}}}
\ifdim\@A>\@B\let\@B=\@A\fi
\settowidth{\@A}{{\bf\thesis@@{bib@advisor}}}
\ifdim\@A>\@B\let\@B=\@A\fi
\settowidth{\@A}{{\bf\thesis@@{bib@year}}}
\ifdim\@A>\@B\let\@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{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
......
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