diff options
author | Norbert Preining <preining@logic.at> | 2007-11-16 10:52:53 +0000 |
---|---|---|
committer | Norbert Preining <preining@logic.at> | 2007-11-16 10:52:53 +0000 |
commit | 9acb11771e83a042aa9f732555d94343c4759010 (patch) | |
tree | 683d00f889d68dabc6b95a9cec156d0c38e8b43c /Master/texmf-dist/tex/latex/complexity/complexity.sty | |
parent | a0556f51c14da4034ebba3a3967f525d4be2d127 (diff) |
update complexity 0.80 from ctan
git-svn-id: svn://tug.org/texlive/trunk@5447 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/complexity/complexity.sty')
-rw-r--r-- | Master/texmf-dist/tex/latex/complexity/complexity.sty | 24 |
1 files changed, 23 insertions, 1 deletions
diff --git a/Master/texmf-dist/tex/latex/complexity/complexity.sty b/Master/texmf-dist/tex/latex/complexity/complexity.sty index 9580b8d7ef6..6a57384e02b 100644 --- a/Master/texmf-dist/tex/latex/complexity/complexity.sty +++ b/Master/texmf-dist/tex/latex/complexity/complexity.sty @@ -15,6 +15,11 @@ % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % +% Changes made (.76 -> .80) +% -Added a cool message using \typeout! +% -Added \newclass, \newlang, \newfunc commands +% -Added \renewclass, \renewlang, \renewfunc +% -Added \class that acts like \lang and \func % Changes made (.75 -> .76) % -Fixed a spacing bug that may cause extra spaces when not in math % mode. Thanks to Nicolas Markey @@ -36,7 +41,13 @@ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \NeedsTeXFormat{LaTeX2e} % -\ProvidesPackage{complexity}[3/22/05 \space v0.75] +\ProvidesPackage{complexity}[11/24/06 \space v0.77] + +\typeout{\space\space +----------------------------------------------+^^J% + \space\space\space\space complexity LaTeX package ^^J% + \space\space\space\space version: ^^J% + \space\space\space\space author: Chris Bourke (cbourke@cse.unl.edu) ^^J% + \space\space +----------------------------------------------+} % Require Packages %\RequirePackage{keyval}[1997/11/10] @@ -51,6 +62,17 @@ \newcommand{\lang}[1]{{\ensuremath{\mathsf{#1}}}} \newcommand{\func}[1]{{\ensuremath{\mathsf{#1}}}} +\newcommand{\class}[1]{\ComplexityFont{#1}} + +% Experimental: +\newcommand{\newclass}[2]{\newcommand{#1}{\ComplexityFont{#2}}} +\newcommand{\newlang}[2]{\newcommand{#1}{\lang{#2}}} +\newcommand{\newfunc}[2]{\newcommand{#1}{\func{#2}}} + +\newcommand{\renewclass}[2]{\renewcommand{#1}{\ComplexityFont{#2}}} +\newcommand{\renewlang}[2]{\renewcommand{#1}{\lang{#2}}} +\newcommand{\renewfunc}[2]{\renewcommand{#1}{\func{#2}}} + \newboolean{complexity@fullmode} % \setboolean{complexity@fullmode}{true} |