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 | 153 |
1 files changed, 145 insertions, 8 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 2464e35d51b..64c45ed5490 100644 --- a/Master/texmf-dist/source/latex/fithesis/style/mu/econ.dtx +++ b/Master/texmf-dist/source/latex/fithesis/style/mu/econ.dtx @@ -2,12 +2,15 @@ % This is the style file for the theses written at the Faculty of % Economics and Administration at the Masaryk University in Brno. % It has been prepared in accordance with the formal requirements +% \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 -% tp://is.muni.cz/auth/do/econ/predpisy/smernice/prehled/45931^^A -% 363/Smernice2014-9.pdf}}. +% tps://is.muni.cz/auth/do/econ/predpisy/smernice/prehled/6715^^A +% 9928/SmerniceDekana2017-c.2-o_zaverecnych_pracich_2017.pdf}}. % \begin{macrocode} \NeedsTeXFormat{LaTeX2e} -\ProvidesPackage{fithesis/style/mu/fithesis-econ}[2016/04/18] +\ProvidesPackage{fithesis/style/mu/fithesis-econ}[2017/05/21] % \end{macrocode} % The file defines the color scheme of the respective faculty. Note % the the color definitions are in RGB, which makes the resulting @@ -32,6 +35,8 @@ % \item\textsf{tikz} -- Used for dimension arithmetic. % \item\textsf{geometry} -- Allows for modifications of the type % area dimensions. +% \item\textsf{array} -- Enables |<{decl.}| and |>{decl.}| +% declarations in table preambles. % \end{itemize} % In addition to this, the type area width is set to % 16\,cm in accordance with the formal requirements of the faculty. @@ -40,6 +45,7 @@ % \begin{macrocode} \thesis@require{tikz} \thesis@require{geometry} +\thesis@require{array} \geometry{top=25mm,bottom=20mm,left=25mm,right=25mm,includeheadfoot} % \end{macrocode} % \begin{macro}{\thesis@blocks@cover} @@ -159,6 +165,137 @@ \listoffigures} \fi % \end{macrocode} +% \begin{macro}{\thesis@blocks@declaration} +% The |\thesis@blocks@declaration| macro typesets the declaration +% text. Unlike the generic |\thesis@blocks@declaration| macro from +% the \texttt{style/mu/fithesis-sci.sty} file, this definition +% includes the date and a blank line for the author's signature, as +% per the requirements of the faculty. +% \changes{v0.3.46}{2017/06/02}{Redefined +% \cs{thesis@blocks@declaration} in +% \texttt{style/mu/fithesis-econ.sty} in accordance with the +% example documents. The patch was submitted by Jana Ratajská. +% [VN]} +% \begin{macrocode} +\def\thesis@blocks@declaration{% + \begin{alwayssingle}% + \thesis@blocks@clear + \leavevmode\vfill + % Start the new chapter without clearing any page. + {\let\thesis@blocks@clear\relax + \chapter*{\thesis@@{declarationTitle}}}% + \thesis@declaration + \vskip 2cm% + {\let\@A\relax\newlength{\@A} + \settowidth{\@A}{\thesis@@{authorSignature}} + \setlength{\@A}{\@A+1cm} + \noindent\thesis@place, \thesis@@{formattedDate}\hfill + \begin{minipage}[t]{\@A}% + \centering\rule{\@A}{1pt}\\ + \thesis@@{authorSignature}\par + \end{minipage}} + \end{alwayssingle}} +% \end{macrocode} +% \end{macro}\begin{macro}{\thesis@blocks@abstract} +% \changes{v0.3.46}{2017/06/02}{Redefined +% \cs{thesis@blocks@abstract}, \cs{thesis@blocks@abstractEn}, +% \cs{thesis@blocks@keywords}, and \cs{thesis@blocks@keywordsEn} +% in \texttt{style/mu/fithesis-econ.sty} in accordance with the +% example documents. The patch was submitted by Jana Ratajská. +% [VN]} +% The |\thesis@blocks@abstract| macro typesets the +% abstract. This definition typesets the abstract on the same page. +% \begin{macrocode} +\def\thesis@blocks@abstract{% + \begin{alwayssingle}% + \vskip 40\p@ + {\let\thesis@blocks@clear\relax + \chapter*{\thesis@@{abstractTitle}}}% + \noindent\thesis@abstract + \end{alwayssingle}} +% \end{macrocode} +% \end{macro}\begin{macro}{\thesis@blocks@abstractEn} +% The |\thesis@blocks@abstractEn| macro typesets the abstract in +% English. If the current locale is English, the macro produces no +% output. This macro typesets the abstract on the same page. +% \begin{macrocode} +\def\thesis@blocks@abstractEn{% + \ifthesis@english\else + {\thesis@selectLocale{english}% + \begin{alwayssingle}% + \vskip 20\p@ + {\let\thesis@blocks@clear\relax + \chapter*{\thesis@english@abstractTitle}}% + \noindent\thesis@abstractEn + \end{alwayssingle}}% + \fi} +% \end{macrocode} +% \end{macro}\begin{macro}{\thesis@blocks@keywords} +% The |\thesis@blocks@keywords| macro typesets the keywords. This +% definition typesets the keywords on the same page. +% \begin{macrocode} +\def\thesis@blocks@keywords{% + \begin{alwayssingle}% + \vskip 40\p@ + {\let\thesis@blocks@clear\relax + \chapter*{\thesis@@{keywordsTitle}}% + \noindent\thesis@TeXkeywords}% + \end{alwayssingle}} +% \end{macrocode} +% \end{macro}\begin{macro}{\thesis@blocks@keywordsEn} +% The |\thesis@blocks@keywordsEn| macro typesets the keywords in +% English. If the current locale is English, the macro produces no +% output. +% \begin{macrocode} +\def\thesis@blocks@keywordsEn{% + \ifthesis@english\else + {\thesis@selectLocale{english}% + \begin{alwayssingle}% + \vskip 20\p@ + {\let\thesis@blocks@clear\relax% + \chapter*{\thesis@english@keywordsTitle}}% + \noindent\thesis@TeXkeywordsEn + \end{alwayssingle}}% + \fi} +% \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]} +% \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}} +% \end{macrocode} +% \end{macro} % Note that there is no direct support for the seminar paper and % thesis proposal types. If you would like to change the contents % of the preamble and the postamble, you should modify the @@ -174,11 +311,11 @@ \thesis@blocks@frontMatter \thesis@blocks@titlePage \thesis@blocks@assignment - \thesis@blocks@clearRight - \thesis@blocks@abstract - \thesis@blocks@abstractEn - \thesis@blocks@keywords - \thesis@blocks@keywordsEn + \thesis@blocks@bibEntry + \thesis@blocks@abstract + \thesis@blocks@abstractEn + \thesis@blocks@keywords + \thesis@blocks@keywordsEn \thesis@blocks@declaration \thesis@blocks@thanks \thesis@blocks@toc} |