HaTeX-3.2.0.1: LaTeX code writer.

Safe HaskellNone

Text.LaTeX.Packages.Color

Contents

Synopsis

Color package

pcolor :: PackageNameSource

The pcolor package.

 usepackage [] pcolor

Package options

monochrome :: LaTeXSource

To convert all colour commands to black and white, for previewers that cannot handle colour.

Types

data Color Source

Constructors

Red 
Green 
Blue 
Yellow 
Cyan 
Magenta 
Black 
White 

Instances

Commands

pagecolor :: ColSpec -> LaTeXSource

Set the background color fot the current and following pages.

color :: ColSpec -> LaTeXSource

Switch to a new text color.

textcolor :: ColSpec -> LaTeX -> LaTeXSource

Set the text of its argument in the given colour.

colorbox :: ColSpec -> LaTeX -> LaTeXSource

Put its argument in a box with the given colour as background.

fcolorbox :: ColSpec -> ColSpec -> LaTeX -> LaTeXSource

Application of fcolorbox cs1 cs2 l put l in a framed box with cs1 as frame color and cs2 as background color.

normalcolor :: LaTeXSource

Switch to the colour that was active at the end of the preamble. Thus, placing a color command in the preamble can change the standard colour of the whole document.