HaTeX-3.2.0.1: LaTeX code writer.

Safe HaskellNone

Text.LaTeX.Packages.Color.Monad

Contents

Description

For contributors: This module was automatically generated by HaTeX-meta. So, please, don't make any change here directly, because this is intended to be generated automatically from Text.LaTeX.Packages.Color module via HaTeX-meta, and therefore, changes must to be done in these places.

Synopsis

Color package

pcolor :: PackageNameSource

The pcolor package.

  usepackage [] pcolor

Package options

monochrome :: Monad m => LaTeXT_ mSource

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 :: Monad m => ColSpec -> LaTeXT_ mSource

Set the background color fot the current and following pages.

color :: Monad m => ColSpec -> LaTeXT_ mSource

Switch to a new text color.

textcolor :: Monad m => ColSpec -> LaTeXT_ m -> LaTeXT_ mSource

Set the text of its argument in the given colour.

colorbox :: Monad m => ColSpec -> LaTeXT_ m -> LaTeXT_ mSource

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

fcolorbox :: Monad m => ColSpec -> ColSpec -> LaTeXT_ m -> LaTeXT_ mSource

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

normalcolor :: Monad m => LaTeXT_ mSource

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.