diff options
author | Karl Berry <karl@freefriends.org> | 2011-02-24 23:36:18 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2011-02-24 23:36:18 +0000 |
commit | 2a886fbce3b9f2ed32e02e952d4b300e6e3dd7b4 (patch) | |
tree | 1e795c05f0261278a6d0889ad79c977485ec6e5c /Master/texmf-dist/doc/latex/pstricks-examples/exafoils.cls | |
parent | 9b3b61b4613379d47f4dc1700f76efc1c1dbfced (diff) |
new german doc pstricks examples (23feb11)
git-svn-id: svn://tug.org/texlive/trunk@21511 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex/pstricks-examples/exafoils.cls')
-rw-r--r-- | Master/texmf-dist/doc/latex/pstricks-examples/exafoils.cls | 57 |
1 files changed, 57 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/pstricks-examples/exafoils.cls b/Master/texmf-dist/doc/latex/pstricks-examples/exafoils.cls new file mode 100644 index 00000000000..e46324f6825 --- /dev/null +++ b/Master/texmf-dist/doc/latex/pstricks-examples/exafoils.cls @@ -0,0 +1,57 @@ +% +% $Id: ttctfoils.cls 121 2009-07-16 07:30:44Z herbert $ +% +%% +%% Praesentationen, 1st edition +%% +%% Prasentationen mit LaTeX +%% +%% Copyright (C) 2009 Voss +%% +%% +%% It may be distributed and/or modified under the conditions +%% of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% +%% See http://www.latex-project.org/lppl.txt for details. +%% +% +\DeclareOption*{\PassOptionsToClass{\CurrentOption}{foils}} +\ProcessOptions\relax +\LoadClass{foils} +\RequirePackage[T1]{fontenc} +\let\StartShownPreambleCommands\relax +\let\StopShownPreambleCommands\relax + +% ignore second documentclass command for display in book: + +\renewcommand\documentclass[2][]{} + +\endinput + +\AtBeginDocument{ +\ifx\selectcolormodel\@undefined +\else + \selectcolormodel{cmyk} +\fi + + +\special{ps: + /setcmykcolor { exch 0.11 mul add + exch 0.59 mul add + exch 0.3 mul add + dup 1 gt { pop 1 } if neg 1 add setgray } def + /setrgbcolor { 0.11 mul + exch 0.59 mul add + exch 0.3 mul add setgray } def + /sethsbcolor { /b exch def /s exch def 6 mul dup cvi dup /i exch def sub /f exch def + /F [[0 1 f sub 1][f 0 1][1 0 1 f sub][1 f 0][1 f sub 1 0][0 1 f][0 1 1]] def + F i get { s mul neg 1 add b mul} forall + 0.11 mul + exch 0.59 mul add + exch 0.3 mul add setgray } def + } +} + +\endinput + |