This style causes to produce output that can be printed on the QMS color printer with aptex to produce color transparencies. When the output is printed on a black-and-white PostScript printer, colors are printed as different shades of gray.
The ps-slides style has the following differences from the ordinary slides style.
\colors
command is made a no-op. Colors that are not predefined
must be defined with the \newpscolor
command (see below).
\colorslides
and \blackandwhite
commands are
the same, except that
\colorslides
prints only slides and overlays, not notes.
\invisible
declaration has been
changed, as described below. The old \visible
command is the
same as the new \white
command.
The new commands defined by the ps-slides style are listed below.
\newpscolor{cmd} {red}{green}{blue} | ||
\renewpscolor{cmd}{red} {green}{blue} |
For
Black $=$ [red: 0 , green: 0 , blue: 0 ] White $=$ [red: 1 , green: 1 , blue: 1 ] Red $=$ [red: 1 , green: 0 , blue: 0 ] Light yellow $=$ [red: .5 , green: .5 , blue: 0 ]
\newpscolor
, cmd must not already be defined; for
\renewpscolor
, it must already be defined (but not necessarily
as a color).
The following colors are predefined:
For ordinary printers, which assume white paper,\black
,\red
,\green
,\blue
,\yellow
,\magenta
,\cyan
,\white
\white
text is
invisible. Unlike in ordinary , color-changing commands can be
used in math mode.
\invisible | ||
\visible |
\norestore | ||
\restore |
\norestore
declaration inhibits the proper scoping of color
declarations, causing color declarations to act as if they were global.
The \restore
declaration causes the current and future colors to
become the ones they would have been had there been no \norestore
command. Both \norestore
and \restore
are global declarations.
Example:
\black black {\green green \norestore {\red red} red \restore green} blackThe
\norestore
declaration is handy for color commands inside a
tabbing or tabular environment. However, there are some anomalies:
\restore
command inside a tabbing environment may not
work exactly as it should. Try putting the command immediately after a
\=
, \\
, or \>
.
\fbox
, \framebox
, or \frame
command may
do weird things in the scope of a \norestore
if there's a color
declaration in its argument.
\background
may behave strangely inside the scope of a
\norestore
.
\bgborder
around it.
\hollowbackground | ||
\filledbackground |
\hollowbackground
declaration causes any
\background
command in its scope to produce an outline, much like \fbox
,
instead of a filled box. This is useful for checking the slides with
Proof or on a black-and-white printer. A \filledbackground
declaration has the opposite effect.
\white
be equivalent to \black
, and issues a
\hollowbackground
declaration. Used to print the slides on a
black-and-white printer so colors come out black instead of various
shades of gray.