summaryrefslogtreecommitdiff
path: root/info/examples/lgc2/ttctbeamer.cls
diff options
context:
space:
mode:
Diffstat (limited to 'info/examples/lgc2/ttctbeamer.cls')
-rw-r--r--info/examples/lgc2/ttctbeamer.cls53
1 files changed, 53 insertions, 0 deletions
diff --git a/info/examples/lgc2/ttctbeamer.cls b/info/examples/lgc2/ttctbeamer.cls
new file mode 100644
index 0000000000..ae0129cbbe
--- /dev/null
+++ b/info/examples/lgc2/ttctbeamer.cls
@@ -0,0 +1,53 @@
+%
+% $Id: ttctbeamer.cls,v 1.7 2007/06/06 09:18:58 voss Exp $
+%
+%%
+%% The LaTeX Companion, 2ed
+%%
+%% Example ``beamer like'' class for use with the Companion examples.
+%%
+%% Copyright (C) 2006 Herbert Voss, Frank Mittelbach, Michel Goossens,
+%%
+%% 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.
+%%
+%
+\LoadClass[xcolor=table]{beamer}
+
+\usepackage{lmodern}
+\RequirePackage[T1]{fontenc}
+
+\let\StartShownPreambleCommands\relax
+\let\StopShownPreambleCommands\relax
+
+% ignore second documentclass command for display in book:
+
+\renewcommand\documentclass[2][]{}
+
+\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
+