Code Monkey home page Code Monkey logo

pgf-cmykshadings's Introduction

pgf-cmykshadings โ€” Support for CMYK and grayscale shadings in PGF/TikZ

The pgf-cmykshadings package provides support for CMYK and grayscale shadings for the pgf package. By default pgf only supports RGB shadings. pgf-cmykshadings attempts to produce shadings consistent with the currently selected xcolor colour model. The rgb, cmyk, and gray colour models from the xcolor package are supported.

Installation from TeXLive or MiKTeX

pgf-cmykshadings is in TeXLive and MiKTeX and can be installed in the usual way through your distribution. e.g., in TeXLive by running:

tlmgr install pgf-cmykshadings

Installation from CTAN

Download and unpack pgf-cmykshadings.zip from CTAN at https://ctan.org/pkg/pgf-cmykshadings

Change to the pgf-cmykshadings directory, then run:

tex pgf-cmykshadings.ins

to generate the style file (pgf-cmykshadigns.sty) and driver files (pgfsys-cmykshadings-*.def).

Copy these generated files to $TEXMFHOME/tex/latex/pgf-cmykshadings/ and pgf-cmykshadings.pdf to $TEXMFHOME/doc/latex/pgf-cmykshadings/.

You can find $TEXMFHOME by running:

kpsewhich -var-value=TEXMFHOME

Installation from Git Source

pgf-cmykshadings uses the l3build system.

Clone the git repository using:

git clone https://github.com/dcpurton/pgf-cmykshadings.git

Change to the pgf-cmykshadings directory, and then the package and documentation can be installed by running:

l3build install --full

Licence

Copyright (c) 2018 David Purton <[email protected]>

This work may be distributed and/or modified under the conditions of
the LaTeX Project Public License, either version 1.3c of this license
or (at your option) any later version. The latest version of this
license is in
   http://www.latex-project.org/lppl.txt
and version 1.3c or later is part of all distributions of LaTeX
version 2005/12/01 or later.

This work is "maintained" (as per the LPPL maintenance status)
by David Purton.

This work consists of the files pgf-cmykshadings.ins,
pgf-cmykshadings.dtx, README.md, and the derived files
  - pgf-cmykshadings.sty
  - pgfsys-cmykshadings-pdftex.def
  - pgfsys-cmykshadings-xetex.def
  - pgfsys-cmykshadings-luatex.def
  - pgfsys-cmykshadings-dvipdfmx.def
  - pgfsys-cmykshadings-dvipdfm.def
  - pgfsys-cmykshadings-dvips.def
  - pgfsys-cmykshadings-textures.def
  - pgfsys-cmykshadings-vtex.def
  - pgfsys-cmykshadings-common-postscript.def
  - pgf-cmykshadings.pdf


Substantial parts of the code for this package are taken from the pgf package
file pgfcoreshade.code.tex, along with the driver files pgfsys-*.def, copyright
(c) 2006 Till Tantau and then slightly modified to support CMYK and grayscale
shadings.

pgf-cmykshadings's People

Contributors

dcpurton avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar

pgf-cmykshadings's Issues

Choose shading colour model on the basis of the current xcolor model

The shading colour model could be chosen on the basis of the current xcolor model.

Although, if the natural colour model is in effect, then creating a shading between an RGB and a CMYK colour would still give problematic output regardless of which colour model was chosen.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.