diff options
author | Karl Berry <karl@freefriends.org> | 2008-09-02 18:02:47 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2008-09-02 18:02:47 +0000 |
commit | 0b19a78242b29c0fee590583b9614e850f1c4a6e (patch) | |
tree | 71fb01166931160015254e3d8227ec1e20514cc0 /Master/texmf-dist/tex/latex/gmdoc/gmdocc.cls | |
parent | 1ff9e388c6fe4dcaa607b361e71e4b2a6bf90bed (diff) |
gmdoc update (1sep08)
git-svn-id: svn://tug.org/texlive/trunk@10417 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/gmdoc/gmdocc.cls')
-rw-r--r-- | Master/texmf-dist/tex/latex/gmdoc/gmdocc.cls | 27 |
1 files changed, 16 insertions, 11 deletions
diff --git a/Master/texmf-dist/tex/latex/gmdoc/gmdocc.cls b/Master/texmf-dist/tex/latex/gmdoc/gmdocc.cls index e47026e2115..df9afaea60a 100644 --- a/Master/texmf-dist/tex/latex/gmdoc/gmdocc.cls +++ b/Master/texmf-dist/tex/latex/gmdoc/gmdocc.cls @@ -35,10 +35,12 @@ % \chschange{v0.78}{2007/11/19}{267} % \chschange{v0.79}{2008/8/3}{271} % \chschange{v0.79}{2008/8/9}{271} +% \chschange{v0.80}{2008/8/30}{276} +% \NeedsTeXFormat{LaTeX2e} \ProvidesClass{gmdocc} - [2008/08/03 v0.79 a class for gmdoc driver files (GM)] + [2008/08/30 v0.80 a class for gmdoc driver files (GM)] % % \division{Intro} @@ -224,9 +226,9 @@ % Now we define a~key-val option that sets the version of marginpar % typewriter font definition (relevant only with the |sysfonts| -% option). 0 for OpenType LMTT LC visible for the system (not on my -% computer), 1 for LMTT LC specially on my computer, any else number to avoid an -% error if you don't have OpenType LMTT LC installed (and leave the +% option). 0 for OpenType \acro{LMTT LC} visible for the system (not on my +% computer), 1 for \acro{LMTT LC} specially on my computer, any else number to avoid an +% error if you don't have OpenType \acro{LMTT LC} installed (and leave the % default \pk{gmdoc}'s definition of |\marginpartt|; all the versions % allow the user to define marginpar typewriter \himher self). \gm@DOX{mptt}[17]{\def\mpttversion{#1}}% the default value (17) works if @@ -253,12 +255,14 @@ } +\gm@DOX{fontspec}{\PassOptionsToPackage{#1}{fontspec}} +% \changes{v0.80}{2008/08/30}{added} \gm@EOX{class=mwart}% \label{EOXmwart}We set the default basic class to % be \pk{mwart}. \gm@EOX{mptt=0}% We default to set the marginpar typewriter font to -% OpenType LMTT LC. +% OpenType \acro{LMTT LC}. % \HideDefining\DeclareOptionX \DeclareOptionX*{\PassOptionsToPackage{\CurrentOption}{gmdoc}} @@ -297,7 +301,7 @@ \fi % of ifSecondClass'es \cs{else} (a~feature under construction).\endskiplines -\RequirePackage{gmutils}[2008/08/09]% earlier to provide |\@ifXeTeX|. +\RequirePackage{gmutils}[2008/08/30]% we load it early to provide |\@ifXeTeX|. \ifgmcc@mwcls\afterfi\ParanoidPostsec\fi @@ -336,7 +340,7 @@ \do\Finv\do\Game\do\beth\do\gimel\do\daleth% these five caused the % `already defined' error. \let\@zf@euenctrue\zf@euencfalse - \XeTeXthree + \XeTeXthree% %^^A \setromanfont{LMRoman12}% Regular %^^A \setsansfont{LMSans10}% Regular %^^A \setmonofont{LMTypewriter10}% Regular @@ -424,8 +428,8 @@ \@ifnotmw{}{% \@ifclassloaded{mwart}{% We set the indentation of Contents: - \SetTOCIndents{{}{\quad}{\quad}{\quad}{\quad}{\quad}{\quad}}}{% for \pk{mwart} - \SetTOCIndents{{}{\bf9.\enspace}{\quad}{\quad}{\quad}{\quad}{\quad}}}% and for the two other \pk{mwcls}s. + \SetTOCIndents{{}{\quad}{\quad}{\quad}{\quad}{\quad}{\quad}}}{% for \pk{mwart} …\ilrr + \SetTOCIndents{{}{\bf9.\enspace}{\quad}{\quad}{\quad}{\quad}{\quad}}}% and for the two other \pk{mwcls}s. \ilrr \pagestyle{outer}}% We set the page numbers to be printed in the % outer and bottom corner of the page. @@ -439,7 +443,7 @@ % \file{.glo} file if not the above. % \CodeUsgIndex\dekclubs \CodeUsgIndex\smartunder -\dekclubs% We declare the club sign \verb+|+ to be a~shorthand for +\dekclubs*% We declare the club sign \verb+|+ to be a~shorthand for % |\verb*|\,. % \changes[\edverbs]{v0.74}{2007/01/01}{used to simplify displaying % shortverbs} @@ -455,7 +459,8 @@ \RequirePackage{amssymb} \def\EOFMark{\rightline{\ensuremath{\square}}} - +\DoNotIndex{\@nx \@xa %^^A\count \dimen \box \setbox \copy +} \endinput % \changes{v0.677}{06/9/23}{Added checkings if \pk{mwart.cls} and |