diff options
Diffstat (limited to 'Master/texmf-dist/source/latex/fithesis/style/mu/econ.dtx')
-rw-r--r-- | Master/texmf-dist/source/latex/fithesis/style/mu/econ.dtx | 65 |
1 files changed, 41 insertions, 24 deletions
diff --git a/Master/texmf-dist/source/latex/fithesis/style/mu/econ.dtx b/Master/texmf-dist/source/latex/fithesis/style/mu/econ.dtx index 822cbd86211..da1bef6fcc7 100644 --- a/Master/texmf-dist/source/latex/fithesis/style/mu/econ.dtx +++ b/Master/texmf-dist/source/latex/fithesis/style/mu/econ.dtx @@ -5,12 +5,13 @@ % \changes{v0.3.46}{2017/06/02}{The documentation now points to the % 2/2017 dean's directive for the Faculty of Economics and % Administration, Masaryk University, Brno. [VN]} -% published at the website of the faculty\footnote{See \url{ht^^A -% tps://is.muni.cz/auth/do/econ/predpisy/smernice/prehled/6715^^A -% 9928/SmerniceDekana2017-c.2-o_zaverecnych_pracich_2017.pdf}}. +% published at the website of the faculty\footnote{See \url{htt^^A +% ps://is.muni.cz/auth/do/econ/uredni_deska/predpisy_ESF/smerni^^A +% ce/smernice_dekana/prehled/67159928/SmerniceDekana2017-c.9-o_^^A +% zaverecnych_pracich_2017.docx}}. % \begin{macrocode} \NeedsTeXFormat{LaTeX2e} -\ProvidesPackage{fithesis/style/mu/fithesis-econ}[2018/02/11] +\ProvidesPackage{fithesis/style/mu/fithesis-econ}[2018/06/11] % \end{macrocode} % The file defines the color scheme of the respective faculty. Note % the the color definitions are in RGB, which makes the resulting @@ -126,11 +127,9 @@ % \begin{macrocode} \def\thesis@blocks@frontMatter{% \thesis@blocks@clear - % In case of double-sided typesetting, change the geometry - \ifthesis@twoside@ - \newgeometry{top=25mm,bottom=20mm,left=35mm, - right=15mm, includeheadfoot} - \fi\pagestyle{empty} + \newgeometry{top=25mm,bottom=20mm,left=35mm, + right=15mm, includeheadfoot} + \pagestyle{empty} \parindent 1.5em \setcounter{page}{1} \pagenumbering{arabic}} @@ -143,11 +142,9 @@ % \begin{macrocode} \def\thesis@blocks@mainMatter{% \thesis@blocks@clear - % In case of double-sided typesetting, change the geometry - \ifthesis@twoside@ - \newgeometry{top=25mm,bottom=20mm,left=35mm, - right=15mm, includeheadfoot} - \fi\pagestyle{thesisheadings} + \newgeometry{top=25mm,bottom=20mm,left=35mm, + right=15mm, includeheadfoot} + \pagestyle{thesisheadings} \parindent 1.5em\relax} % \end{macrocode} % \end{macro}\begin{macro}{\thesis@blocks@tables} @@ -295,19 +292,39 @@ % 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 - \noindent\begin{thesis@newtable@old}{@{}>{\bfseries}ll@{}} - \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}} + {\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} % Note that there is no direct support for the seminar paper and |