summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/lion-msc
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2019-05-16 21:03:36 +0000
committerKarl Berry <karl@freefriends.org>2019-05-16 21:03:36 +0000
commit261a3a21fd2a449577779b1e19d94aa136b48261 (patch)
treeb86404e59c6750885e77a216c75b9d644bd36563 /Master/texmf-dist/tex/latex/lion-msc
parentedccc2e846a8eefb4a901a8254ae488bf8b61237 (diff)
lion-msc (16may19)
git-svn-id: svn://tug.org/texlive/trunk@51143 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/lion-msc')
-rw-r--r--Master/texmf-dist/tex/latex/lion-msc/lion-msc.cls36
1 files changed, 21 insertions, 15 deletions
diff --git a/Master/texmf-dist/tex/latex/lion-msc/lion-msc.cls b/Master/texmf-dist/tex/latex/lion-msc/lion-msc.cls
index d28307bb63a..5b9649cb8d3 100644
--- a/Master/texmf-dist/tex/latex/lion-msc/lion-msc.cls
+++ b/Master/texmf-dist/tex/latex/lion-msc/lion-msc.cls
@@ -48,9 +48,9 @@
\typeout{}
\NeedsTeXFormat{LaTeX2e}
-\ProvidesClass{lion-msc}[2017/03/17 v0.27]
+\ProvidesClass{lion-msc}[2019/05/15 v0.28]
\typeout{}
-\typeout{Leiden Institute of Physics thesis class - version 0.27}
+\typeout{Leiden Institute of Physics thesis class - version 0.28}
\typeout{}
\typeout{Copyright (c) 2014 Michiel de Dood}
\typeout{Please send questions, comments, additions, complaints to:}
@@ -141,7 +141,10 @@
\RequirePackage[margin=0cm,font={small,sl},labelfont={bf,sl},tableposition=top,singlelinecheck=false,hypcap]{caption}
% Use US english (default) hyphenation rules and provide dutch as an option
-\RequirePackage[dutch,USenglish]{babel}
+% 14/05/2019 The USenglish as an option started generating errors.
+% changed the option to english instead hoping for more
+% stable behavior (M.J.A. de Dood)
+\RequirePackage[dutch,english]{babel}
% For standard formatting of dates I use the datetime package
% It is important to load this package AFTER the babel package
@@ -206,6 +209,11 @@
% New if construct: Default condition:
\newif\ifcover@picture \cover@picturefalse
+% Optional dedication added 14-05-2019. Requested by Ruoyan Wang
+% use \dedicate to define
+\def\dedicate#1{\gdef\@dedicate{#1}\dedicationtrue}
+% default option is off
+\newif\ifdedication \dedicationfalse
% == start : title page using titling package
@@ -282,6 +290,9 @@
\normalsize
}
+% Changed the alignment of the abstract. The centering is plain ugly
+% Following comments of Casper Remeijer
+
\postdate{
\end{center}
\begin{center}
@@ -291,20 +302,15 @@
\vskip 1em
\normalsize \@abstract
\vfill
+ \ifdedication
+ \clearpage
+ \thispagestyle{empty}
+ \vskip 3em
+ \textit{\@dedicate}
+ \fi
}
-% Changed the alignment of the abstract. The centering is plain ugly
-% Following comments of Casper Remeijer
-\postdate{
- \end{center}
- \begin{center}
- \vskip 1 em
- \color{black} \large \textbf{Abstract} \\
- \vskip 1em
- \normalsize \@abstract
- \end{center}
- \vfill
-}
+
% == end : title page using titling package
% == start : pagesize commands