CTAN Comprehensive TeX Archive Network

Directory macros/latex/contrib/xcolor

README.md

Package xcolor by Dr. Uwe Kern

Version 2024-09-29 v3.02

Maintained by the Project https://github.com/latex3/xcolor/issues

xcolor provides easy driver-independent access to several kinds of colors, tints, shades, tones, and mixes of arbitrary colors by means of color expressions like color{red!50!green!20!blue}. It allows to select a document-wide target color model and offers tools for automatic color schemes, conversion between nine color models, alternating table row colors, color blending and masking, color separation, and color wheel calculations.

Copyright (C)

  • 2003-2021 Dr. Uwe Kern
  • 2021-2024 The Project

License

Project Public License, version 1.3c or later.

Installation instructions

  • Extract all package files:
  • latex xcolor.ins
  • Put the generated files to their respective locations

within the installation:

.sty -> /tex/latex/xcolor/ .def -> /tex/latex/xcolor/ .pro -> /dvips/xcolor/

  • Create the documentation:

latex xcolor.dtx latex xcolor.dtx makeindex -s gind.ist xcolor.idx latex xcolor.dtx latex xcolor.dtx

  • Run the test files (N=1,2,...):

latex xcolorN.tex latex xcolorN.tex

Notes

  • xcolor1.tex should run with both and pdf, it yields a 50-page document with several systematic color conversion examples
  • xcolor2.tex is a 3-page pstricks example document that won't run with pdf
  • xcolor3.tex is a 2-page example for demonstrating several display and logging facilities
  • xcolor4.tex is a 1-page driver test file; uncomment the relevant code line in the header and run it with the appropriate program, e.g., latex xcolor4 or any other processor; apply any desired post-processing like dvips, dvipdfm, etc.
  • If the file xcolor.ins is missing, run latex xcolor.dtx once and quit the compiler as soon as the first error message appears.

History

See file ChangeLog.

Download the contents of this package in one zip archive (1009.8k).

xcolor – Driver-independent color extensions for and pdf

The package starts from the basic facilities of the color package, and provides easy driver-independent access to several kinds of color tints, shades, tones, and mixes of arbitrary colors. It allows a user to select a document-wide target color model and offers complete tools for conversion between eight color models. Additionally, there is a command for alternating row colors plus repeated non-aligned material (like horizontal lines) in tables. Colors can be mixed like \color{red!30!green!40!blue}.

Packagexcolor
Home pagehttps://github.com/latex3/xcolor
Bug trackerhttps://github.com/latex3/xcolor/issues
Version3.02 2024-09-29
LicensesThe Project Public License 1.3c
Copyright2003–2021 Dr. Uwe Kern
2021–2024 The Project
MaintainerThe Project Team
Uwe Kern (inactive)
Contained inTeX Live as xcolor
MiKTeX as xcolor
TopicsColour
...
Guest Book Sitemap Contact Contact Author