texlive[51143] Master/texmf-dist: lion-msc (16may19)

commits+karl at tug.org commits+karl at tug.org
Thu May 16 23:03:36 CEST 2019


Revision: 51143
          http://tug.org/svn/texlive?view=revision&revision=51143
Author:   karl
Date:     2019-05-16 23:03:36 +0200 (Thu, 16 May 2019)
Log Message:
-----------
lion-msc (16may19)

Modified Paths:
--------------
    trunk/Master/texmf-dist/doc/latex/lion-msc/lion-msc.pdf
    trunk/Master/texmf-dist/doc/latex/lion-msc/lion-msc.tex
    trunk/Master/texmf-dist/doc/latex/lion-msc/minimal.pdf
    trunk/Master/texmf-dist/tex/latex/lion-msc/lion-msc.cls

Removed Paths:
-------------
    trunk/Master/texmf-dist/doc/latex/lion-msc/Thumbs.db

Deleted: trunk/Master/texmf-dist/doc/latex/lion-msc/Thumbs.db
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/latex/lion-msc/lion-msc.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/latex/lion-msc/lion-msc.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/lion-msc/lion-msc.tex	2019-05-16 21:03:18 UTC (rev 51142)
+++ trunk/Master/texmf-dist/doc/latex/lion-msc/lion-msc.tex	2019-05-16 21:03:36 UTC (rev 51143)
@@ -26,7 +26,7 @@
 %\major{Physics and Mathematics}
 
 % optional cover picture - should be jpg or pdf
-\coverpicture{\includegraphics[width=13cm]{thesisstyle.png}}
+% \coverpicture{\includegraphics[width=13cm]{thesisstyle.png}}
 
 % Use this to make hyperlinks visible in the document.
 % \hypersetup{colorlinks=true}
@@ -127,7 +127,6 @@
 \textbf{AlexanderPRA.tex}    & \LaTeX file used as an example of a Master Thesis \\
 \textbf{lion-msc.tex}        & This file \\
 \textbf{lion-msc.pdf}        & PDF file of the compiled version of lion-msc.tex \\
-\textbf{thesisstyle.jpg}     & Image used for the cover \\
 \textbf{Fig1.png}            & Figure used in AlexanderPRA.tex \\
 \textbf{Fig2.png}            & Figure used in AlexanderPRA.tex \\
 \textbf{Fig3a.png}           & Figure used in AlexanderPRA.tex \\
@@ -179,6 +178,9 @@
 \textbf{$\backslash$coverpicture} & (optional) Insert a cover picture on the first page \\
                                   & Usage: \\
                                   & $\backslash$coverpicture\{$\backslash$includegraphics[width=13cm]\{picture.jpg\}\} \\
+\textbf{$\backslash$dedicate} 	  & (optional) Use this to dedicate your thesis to someone. \\
+								  & Please do respect the university guidelines for this! \\
+
 \hline
 \end{tabular}
 

Modified: trunk/Master/texmf-dist/doc/latex/lion-msc/minimal.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/tex/latex/lion-msc/lion-msc.cls
===================================================================
--- trunk/Master/texmf-dist/tex/latex/lion-msc/lion-msc.cls	2019-05-16 21:03:18 UTC (rev 51142)
+++ trunk/Master/texmf-dist/tex/latex/lion-msc/lion-msc.cls	2019-05-16 21:03:36 UTC (rev 51143)
@@ -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 at picture          \cover at 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



More information about the tex-live-commits mailing list