diff --git a/lectureslides.cls b/lectureslides.cls index cf39f0e..d09e064 100644 --- a/lectureslides.cls +++ b/lectureslides.cls @@ -1,4 +1,4 @@ -\def\filedate{2 August 2018} +\def\filedate{4 August 2018} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % % Document class for lecture slides. @@ -16,12 +16,13 @@ % v1.3 Added support for configurable class types. % v1.3.1 Fixed regression that eliminated paper title from title page. % v1.3.2 Added text highlighting and \alertbf macros. +% v1.3.3 Corrected trailing spacing of \highlight. % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \NeedsTeXFormat{LaTeX2e}[2001/06/01] \ProvidesClass{lectureslides}% - [2018/08/02 INFO lecture slides style, v.1.3.2] + [2018/08/04 INFO lecture slides style, v.1.3.3] % "Stream of conciousness" chapters vs. explicit individual classes. NOTE: % you can't have both chapters and classes! This is because we use the same @@ -116,7 +117,7 @@ % Coloured highlighting of text (via Mark George). % \vphantom gives correct ascender and descender height for box. -\newcommand{\highlight}[2][yellow!75]{\setlength{\fboxsep}{1pt}\hskip-1pt\colorbox{#1}{\vphantom{dy}#2}} +\newcommand{\highlight}[2][yellow!75]{\setlength{\fboxsep}{1pt}\hskip-1pt\colorbox{#1}{\vphantom{dy}#2}\hskip-1pt} % Uses the same spacing as \highlight, but does no highlighting. Use on the % original code when using incremental highlighting.