| 1 |
% \iffalse meta-comment |
| 2 |
% -------------------------------------------------------------- |
| 3 |
% Part of the TeXPower bundle |
| 4 |
% Copyright (C) 1999-2004 Stephan Lehmke |
| 5 |
% |
| 6 |
% This program is free software; you can redistribute it and/or |
| 7 |
% modify it under the terms of the GNU General Public License |
| 8 |
% as published by the Free Software Foundation; either version 2 |
| 9 |
% of the License, or (at your option) any later version. |
| 10 |
% |
| 11 |
% This program is distributed in the hope that it will be useful, |
| 12 |
% but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 13 |
% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 14 |
% GNU General Public License for more details. |
| 15 |
% -------------------------------------------------------------- |
| 16 |
% |
| 17 |
% texpower-cfg.dtx,v 1.3 2005/03/28 22:30:59 hansfn Exp |
| 18 |
% |
| 19 |
% \fi |
| 20 |
% |
| 21 |
% \iffalse |
| 22 |
% |
| 23 |
%<*driver> |
| 24 |
\documentclass{article} |
| 25 |
\begin{document} |
| 26 |
\typeout{***********************************************************} |
| 27 |
\typeout{*} |
| 28 |
\typeout{*\space\space\space\space\space\space\space Do NOT compile this dtx file!} |
| 29 |
\typeout{*} |
| 30 |
\typeout{***********************************************************} |
| 31 |
\end{document} |
| 32 |
%</driver> |
| 33 |
% |
| 34 |
% \fi |
| 35 |
%<*tpcolors> |
| 36 |
%<<KEEPCOMMENTS |
| 37 |
%======================================================================================================================= |
| 38 |
% File: tpcolors.cfg |
| 39 |
% |
| 40 |
% Color configuration for the texpower package. |
| 41 |
% |
| 42 |
%======================================================================================================================= |
| 43 |
|
| 44 |
%======================================================================================================================= |
| 45 |
% Standard colors. |
| 46 |
% |
| 47 |
% For every of the colors described in the "Defined colors for emphasis and highlighting elements" section of the |
| 48 |
% documentation, there is one default value which is defined here. Further default colors are for background, panel and |
| 49 |
% navigation elements. |
| 50 |
% |
| 51 |
% Note that this file is loaded _only_ if TeXPower's color management is active. |
| 52 |
% |
| 53 |
% Redefine colors for individual taste. Please remember, however, that a document transferred into another configuration |
| 54 |
% where a different tpcolors.cfg is present, will look different on compilation. So for a `stable' color configuration, |
| 55 |
% it might be better to put the respective \defineTPcolor commands into the preamble of the document or into a style |
| 56 |
% file. |
| 57 |
|
| 58 |
% Color definitions for white background. |
| 59 |
|
| 60 |
\defineTPcolor[whitebg]{pagecolor}{rgb}{1,1,1}% Page background (for background style `plain'). |
| 61 |
|
| 62 |
\defineTPcolor[whitebg]{bgndstartcolor}{rgb}{1,1,0.9}% Start color for gradient background. |
| 63 |
\defineTPcolor[whitebg]{bgndendcolor}{rgb}{1,1,1}% End color for gradient background. |
| 64 |
\defineTPcolor[whitebg]{bgndmidcolor}{rgb}{0.9,1,0.9}% Middle color for gradient background (`double' gradient). |
| 65 |
|
| 66 |
\defineTPcolor[whitebg]{textcolor}{rgb}{0,0,0.5}% Normal text. |
| 67 |
|
| 68 |
\defineTPcolor[whitebg]{emcolor}{rgb}{0,0,0.8}% Emphasised text (if coloremph option is given). |
| 69 |
\defineTPcolor[whitebg]{altemcolor}{rgb}{0,0.5,0.8}% Double emphasised text (if coloremph option is given). |
| 70 |
|
| 71 |
\defineTPcolor[whitebg]{mathcolor}{rgb}{0,0.5,0}% Math (if colormath option is given). |
| 72 |
|
| 73 |
\defineTPcolor[whitebg]{codecolor}{rgb}{0,0.5,0}% \code (additional emphasising command). |
| 74 |
\defineTPcolor[whitebg]{underlcolor}{rgb}{0.7,0,0.3}% \underl (additional emphasising command). |
| 75 |
\defineTPcolor[whitebg]{conceptcolor}{rgb}{0.6,0,0}% \concept (additional emphasising command). |
| 76 |
\defineTPcolor[whitebg]{inactivecolor}{rgb}{0.7,0.7,0.7}% \inactive (additional emphasising command). |
| 77 |
\defineTPcolor[whitebg]{presentcolor}{rgb}{1,1,0.8}% Background color for \present (emphasising command). |
| 78 |
\defineTPcolor[whitebg]{highlightcolor}{rgb}{1,1,0.7}% Background color for \highlight (emphasising command). |
| 79 |
|
| 80 |
\defineTPcolor[whitebg]{buttoncolor}{rgb}{0.8,0.8,0.9}% Background color for buttons. |
| 81 |
\defineTPcolor[whitebg]{buttonshadowcolor}{rgb}{.001,0,.502}% Button shadow. |
| 82 |
\defineTPcolor[whitebg]{buttonframecolor}{gray}{0}% Button frame. |
| 83 |
\defineTPcolor[whitebg]{buttontextcolor}{gray}{0}% Button text. |
| 84 |
|
| 85 |
\defineTPcolor[whitebg]{toppanelcolor}{gray}{0.9}% Top panel background. |
| 86 |
\defineTPcolor[whitebg]{bottompanelcolor}{gray}{0.9}% Bottom panel background. |
| 87 |
\defineTPcolor[whitebg]{leftpanelcolor}{gray}{0.9}% Left panel background. |
| 88 |
\defineTPcolor[whitebg]{rightpanelcolor}{gray}{0.9}% Right panel background. |
| 89 |
\defineTPcolor[whitebg]{toppaneltextcolor}{gray}{0}% Top panel text. |
| 90 |
\defineTPcolor[whitebg]{bottompaneltextcolor}{gray}{0}% Bottom panel text. |
| 91 |
\defineTPcolor[whitebg]{leftpaneltextcolor}{gray}{0}% Left panel text. |
| 92 |
\defineTPcolor[whitebg]{rightpaneltextcolor}{gray}{0}% Right panel text. |
| 93 |
|
| 94 |
|
| 95 |
% Color definitions for `light' background. |
| 96 |
|
| 97 |
\defineTPcolor[lightbg]{pagecolor}{rgb}{1,1,0.9}% Page background (for background style `plain'). |
| 98 |
|
| 99 |
\defineTPcolor[lightbg]{bgndstartcolor}{rgb}{1,1,0.8}% Start color for gradient background. |
| 100 |
\defineTPcolor[lightbg]{bgndendcolor}{rgb}{1,1,1}% End color for gradient background. |
| 101 |
\defineTPcolor[lightbg]{bgndmidcolor}{rgb}{0.8,1,0.8}% Middle color for gradient background (`double' gradient). |
| 102 |
|
| 103 |
\defineTPcolor[lightbg]{textcolor}{rgb}{0,0,0.5}% Normal text. |
| 104 |
|
| 105 |
\defineTPcolor[lightbg]{emcolor}{rgb}{0,0,0.8}% Emphasised text (if coloremph option is given). |
| 106 |
\defineTPcolor[lightbg]{altemcolor}{rgb}{0,0.5,0.8}% Double emphasised text (if coloremph option is given). |
| 107 |
|
| 108 |
\defineTPcolor[lightbg]{mathcolor}{rgb}{0,0.4,0}% Math (if colormath option is given). |
| 109 |
|
| 110 |
\defineTPcolor[lightbg]{codecolor}{rgb}{0,0.5,0}% \code (additional emphasising command). |
| 111 |
\defineTPcolor[lightbg]{underlcolor}{rgb}{0.7,0,0.3}% \underl (additional emphasising command). |
| 112 |
\defineTPcolor[lightbg]{conceptcolor}{rgb}{0.6,0,0}% \concept (additional emphasising command). |
| 113 |
\defineTPcolor[lightbg]{inactivecolor}{rgb}{0.7,0.7,0.7}% \inactive (additional emphasising command). |
| 114 |
\defineTPcolor[lightbg]{presentcolor}{rgb}{1,1,1}% Background color for \present (emphasising command). |
| 115 |
\defineTPcolor[lightbg]{highlightcolor}{rgb}{1,1,0.6}% Background color for \highlight (emphasising command). |
| 116 |
|
| 117 |
\defineTPcolor[lightbg]{buttoncolor}{rgb}{0.8,0.8,0.9}% Background color for buttons. |
| 118 |
\defineTPcolor[lightbg]{buttonshadowcolor}{rgb}{.001,0,.502}% Button shadow. |
| 119 |
\defineTPcolor[lightbg]{buttonframecolor}{gray}{0}% Button frame. |
| 120 |
\defineTPcolor[lightbg]{buttontextcolor}{gray}{0}% Button text. |
| 121 |
|
| 122 |
\defineTPcolor[lightbg]{toppanelcolor}{gray}{0.9}% Top panel background. |
| 123 |
\defineTPcolor[lightbg]{bottompanelcolor}{gray}{0.9}% Bottom panel background. |
| 124 |
\defineTPcolor[lightbg]{leftpanelcolor}{gray}{0.9}% Left panel background. |
| 125 |
\defineTPcolor[lightbg]{rightpanelcolor}{gray}{0.9}% Right panel background. |
| 126 |
\defineTPcolor[lightbg]{toppaneltextcolor}{gray}{0}% Top panel text. |
| 127 |
\defineTPcolor[lightbg]{bottompaneltextcolor}{gray}{0}% Bottom panel text. |
| 128 |
\defineTPcolor[lightbg]{leftpaneltextcolor}{gray}{0}% Left panel text. |
| 129 |
\defineTPcolor[lightbg]{rightpaneltextcolor}{gray}{0}% Right panel text. |
| 130 |
|
| 131 |
|
| 132 |
% Color definitions for `dark' background. |
| 133 |
|
| 134 |
\defineTPcolor[darkbg]{pagecolor}{rgb}{0,0,0.4}% Page background (for background style `plain'). |
| 135 |
|
| 136 |
\defineTPcolor[darkbg]{bgndstartcolor}{rgb}{0,0,0.2}% Start color for gradient background. |
| 137 |
\defineTPcolor[darkbg]{bgndendcolor}{rgb}{0,0,0.6}% End color for gradient background. |
| 138 |
\defineTPcolor[darkbg]{bgndmidcolor}{rgb}{0,0.3,0.4}% Middle color for gradient background (`double' gradient). |
| 139 |
|
| 140 |
\defineTPcolor[darkbg]{textcolor}{rgb}{1,1,0.6}% Normal text. |
| 141 |
|
| 142 |
\defineTPcolor[darkbg]{emcolor}{rgb}{1,1,0}% Emphasised text (if coloremph option is given). |
| 143 |
\defineTPcolor[darkbg]{altemcolor}{rgb}{1,0.6,0}% Double emphasised text (if coloremph option is given). |
| 144 |
|
| 145 |
\defineTPcolor[darkbg]{mathcolor}{rgb}{1,0.5,1}% Math (if colormath option is given). |
| 146 |
|
| 147 |
\defineTPcolor[darkbg]{codecolor}{rgb}{0,0.7,0}% \code (additional emphasising command). |
| 148 |
\defineTPcolor[darkbg]{underlcolor}{rgb}{0.3,1,0.7}% \underl (additional emphasising command). |
| 149 |
\defineTPcolor[darkbg]{conceptcolor}{rgb}{0.4,1,1}% \concept (additional emphasising command). |
| 150 |
\defineTPcolor[darkbg]{inactivecolor}{rgb}{0.4,0.4,0.4}% \inactive (additional emphasising command). |
| 151 |
\defineTPcolor[darkbg]{presentcolor}{rgb}{0,0,0}% Background color for \present (emphasising command). |
| 152 |
\defineTPcolor[darkbg]{highlightcolor}{rgb}{0,0,0.1}% Background color for \highlight (emphasising command). |
| 153 |
|
| 154 |
\defineTPcolor[darkbg]{buttoncolor}{rgb}{0.4,0.4,0.6}% Background color for buttons. |
| 155 |
\defineTPcolor[darkbg]{buttonshadowcolor}{gray}{0}% Button shadow. |
| 156 |
\defineTPcolor[darkbg]{buttonframecolor}{gray}{0}% Button frame. |
| 157 |
\defineTPcolor[darkbg]{buttontextcolor}{gray}{0}% Button text. |
| 158 |
|
| 159 |
\defineTPcolor[darkbg]{toppanelcolor}{gray}{0.4}% Top panel background. |
| 160 |
\defineTPcolor[darkbg]{bottompanelcolor}{gray}{0.4}% Bottom panel background. |
| 161 |
\defineTPcolor[darkbg]{leftpanelcolor}{gray}{0.4}% Left panel background. |
| 162 |
\defineTPcolor[darkbg]{rightpanelcolor}{gray}{0.4}% Right panel background. |
| 163 |
\defineTPcolor[darkbg]{toppaneltextcolor}{gray}{1}% Top panel text. |
| 164 |
\defineTPcolor[darkbg]{bottompaneltextcolor}{gray}{1}% Bottom panel text. |
| 165 |
\defineTPcolor[darkbg]{leftpaneltextcolor}{gray}{1}% Left panel text. |
| 166 |
\defineTPcolor[darkbg]{rightpaneltextcolor}{gray}{1}% Right panel text. |
| 167 |
|
| 168 |
|
| 169 |
% Color definitions for black background. |
| 170 |
|
| 171 |
\defineTPcolor[blackbg]{pagecolor}{rgb}{0,0,0}% Page background (for background style `plain'). |
| 172 |
|
| 173 |
\defineTPcolor[blackbg]{bgndstartcolor}{rgb}{0,0,0}% Start color for gradient background. |
| 174 |
\defineTPcolor[blackbg]{bgndendcolor}{rgb}{0,0,0.2}% End color for gradient background. |
| 175 |
\defineTPcolor[blackbg]{bgndmidcolor}{rgb}{0,0.2,0.2}% Middle color for gradient background (`double' gradient). |
| 176 |
|
| 177 |
\defineTPcolor[blackbg]{textcolor}{rgb}{1,1,0.6}% Normal text. |
| 178 |
|
| 179 |
\defineTPcolor[blackbg]{emcolor}{rgb}{1,1,0}% Emphasised text (if coloremph option is given). |
| 180 |
\defineTPcolor[blackbg]{altemcolor}{rgb}{1,0.5,0}% Double emphasised text (if coloremph option is given). |
| 181 |
|
| 182 |
\defineTPcolor[blackbg]{mathcolor}{rgb}{1,0.5,1}% Math (if colormath option is given). |
| 183 |
|
| 184 |
\defineTPcolor[blackbg]{codecolor}{rgb}{0,0.7,0}% \code (additional emphasising command). |
| 185 |
\defineTPcolor[blackbg]{underlcolor}{rgb}{0.3,1,0.7}% \underl (additional emphasising command). |
| 186 |
\defineTPcolor[blackbg]{conceptcolor}{rgb}{0.4,1,1}% \concept (additional emphasising command). |
| 187 |
\defineTPcolor[blackbg]{inactivecolor}{rgb}{0.4,0.4,0.4}% \inactive (additional emphasising command). |
| 188 |
\defineTPcolor[blackbg]{presentcolor}{rgb}{0,0,0.3}% Background color for \present (emphasising command). |
| 189 |
\defineTPcolor[blackbg]{highlightcolor}{rgb}{0,0,0.4}% Background color for \highlight (emphasising command). |
| 190 |
|
| 191 |
\defineTPcolor[blackbg]{buttoncolor}{rgb}{0.4,0.4,0.6}% Background color for buttons. |
| 192 |
\defineTPcolor[blackbg]{buttonshadowcolor}{gray}{0}% Button shadow. |
| 193 |
\defineTPcolor[blackbg]{buttonframecolor}{gray}{0}% Button frame. |
| 194 |
\defineTPcolor[blackbg]{buttontextcolor}{gray}{0}% Button text. |
| 195 |
|
| 196 |
\defineTPcolor[blackbg]{toppanelcolor}{gray}{0.4}% Top panel background. |
| 197 |
\defineTPcolor[blackbg]{bottompanelcolor}{gray}{0.4}% Bottom panel background. |
| 198 |
\defineTPcolor[blackbg]{leftpanelcolor}{gray}{0.4}% Left panel background. |
| 199 |
\defineTPcolor[blackbg]{rightpanelcolor}{gray}{0.4}% Right panel background. |
| 200 |
\defineTPcolor[blackbg]{toppaneltextcolor}{gray}{1}% Top panel text. |
| 201 |
\defineTPcolor[blackbg]{bottompaneltextcolor}{gray}{1}% Bottom panel text. |
| 202 |
\defineTPcolor[blackbg]{leftpaneltextcolor}{gray}{1}% Left panel text. |
| 203 |
\defineTPcolor[blackbg]{rightpaneltextcolor}{gray}{1}% Right panel text. |
| 204 |
|
| 205 |
|
| 206 |
% The default definitions of TeXPower's standard colors do not include dimmed and enhanced variants, leaving the |
| 207 |
% variants to be calculated automatically. This works quite well for the dimmed variant, but the automatically |
| 208 |
% calculated enhanced variant might not be to everybody's taste. The following example (if uncommented) will define |
| 209 |
% custom enhanced versions of all standard `text body' colors in all color sets which look slightly better than the |
| 210 |
% automatically calculated ones. Note that background and panels are not affected by dimming and enhancing. |
| 211 |
|
| 212 |
%% Enhanced color variants for white background. |
| 213 |
|
| 214 |
% \defineTPcolor[whitebg]{etextcolor}{rgb}{0,0,0.7}% Normal text. |
| 215 |
|
| 216 |
% \defineTPcolor[whitebg]{eemcolor}{rgb}{0,0,1}% Emphasised text (if coloremph option is given). |
| 217 |
% \defineTPcolor[whitebg]{ealtemcolor}{rgb}{0,0.6,0.9}% Double emphasised text (if coloremph option is given). |
| 218 |
|
| 219 |
% \defineTPcolor[whitebg]{emathcolor}{rgb}{0,0.6,0}% Math (if colormath option is given). |
| 220 |
|
| 221 |
% \defineTPcolor[whitebg]{ecodecolor}{rgb}{0,0.6,0}% \code (additional emphasising command). |
| 222 |
% \defineTPcolor[whitebg]{eunderlcolor}{rgb}{0.8,0,0.4}% \underl (additional emphasising command). |
| 223 |
% \defineTPcolor[whitebg]{econceptcolor}{rgb}{0.8,0,0}% \concept (additional emphasising command). |
| 224 |
% \defineTPcolor[whitebg]{einactivecolor}{rgb}{0.6,0.6,0.6}% \inactive (additional emphasising command). |
| 225 |
% \defineTPcolor[whitebg]{epresentcolor}{rgb}{1,1,0.8}% Background color for \present (emphasising command). |
| 226 |
% \defineTPcolor[whitebg]{ehighlightcolor}{rgb}{1,1,0.7}% Background color for \highlight (emphasising command). |
| 227 |
|
| 228 |
|
| 229 |
%% Enhanced color variants for `light' background. |
| 230 |
|
| 231 |
% \defineTPcolor[lightbg]{etextcolor}{rgb}{0,0,0.7}% Normal text. |
| 232 |
|
| 233 |
% \defineTPcolor[lightbg]{eemcolor}{rgb}{0,0,1}% Emphasised text (if coloremph option is given). |
| 234 |
% \defineTPcolor[lightbg]{ealtemcolor}{rgb}{0,0.6,0.9}% Double emphasised text (if coloremph option is given). |
| 235 |
|
| 236 |
% \defineTPcolor[lightbg]{emathcolor}{rgb}{0,0.6,0}% Math (if colormath option is given). |
| 237 |
|
| 238 |
% \defineTPcolor[lightbg]{ecodecolor}{rgb}{0,0.65,0}% \code (additional emphasising command). |
| 239 |
% \defineTPcolor[lightbg]{eunderlcolor}{rgb}{0.8,0,0.4}% \underl (additional emphasising command). |
| 240 |
% \defineTPcolor[lightbg]{econceptcolor}{rgb}{0.8,0,0}% \concept (additional emphasising command). |
| 241 |
% \defineTPcolor[lightbg]{einactivecolor}{rgb}{0.6,0.6,0.6}% \inactive (additional emphasising command). |
| 242 |
% \defineTPcolor[lightbg]{epresentcolor}{rgb}{.95,1,.95}% Background color for \present (emphasising command). |
| 243 |
% \defineTPcolor[lightbg]{ehighlightcolor}{rgb}{1,1,0.4}% Background color for \highlight (emphasising command). |
| 244 |
|
| 245 |
|
| 246 |
%% Enhanced color variants for `dark' background. |
| 247 |
|
| 248 |
% \defineTPcolor[darkbg]{etextcolor}{rgb}{1,1,0.8}% Normal text. |
| 249 |
|
| 250 |
% \defineTPcolor[darkbg]{eemcolor}{rgb}{1,1,0.3}% Emphasised text (if coloremph option is given). |
| 251 |
% \defineTPcolor[darkbg]{ealtemcolor}{rgb}{1,0.8,0}% Double emphasised text (if coloremph option is given). |
| 252 |
|
| 253 |
% \defineTPcolor[darkbg]{emathcolor}{rgb}{1,0.6,1}% Math (if colormath option is given). |
| 254 |
|
| 255 |
% \defineTPcolor[darkbg]{ecodecolor}{rgb}{0,0.9,0}% \code (additional emphasising command). |
| 256 |
% \defineTPcolor[darkbg]{eunderlcolor}{rgb}{0.4,1,0.8}% \underl (additional emphasising command). |
| 257 |
% \defineTPcolor[darkbg]{econceptcolor}{rgb}{0.7,1,1}% \concept (additional emphasising command). |
| 258 |
% \defineTPcolor[darkbg]{einactivecolor}{rgb}{0.5,0.5,0.5}% \inactive (additional emphasising command). |
| 259 |
% \defineTPcolor[darkbg]{epresentcolor}{rgb}{0.1,0,0}% Background color for \present (emphasising command). |
| 260 |
% \defineTPcolor[darkbg]{ehighlightcolor}{rgb}{0,0,0}% Background color for \highlight (emphasising command). |
| 261 |
|
| 262 |
|
| 263 |
%% Enhanced color variants for black background. |
| 264 |
|
| 265 |
% \defineTPcolor[blackbg]{etextcolor}{rgb}{1,1,0.8}% Normal text. |
| 266 |
|
| 267 |
% \defineTPcolor[blackbg]{eemcolor}{rgb}{1,1,0.3}% Emphasised text (if coloremph option is given). |
| 268 |
% \defineTPcolor[blackbg]{ealtemcolor}{rgb}{1,0.4,0}% Double emphasised text (if coloremph option is given). |
| 269 |
|
| 270 |
% \defineTPcolor[blackbg]{emathcolor}{rgb}{1,0.6,1}% Math (if colormath option is given). |
| 271 |
|
| 272 |
% \defineTPcolor[blackbg]{ecodecolor}{rgb}{0,0.9,0}% \code (additional emphasising command). |
| 273 |
% \defineTPcolor[blackbg]{eunderlcolor}{rgb}{0.4,1,0.8}% \underl (additional emphasising command). |
| 274 |
% \defineTPcolor[blackbg]{econceptcolor}{rgb}{0.7,1,1}% \concept (additional emphasising command). |
| 275 |
% \defineTPcolor[blackbg]{einactivecolor}{rgb}{0.5,0.5,0.5}% \inactive (additional emphasising command). |
| 276 |
% \defineTPcolor[blackbg]{epresentcolor}{rgb}{0,0,0.4}% Background color for \present (emphasising command). |
| 277 |
% \defineTPcolor[blackbg]{ehighlightcolor}{rgb}{0,0,0.5}% Background color for \highlight (emphasising command). |
| 278 |
|
| 279 |
|
| 280 |
|
| 281 |
% Remember that the color definitions above only represent _one_ example for a possible color configuration. |
| 282 |
% The following example (if uncommented) completely redefines the standard colors for the darkbackground option. This |
| 283 |
% works for one or all colors of this or other background options by analogy. (Comment out the definition of the |
| 284 |
% darkbackground colors above if convenient.) |
| 285 |
|
| 286 |
%% Color definitions for `dark' background. |
| 287 |
|
| 288 |
% \defineTPcolor[darkbg]{pagecolor}{rgb}{0,0.1,0}% Page background (for background style `plain'). |
| 289 |
|
| 290 |
% \defineTPcolor[darkbg]{bgndstartcolor}{rgb}{0,0.05,0}% Start color for gradient background. |
| 291 |
% \defineTPcolor[darkbg]{bgndendcolor}{rgb}{0,0.4,0}% End color for gradient background. |
| 292 |
% \defineTPcolor[darkbg]{bgndmidcolor}{rgb}{0,0.2,0.5}% Middle color for gradient background (`double' gradient). |
| 293 |
|
| 294 |
% \defineTPcolor[darkbg]{textcolor}{rgb}{1,0.6,1}% Normal text. |
| 295 |
|
| 296 |
% \defineTPcolor[darkbg]{emcolor}{rgb}{1,0,1}% Emphasised text (if coloremph option is given). |
| 297 |
% \defineTPcolor[darkbg]{altemcolor}{rgb}{1,0,0.5}% Double emphasised text (if coloremph option is given). |
| 298 |
|
| 299 |
% \defineTPcolor[darkbg]{mathcolor}{rgb}{0.5,1,1}% Math (if colormath option is given). |
| 300 |
|
| 301 |
% \defineTPcolor[darkbg]{codecolor}{rgb}{0.8,0,0}% \code (additional emphasising command). |
| 302 |
% \defineTPcolor[darkbg]{underlcolor}{rgb}{1,0.7,0.3}% \underl (additional emphasising command). |
| 303 |
% \defineTPcolor[darkbg]{conceptcolor}{rgb}{1,1,0.4}% \concept (additional emphasising command). |
| 304 |
% \defineTPcolor[darkbg]{inactivecolor}{rgb}{0.4,0.4,0.4}% \inactive (additional emphasising command). |
| 305 |
% \defineTPcolor[darkbg]{presentcolor}{rgb}{0,0,0}% Background color for \present (emphasising command). |
| 306 |
% \defineTPcolor[darkbg]{highlightcolor}{rgb}{0,0.3,0}% Background color for \highlight (emphasising command). |
| 307 |
|
| 308 |
% \defineTPcolor[darkbg]{buttoncolor}{rgb}{0.4,0.4,0.6}% Background color for buttons. |
| 309 |
% \defineTPcolor[darkbg]{buttonshadowcolor}{gray}{0}% Button shadow. |
| 310 |
% \defineTPcolor[darkbg]{buttonframecolor}{gray}{0}% Button frame. |
| 311 |
% \defineTPcolor[darkbg]{buttontextcolor}{gray}{0}% Button text. |
| 312 |
|
| 313 |
% \defineTPcolor[darkbg]{toppanelcolor}{gray}{0.4}% Top panel background. |
| 314 |
% \defineTPcolor[darkbg]{bottompanelcolor}{gray}{0.4}% Bottom panel background. |
| 315 |
% \defineTPcolor[darkbg]{leftpanelcolor}{gray}{0.4}% Left panel background. |
| 316 |
% \defineTPcolor[darkbg]{rightpanelcolor}{gray}{0.4}% Right panel background. |
| 317 |
% \defineTPcolor[darkbg]{toppaneltextcolor}{gray}{1}% Top panel text. |
| 318 |
% \defineTPcolor[darkbg]{bottompaneltextcolor}{gray}{1}% Bottom panel text. |
| 319 |
% \defineTPcolor[darkbg]{leftpaneltextcolor}{gray}{1}% Left panel text. |
| 320 |
% \defineTPcolor[darkbg]{rightpaneltextcolor}{gray}{1}% Right panel text. |
| 321 |
|
| 322 |
|
| 323 |
% In the usual standard defaults given above, no dimmed or enhanced variants are included, to demonstrate TeXPower's |
| 324 |
% automatic dimming and enhancing capabilities. It is possible, however, to provide `hand-tuned' dimmed and enhanced |
| 325 |
% variants for nicer results. This is done by prefixing "d" or "e" to the color name. In the following, custom dimmed |
| 326 |
% and enhanced variants of some of the colors defined above are specified. Note that background and panels are not |
| 327 |
% affected by dimming and enhancing, so only the `text body' colors are specified. |
| 328 |
|
| 329 |
%% Dimmed color variants for `dark' background. |
| 330 |
|
| 331 |
% \defineTPcolor[darkbg]{dtextcolor}{rgb}{0.5,0.4,0.5}% Normal text. |
| 332 |
|
| 333 |
% \defineTPcolor[darkbg]{demcolor}{rgb}{0.5,0,0.5}% Emphasised text (if coloremph option is given). |
| 334 |
% \defineTPcolor[darkbg]{daltemcolor}{rgb}{0.5,0,0.2}% Double emphasised text (if coloremph option is given). |
| 335 |
|
| 336 |
% \defineTPcolor[darkbg]{dmathcolor}{rgb}{0.2,0.5,0.5}% Math (if colormath option is given). |
| 337 |
|
| 338 |
% \defineTPcolor[darkbg]{dcodecolor}{rgb}{0.5,0,0}% \code (additional emphasising command). |
| 339 |
% \defineTPcolor[darkbg]{dunderlcolor}{rgb}{0.5,0.3,0.1}% \underl (additional emphasising command). |
| 340 |
% \defineTPcolor[darkbg]{dconceptcolor}{rgb}{0.5,0.5,0.2}% \concept (additional emphasising command). |
| 341 |
% \defineTPcolor[darkbg]{dinactivecolor}{rgb}{0.2,0.2,0.2}% \inactive (additional emphasising command). |
| 342 |
% \defineTPcolor[darkbg]{dpresentcolor}{rgb}{0,0.05,0}% Background color for \present (emphasising command). |
| 343 |
% \defineTPcolor[darkbg]{dhighlightcolor}{rgb}{0,0.15,0}% Background color for \highlight (emphasising command). |
| 344 |
|
| 345 |
|
| 346 |
%% Enhanced color variants for `dark' background. |
| 347 |
|
| 348 |
% \defineTPcolor[darkbg]{etextcolor}{rgb}{1,0.8,1}% Normal text. |
| 349 |
|
| 350 |
% \defineTPcolor[darkbg]{eemcolor}{rgb}{1,0.2,1}% Emphasised text (if coloremph option is given). |
| 351 |
% \defineTPcolor[darkbg]{ealtemcolor}{rgb}{1,0.2,0.7}% Double emphasised text (if coloremph option is given). |
| 352 |
|
| 353 |
% \defineTPcolor[darkbg]{emathcolor}{rgb}{0.7,1,1}% Math (if colormath option is given). |
| 354 |
|
| 355 |
% \defineTPcolor[darkbg]{ecodecolor}{rgb}{1,0,0}% \code (additional emphasising command). |
| 356 |
% \defineTPcolor[darkbg]{eunderlcolor}{rgb}{1,0.9,0.5}% \underl (additional emphasising command). |
| 357 |
% \defineTPcolor[darkbg]{econceptcolor}{rgb}{1,1,0.6}% \concept (additional emphasising command). |
| 358 |
% \defineTPcolor[darkbg]{einactivecolor}{rgb}{0.5,0.5,0.5}% \inactive (additional emphasising command). |
| 359 |
% \defineTPcolor[darkbg]{epresentcolor}{rgb}{0.2,0,0}% Background color for \present (emphasising command). |
| 360 |
% \defineTPcolor[darkbg]{ehighlightcolor}{rgb}{0,0.4,0}% Background color for \highlight (emphasising command). |
| 361 |
|
| 362 |
|
| 363 |
|
| 364 |
% The following example (if uncommented) shows what is neccessary for defining a completely new standard color which is |
| 365 |
% recognized by TeXPower commands like \dimcolors, \enhancecolors (and display commands using those) as well as the |
| 366 |
% commands \whitebackground, \lightbackground, \darkbackground, and \blackbackground. |
| 367 |
% |
| 368 |
% If you don't want to give different definitions of your color for different backgrounds, you can define it just in the |
| 369 |
% current color set (leaving out the optional argument to \defineTPcolor), but then it will stay the same on all |
| 370 |
% backgrounds and not be adapted when the background color changes. |
| 371 |
% |
| 372 |
% You don't have to define dimmed and enhanced variants of your color (with prefix d and e, respectively). If you just |
| 373 |
% leave them out, TeXPower will calculate appropriate variants automatically. |
| 374 |
|
| 375 |
% \defineTPcolor[whitebg]{mycolor}{rgb}{1,0.5,0}% Variants of mycolor for white backgrounds. |
| 376 |
% \defineTPcolor[whitebg]{dmycolor}{rgb}{0.9,0.8,0.6}% |
| 377 |
% \defineTPcolor[whitebg]{emycolor}{rgb}{1,0.7,0}% |
| 378 |
% % |
| 379 |
% \defineTPcolor[lightbg]{mycolor}{rgb}{1,0.5,0}% Variants of mycolor for light backgrounds. |
| 380 |
% \defineTPcolor[lightbg]{dmycolor}{rgb}{0.9,0.8,0.6}% |
| 381 |
% \defineTPcolor[lightbg]{emycolor}{rgb}{1,0.7,0}% |
| 382 |
% % |
| 383 |
% \defineTPcolor[darkbg]{mycolor}{rgb}{0,0.5,1}% Variants of mycolor for dark backgrounds. |
| 384 |
% \defineTPcolor[darkbg]{dmycolor}{rgb}{0.1,0.2,0.4}% |
| 385 |
% \defineTPcolor[darkbg]{emycolor}{rgb}{0,0.3,1}% |
| 386 |
% % |
| 387 |
% \defineTPcolor[blackbg]{mycolor}{rgb}{0,0.5,1}% Variants of mycolor for black backgrounds. |
| 388 |
% \defineTPcolor[blackbg]{dmycolor}{rgb}{0.1,0.2,0.4}% |
| 389 |
% \defineTPcolor[blackbg]{emycolor}{rgb}{0,0.3,1}% |
| 390 |
|
| 391 |
%KEEPCOMMENTS |
| 392 |
%</tpcolors> |
| 393 |
%======================================================================================================================= |
| 394 |
%<*tpoptions> |
| 395 |
%<<KEEPCOMMENTS |
| 396 |
%======================================================================================================================= |
| 397 |
% File: tpoptions.cfg |
| 398 |
% |
| 399 |
% System-specific configuration of options defined by the texpower package. |
| 400 |
% |
| 401 |
%======================================================================================================================= |
| 402 |
|
| 403 |
% The following example (if uncommented) will turn on the display option by default. |
| 404 |
|
| 405 |
%\ExecuteOptions{display} |
| 406 |
|
| 407 |
%KEEPCOMMENTS |
| 408 |
%</tpoptions> |
| 409 |
%======================================================================================================================= |
| 410 |
%<*tpsettings> |
| 411 |
%<<KEEPCOMMENTS |
| 412 |
%======================================================================================================================= |
| 413 |
% File: tpsettings.cfg |
| 414 |
% |
| 415 |
% System-specific configuration of defaults defined by the texpower package. |
| 416 |
% |
| 417 |
%======================================================================================================================= |
| 418 |
|
| 419 |
|
| 420 |
%KEEPCOMMENTS |
| 421 |
%</tpsettings> |
| 422 |
\endinput |