Skip to content
Snippets Groups Projects
Commit fdab2077 authored by Tereza Vrabcová's avatar Tereza Vrabcová
Browse files

Do not redefine thesis@bibEntry in econ.dtx

parent e9a1543e
No related branches found
No related tags found
No related merge requests found
...@@ -276,64 +276,8 @@ ...@@ -276,64 +276,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}}}
\@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