diff options
author | Karl Berry <karl@freefriends.org> | 2020-03-22 20:49:26 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2020-03-22 20:49:26 +0000 |
commit | 2c6568affba942c29b9741469a2882363009a093 (patch) | |
tree | a2838fa0e2e30c332f7852c9a418789fea3c1545 /Master/texmf-dist/tex/latex/fithesis/style/mu/fithesis-econ.sty | |
parent | f64715886f780dbe1414b1b35a55b6177de54022 (diff) |
fithesis (22mar20)
git-svn-id: svn://tug.org/texlive/trunk@54483 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/fithesis/style/mu/fithesis-econ.sty')
-rw-r--r-- | Master/texmf-dist/tex/latex/fithesis/style/mu/fithesis-econ.sty | 55 |
1 files changed, 34 insertions, 21 deletions
diff --git a/Master/texmf-dist/tex/latex/fithesis/style/mu/fithesis-econ.sty b/Master/texmf-dist/tex/latex/fithesis/style/mu/fithesis-econ.sty index 6bd4f59787b..cb591b7ccec 100644 --- a/Master/texmf-dist/tex/latex/fithesis/style/mu/fithesis-econ.sty +++ b/Master/texmf-dist/tex/latex/fithesis/style/mu/fithesis-econ.sty @@ -50,7 +50,7 @@ %% The names of the source files used are shown above. %% \NeedsTeXFormat{LaTeX2e} -\ProvidesPackage{fithesis/style/mu/fithesis-econ}[2018/02/11] +\ProvidesPackage{fithesis/style/mu/fithesis-econ}[2018/06/11] \thesis@color@setup{ links={HTML}{F27995}, tableEmph={HTML}{E8B88B}, @@ -108,21 +108,17 @@ \end{minipage}}\\[4em]\thesis@place, \thesis@year}} \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}} \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} \def\thesis@blocks@tables{% \thesis@blocks@lot @@ -196,16 +192,33 @@ \fi} \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}}} \def\thesis@blocks@preamble{% \thesis@blocks@coverMatter \thesis@blocks@cover |