diff options
author | Karl Berry <karl@freefriends.org> | 2014-01-20 23:17:26 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2014-01-20 23:17:26 +0000 |
commit | a5bbf3d2582890eb3376a46ab8e7dad19baf4e53 (patch) | |
tree | e6234c0512e8e8f13cda590c0119bedb3498dbc9 /Master/texmf-dist/tex/latex/seminar/seminar.cls | |
parent | b172732c296db880f27bfba6ea750c2f4bffb860 (diff) |
seminar (20jan14)
git-svn-id: svn://tug.org/texlive/trunk@32736 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/seminar/seminar.cls')
-rw-r--r-- | Master/texmf-dist/tex/latex/seminar/seminar.cls | 29 |
1 files changed, 21 insertions, 8 deletions
diff --git a/Master/texmf-dist/tex/latex/seminar/seminar.cls b/Master/texmf-dist/tex/latex/seminar/seminar.cls index 327c49fe933..1f2378a1f67 100644 --- a/Master/texmf-dist/tex/latex/seminar/seminar.cls +++ b/Master/texmf-dist/tex/latex/seminar/seminar.cls @@ -5,8 +5,8 @@ %% Fixes from David Carlisle, Denis Girou, %% and Frank Küster/Günter Milde (a4paper option fix) %% -\def\fileversion{1.6} -\def\filedate{2012/12/27} +\def\fileversion{1.61} +\def\filedate{2014/01/17} %% %% This is a style for typesetting notes and slides. %% @@ -26,7 +26,10 @@ \NeedsTeXFormat{LaTeX2e} \ProvidesClass{seminar}[\filedate, \fileversion] \typeout{% - Document Style: `seminar' v\fileversion \space <\filedate> (tvz)} + Documentclass: `seminar' v\fileversion \space <\filedate> (tvz,hv)} +%%%%%%%%%%%%%%%% fix hv +\def\tx@BOL{} +%%%%%%%%%%%%%%% \def\test@member#1#2{% \edef\@tempg{,#2,#1,}% \edef\@temph{####1,#1,}% @@ -43,10 +46,15 @@ \errmessage{#1^^J}} \def\notslide@err#1{\message{Cannot use \string#1 in slide environments}} \def\new@slidebox{\alloc@4\box\chardef\insc@unt} +\RequirePackage{pst-ovl} +%% +%\RequirePackage{geometry} +%\geometry{dvips,paperwidth=8.5in,paperheight=11in} \newdimen\slidewidth \slidewidth 8.5in \newdimen\slideheight \slideheight 6.3in -\paperwidth 8.5in -\paperheight 11in +\paperwidth=8.5in +\paperheight=11in +%% \def\addto@preamblecmds#1{% \begingroup \def\do{\noexpand\do\noexpand}% @@ -73,6 +81,7 @@ \DeclareOption{a4}{% \paperwidth 210mm \paperheight 297mm +% \geometry{paperwidth=210mm,paperheight=297mm} \slidewidth 222mm \slideheight 152mm\relax} \DeclareOption{a4paper}{\csname ds@a4\endcsname}% @@ -92,6 +101,9 @@ \let\paperheight\footheight \let\paperwidth\footheight \LoadClass{article} + +\RequirePackage{pst-ovl}% hv 20131224 + \renewcommand\normalsize{% \@setfontsize\normalsize\@xpt\@xiipt \abovedisplayskip 10\p@ \@plus2\p@ \@minus5\p@ @@ -101,7 +113,6 @@ \let\@listi\@slide@listi} \let\paperheight\sem@paperheight \let\paperwidth\sem@paperwidth -\RequirePackage{pst-ovl}% hv 20131224 \RequirePackage{sem-page} \newtoks\before@document \newtoks\after@document @@ -1196,8 +1207,10 @@ \def\@semtwoupmagerr#1{% \@seminarerr{\string#1 must come before \string\twoup}\@eha} \addto@preamblecmds{\twoup\do\@twoup} -\openin1 seminar.con -\ifeof1\else\closein1 \relax\@@input seminar.con\fi +% +\InputIfFileExists{seminar.con}{} +%\ifeof1\else\closein1 \relax\@@input seminar.con\fi +% \endinput %% %% END `seminar.cls'. |