texlive[42289] Master: xcolor-material (16oct16)
commits+karl at tug.org
commits+karl at tug.org
Sun Oct 16 23:37:31 CEST 2016
Revision: 42289
http://tug.org/svn/texlive?view=revision&revision=42289
Author: karl
Date: 2016-10-16 23:37:31 +0200 (Sun, 16 Oct 2016)
Log Message:
-----------
xcolor-material (16oct16)
Modified Paths:
--------------
trunk/Master/tlpkg/bin/tlpkg-ctan-check
trunk/Master/tlpkg/tlpsrc/collection-latexextra.tlpsrc
Added Paths:
-----------
trunk/Master/texmf-dist/doc/latex/xcolor-material/
trunk/Master/texmf-dist/doc/latex/xcolor-material/README.md
trunk/Master/texmf-dist/doc/latex/xcolor-material/xcolor-material.pdf
trunk/Master/texmf-dist/source/latex/xcolor-material/
trunk/Master/texmf-dist/source/latex/xcolor-material/xcolor-material.dtx
trunk/Master/texmf-dist/source/latex/xcolor-material/xcolor-material.ins
trunk/Master/texmf-dist/tex/latex/xcolor-material/
trunk/Master/texmf-dist/tex/latex/xcolor-material/xcolor-material.sty
trunk/Master/tlpkg/tlpsrc/xcolor-material.tlpsrc
Added: trunk/Master/texmf-dist/doc/latex/xcolor-material/README.md
===================================================================
--- trunk/Master/texmf-dist/doc/latex/xcolor-material/README.md (rev 0)
+++ trunk/Master/texmf-dist/doc/latex/xcolor-material/README.md 2016-10-16 21:37:31 UTC (rev 42289)
@@ -0,0 +1,20 @@
+# The xcolor-material package
+The `xcolor-material` package is built on top of the great [xcolor](https://www.ctan.org/pkg/xcolor) package. It provides a useful definition of the beautiful **Google Material Color Palette**, available at https://material.google.com/style/color.html, for its use in document writing with LaTeX and Friends.
+
+## Installation
+Once the `xcolor-material` package is released in [CTAN](https://www.ctan.org/), users should be able to install it from the TeX distribution package manager available in their PC. However, if you need to install this package manually, you should run:
+
+```
+latex xcolor-material.ins
+```
+
+and copy the generated file `xcolor-material.sty` to a path where LaTeX can find it. To generate the documentation run the following command twice.
+
+```
+pdflatex xcolor-material.dtx
+```
+
+## Copyright
+Copyright :copyright: 2016 Jerick Órdenes
+
+Released under the [LaTeX Project Public License](http://www.latex-project.org/lppl.txt) version 1.3 or later
Property changes on: trunk/Master/texmf-dist/doc/latex/xcolor-material/README.md
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: trunk/Master/texmf-dist/doc/latex/xcolor-material/xcolor-material.pdf
===================================================================
(Binary files differ)
Index: trunk/Master/texmf-dist/doc/latex/xcolor-material/xcolor-material.pdf
===================================================================
--- trunk/Master/texmf-dist/doc/latex/xcolor-material/xcolor-material.pdf 2016-10-16 21:36:41 UTC (rev 42288)
+++ trunk/Master/texmf-dist/doc/latex/xcolor-material/xcolor-material.pdf 2016-10-16 21:37:31 UTC (rev 42289)
Property changes on: trunk/Master/texmf-dist/doc/latex/xcolor-material/xcolor-material.pdf
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/pdf
\ No newline at end of property
Added: trunk/Master/texmf-dist/source/latex/xcolor-material/xcolor-material.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/xcolor-material/xcolor-material.dtx (rev 0)
+++ trunk/Master/texmf-dist/source/latex/xcolor-material/xcolor-material.dtx 2016-10-16 21:37:31 UTC (rev 42289)
@@ -0,0 +1,1217 @@
+% \iffalse meta-comment
+%
+% Copyright (C) 2016 by Jerick Órdenes Sepúlveda <os.jerick+xcolormaterial at gmail.com>
+% -------------------------------------------------------
+%
+% This file may be distributed and/or modified under the
+% conditions of the LaTeX Project Public License, either version 1.3
+% 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.3 or later is part of all distributions of LaTeX
+% version 2005/12/01 or later.
+%
+% \fi
+%
+% \iffalse
+%<*driver>
+\ProvidesFile{xcolor-material.dtx}
+%</driver>
+%<package>\NeedsTeXFormat{LaTeX2e}[2005/12/01]
+%<package>\ProvidesPackage{xcolor-material}
+%<package>[2016/10/11 v0.1 A package for accessing Google Material colors using the xcolor package]
+%
+%<*driver>
+\PassOptionsToClass{a4paper}{article}
+\documentclass{ltxdoc}
+\EnableCrossrefs
+\CodelineIndex
+\RecordChanges
+
+\usepackage{lmodern}
+\usepackage[utf8]{inputenc}
+\usepackage[T1]{fontenc}
+\PassOptionsToPackage{table}{xcolor}
+\usepackage{xcolor-material}[2016/10/11]
+\newcolumntype{L}[1]{>{\raggedright\let\newline\\\arraybackslash\hspace{0pt}}m{#1}}
+\newcolumntype{C}[1]{>{\centering\let\newline\\\arraybackslash\hspace{0pt}}m{#1}}
+\newcolumntype{R}[1]{>{\raggedleft\let\newline\\\arraybackslash\hspace{0pt}}m{#1}}
+\usepackage{tikz}
+\usepackage[stretch=10]{microtype}
+\usepackage{lstdoc}
+\makeatletter
+\def\@part[#1]#2{\ifhyper\phantomsection\fi
+ \addcontentsline{toc}{part}{\sffamily #1}%
+ {\parindent\z@ \raggedright \interlinepenalty\@M
+ \sffamily \huge \bfseries \color{MaterialBlue700} #2\markboth{}{}\par}%
+ \nobreak\vskip 3ex\@afterheading}
+\makeatother
+\hypersetup{linkcolor=MaterialRed600, urlcolor=MaterialPink600}
+\usepackage{cleveref}
+
+\newcommand*{\pkg}[1]{\textsf{#1}}
+\newcommand*{\opt}[1]{\texttt{#1}}
+\newcommand\xcolorpkg{\pkg{xcolor}}
+\newcommand\kvopkg{\pkg{kvoptions}}
+\newcommand\xmpkg{\pkg{xcolor-material}}
+\newcommand\google{{\sffamily{\color{GoogleBlue}G}{\color{GoogleRed}o}%
+ {\color{GoogleYellow}o}{\color{GoogleBlue}g}{\color{GoogleGreen}l}{\color{GoogleRed}e}}}
+\newcommand\tikzpkg{PGF/Ti\textit{k}Z}
+
+\makeindex
+\begin{document}
+ \DocInput{xcolor-material.dtx}
+ \PrintChanges
+ \PrintIndex
+\end{document}
+%</driver>
+% \fi
+%
+% \CheckSum{567}
+%
+% \CharacterTable
+% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
+% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
+% Digits \0\1\2\3\4\5\6\7\8\9
+% Exclamation \! Double quote \" Hash (number) \#
+% Dollar \$ Percent \% Ampersand \&
+% Acute accent \' Left paren \( Right paren \)
+% Asterisk \* Plus \+ Comma \,
+% Minus \- Point \. Solidus \/
+% Colon \: Semicolon \; Less than \<
+% Equals \= Greater than \> Question mark \?
+% Commercial at \@ Left bracket \[ Backslash \\
+% Right bracket \] Circumflex \^ Underscore \_
+% Grave accent \` Left brace \{ Vertical bar \|
+% Right brace \} Tilde \~}
+%
+%
+% \changes{v0.1}{2016/10/11}{Initial package version}
+%
+% \GetFileInfo{xcolor-material.sty}
+%
+% \DoNotIndex{\newcommand,\begin,\end,\bfseries,\sffamily,\ttfamily,\texttt,
+% \textbf,\emph,\auxcolor,\baselineskip,\color,\XCM at CMYKModel,\color,\colorval,
+% \colorbox,\parbox,\CurrentOption,\convertcolorspec,\DeclareDefaultOption,
+% \DeclareStringOption,\def,\edef,\definecolor,\else,\fi,\empty,\expandafter,
+% \#,\@ifpackageloaded,\extractcolorspecs,\extractedcolor,\first,\footnotesize,
+% \foreach,\gdef,\hspace,\i,\ifx,\model,\node,\OptionNotUsed,\PackageError,
+% \pgfkeys,\printcolorvalue,\ProcessKeyvalOptions,\raggedright,
+% \selectcolormodel,\textwidth,\tikzset,\usetikzlibrary,\variant,\vfill,
+% \vspace,\@ifnextchar}
+%
+%
+%\newbox\abstractbox
+%\setbox\abstractbox=\vbox{
+% \begin{abstract}
+% The \xmpkg\ package is built on top of the great \xcolorpkg\ package. It
+% provides a useful definition of the beautiful \google\ Material
+% Color Palette, available at
+% \url{https://material.google.com/style/color.html}, for its use in document
+% writing with \LaTeX\ and Friends.
+% \end{abstract}}
+% \title{The \xmpkg\ package}
+% \author{Jerick Órdenes Sepúlveda \\
+% <\href{mailto:os.jerick+xcolor-material at gmail.com}%
+% {os.jerick+xcolormaterial(at)gmail.com}>}
+% \date{\filedate~~ Version \fileversion\ \box\abstractbox}
+%
+% \csname @twocolumntrue\endcsname
+% \maketitle\thispagestyle{empty}
+% \csname @starttoc\endcsname{toc}
+% \onecolumn
+%
+% \part{Usage}
+%
+% \section{Installation}
+%
+% \subsection{Required Packages}
+% The \xmpkg\ package requires relatively updated packages. These packages are
+% \kvopkg\footnote{The \kvopkg\ package is available at
+% \url{https://www.ctan.org/pkg/kvoptions}} and \xcolorpkg\footnote{The
+% \xcolorpkg\ package is available at \url{https://www.ctan.org/pkg/xcolor}},
+% which are included in any popular \TeX\ distribution. Both are loaded without
+% options.
+%
+% \subsection{Installing \xmpkg}
+% Once the \xmpkg\ package is released in \href{http://www.ctan.org}{CTAN},
+% users should be able to install it from the \TeX\ distribution package manager
+% available in their PC. However, if you need to install this package
+% manually, you should run:
+% ^^A
+% \begin{verbatim}
+% latex xcolor-material.ins\end{verbatim}
+% ^^A
+% and copy the generated file |xcolor-material.sty| to a path where \LaTeX\ can
+% find it. To generate the documentation run the following
+% command twice.
+% ^^A
+% \begin{verbatim}
+% pdflatex xcolor-material.dtx\end{verbatim}
+%
+% \section{Loading \xmpkg}
+% Simply add the package declaration somewhere in the document preamble.
+% ^^A
+% \begin{verbatim}
+% \usepackage{xcolor-material}\end{verbatim}
+%
+% If you want to load the \kvopkg\ and \xcolorpkg\ packages with some
+% options, you can specify those options using the |\PassOptionsToPackage|
+% command \emph{before} loading \xmpkg, or by loading those packages with their
+% options \emph{before} loading the \xmpkg\ package.
+%
+% \subsection{Package Options}
+% The \xmpkg\ currently offers only one option,
+% \begin{description}
+% \item[\opt{prefix}|=|\meta{prefix}] Defines the prefix for all color names
+% defined in the Google Material Color Palette; this is used for namespacing
+% purposes. The default prefix is ``|Material|''.
+% \end{description}
+% The main purpose of this option is to avoid conflicts with other existent
+% color definitions. The |prefix| option allows custom prefix definition, e.g.,
+% if you want to use the word `|myprefix|' as the color prefix,
+% then you must load the \xmpkg\ package with
+% ^^A
+% \begin{verbatim}
+% \usepackage[prefix=myprefix]{xcolor-material}\end{verbatim}
+%
+% \section{Using \xmpkg}
+% The \xmpkg\ provides all colors specified in the Google Material Color
+% Palette, available at \url{https://material.google.com/style/color.html}, in
+% the global scope of the document. This package relies on the \xcolorpkg\
+% package, and you should refer to its documentation for more details
+% about using colors inside the document.
+%
+% \subsection{Color Names}
+% The Google Material Color Palette consists of 19 color palettes (each
+% for one base color) and two colors not included in any palette (|White| and
+% |Black|), together forming a list of 256 colors. Each individual palette
+% consists of 14 color variations of the base color, except for |Brown|,
+% |Grey|, and |Blue Grey| with 10. Every color variation has a number from the
+% list \texttt{\{50, 100, 200, 300, 400, 500, 600, 700, 800, 900\}} for the
+% first ten colors or \emph{primary palette}, and from the list \texttt{\{A100,
+% A200, A300, A400\}} for the last four or \emph{secondary palette}. The names
+% of the base colors and their variations are listed in table
+% \ref{tab:colornames}. For a complete list of these palettes go to the section
+% \ref{sec:colorpalettes}.
+%
+% \begin{table}[b!]
+% \centering
+% \caption{Color names from the Google Material Color Palette and their
+% variation palettes.} \label{tab:colornames}
+% \begin{tabular}{lc}
+% \hline
+% \textbf{Base Color} & \textbf{Palettes}\\
+% \hline
+% \textcolor{MaterialRed}{|Red|} & primary, secondary\\
+% \textcolor{MaterialPink}{|Pink|} & primary, secondary\\
+% \textcolor{MaterialPurple}{|Purple|} & primary, secondary\\
+% \textcolor{MaterialDeepPurple}{|Deep Purple|} & primary, secondary\\
+% \textcolor{MaterialIndigo}{|Indigo|} & primary, secondary\\
+% \textcolor{MaterialBlue}{|Blue|} & primary, secondary\\
+% \textcolor{MaterialLightBlue}{|Light Blue|} & primary, secondary\\
+% \textcolor{MaterialCyan}{|Cyan|} & primary, secondary\\
+% \textcolor{MaterialTeal}{|Teal|} & primary, secondary\\
+% \textcolor{MaterialGreen}{|Green|} & primary, secondary\\
+% \textcolor{MaterialLightGreen}{|Light Green|} & primary, secondary\\
+% \textcolor{MaterialLime}{|Lime|} & primary, secondary\\
+% \textcolor{MaterialYellow}{|Yellow|} & primary, secondary\\
+% \textcolor{MaterialAmber}{|Amber|} & primary, secondary\\
+% \textcolor{MaterialOrange}{|Orange|} & primary, secondary\\
+% \textcolor{MaterialDeepOrange}{|Deep Orange|} & primary, secondary\\
+% \textcolor{MaterialBrown}{|Brown|} & secondary\\
+% \textcolor{MaterialGrey}{|Grey|} & secondary\\
+% \textcolor{MaterialBlueGrey}{|Blue Grey|} & secondary\\
+% \textcolor{MaterialBlack}{|Black|} & ---\\
+% \rowcolor{MaterialBlack}\textcolor{MaterialWhite}{|White|} &
+% \textcolor{MaterialWhite}{---}\\
+% \hline
+% \end{tabular}
+%\end{table}
+%
+% The name under which the \xmpkg\ package defines each Google Material color
+% has the form `\meta{prefix}\meta{base name}\meta{variation}', where
+% \begin{itemize}
+% \item \meta{prefix} corresponds to the prefix set via the package option
+% |prefix|,
+% \item \meta{base name} is the official name of the base color (see table
+% \ref{tab:colornames}), and
+% \item \meta{variation} is the id number of the color variation, e.g., |50|
+% or |A100|.
+% \end{itemize}
+% For instance, by default (if a custom prefix is not defined), the |Blue 600|
+% color of the palette will be available in the document global scope as
+% ``|MaterialBlue600|''. Also, all base colors are representative of the
+% palettes' primary color and are available at the |500| variation or using
+% their color names, e.g., |MaterialBlue| or |MaterialBlue500| are the primary
+% color of the ``Material Blue Palette''.
+%
+% \subsection[Google Colors]{\google{} Colors}
+% The \xmpkg\ package provides the Google Identity colors, which definitions
+% are available in the Google Design Blog at
+% \url{https://design.google.com/articles/evolving-the-google-identity}.
+% The name under which these colors are defined has the form
+% `Google\meta{name}', where \meta{name} is a color name among
+% \textcolor{GoogleBlue}{|Blue|}, \textcolor{GoogleGreen}{|Green|},
+% \textcolor{GoogleYellow}{|Yellow|}, and \textcolor{GoogleRed}{|Red|}. For
+% instance, if you want to use the Google Blue color you have to call for it
+% by using `|GoogleBlue|'.\\
+%
+% \noindent
+% \colorsample{GoogleBlue}
+% \colorsample{GoogleGreen}
+% \colorsample{GoogleYellow}
+% \colorsample{GoogleRed}\\
+%
+% \subsection{Useful macros}
+% The \xmpkg\ provides some useful macros for printing color values, samples,
+% and palettes. Some of them maybe rely on other LaTeX packages that are
+% not loaded by default.
+%
+% \noindent
+% \DescribeMacro{\printcolorvalue}
+% \oarg{color model}\marg{color name}
+%
+% This macro can be used to print any color value. It has one mandatory
+% argument \meta{color name}, which specifies the color name which you want
+% to know its value. And one optional argument, \meta{color model} that
+% corresponds to the color model in which the value will be presented: |HTML|,
+% |RGB| and |cmyk| (|HTML| by default).
+% \begin{table}[h!]
+% \centering
+% \begin{tabular}{lll}
+% |\printcolorvalue{MaterialBlue}| & & \textcolor{MaterialIndigo}{\printcolorvalue{MaterialBlue}}\\
+% |\printcolorvalue[RGB]{MaterialGrey}| & & \textcolor{MaterialIndigo}{\printcolorvalue[RGB]{MaterialGrey}}\\
+% |\printcolorvalue[cmyk]{orange}| & & \textcolor{MaterialIndigo}{\printcolorvalue[cmyk]{orange}}\\
+% \end{tabular}
+%\end{table}
+%
+% \noindent
+% \DescribeMacro{\colorsample}
+% \oarg{color model}\oarg{text color}\oarg{box width}\marg{color name}\oarg{title}
+%
+% This macro allows you to draw color samples using a simple colorbox with
+% text. It has one mandatory argument
+% \begin{itemize}
+% \item \meta{color name} which is the name of the color to be drawn,
+% \end{itemize}
+% and four optional arguments:
+% \begin{itemize}
+% \item \meta{color model} represents the color model in which the color will
+% be presented (by default |HTML|),
+% \item \meta{text color} which specifies the color used for printing the
+% text (by default |white|),
+% \item \meta{box width} specifies the box width (by default is |6.5em|), if
+% it is \emph{empty} the default is passed, \item and \meta{title} which is
+% the title of the color sample, if this argument is not passed the color
+% name is taken.
+% \end{itemize}
+%
+% To generate samples of the \google\ Colors showed above we can type
+% \begin{verbatim}
+% \colorsample{GoogleBlue} \colorsample{GoogleGreen}
+% \colorsample{GoogleYellow} \colorsample{GoogleRed}\end{verbatim}
+%
+% Other samples:
+% ^^A
+% \begin{verbatim}
+% \colorsample[HTML][][black]{MaterialAmber50}
+% \colorsample{MaterialAmber}
+% \colorsample[RGB]{MaterialAmber600}
+% \colorsample{MaterialAmberA700}[Amber\\A700]\end{verbatim}
+%
+% \noindent
+% \colorsample[HTML][][black]{MaterialAmber50}
+% \colorsample{MaterialAmber}
+% \colorsample[RGB]{MaterialAmber600}
+% \colorsample{MaterialAmberA700}[Amber\\A700]
+%
+% \begin{verbatim}
+% \colorsample[cmyk][13em]{MaterialBlueGrey500}
+% \colorsample{purple}[\texttt{xcolor}\\ Purple]
+% \colorsample[RGB]{teal}[]
+% \end{verbatim}
+%
+% \noindent
+% \colorsample[cmyk][13em]{MaterialBlueGrey500}
+% \colorsample{purple}[\texttt{xcolor}\\ Purple]
+% \colorsample[RGB]{teal}[]\\
+%
+% \noindent
+% \DescribeMacro{\colorpalette}
+% \oarg{key-value arguments}\marg{color name}
+%
+% This macro is available only if the \tikzpkg\ package is loaded. It provides
+% a simple way to draw the Google Material Color Palettes in the same way as we
+% can find them into the \href{https://material.google.com/style/color.html}{Google
+% Style Blog}. It has one mandatory argument \meta{color name}, which specifies
+% the palette base color that will be used to draw its variation palette.
+% Optional arguments are provided in the form of key-value arguments and key
+% styles. A complete list of key-value arguments and styles is available at
+% table \ref{tab:keyvalue} and \ref{tab:styles} respectively. The \xmpkg\
+% package relies on the \textsf{pgfkeys} package to provide key-value
+% arguments, for deeper knowledge about how to use key-value arguments look at
+% package documentation\footnote{The \textsf{pgfkeys} package is available at
+% \url{https://www.ctan.org/pkg/pgfkeys}.}.
+%
+% \begin{table}[t!]
+% \centering\small
+% \caption{Key-value arguments for the \texttt{\textbackslash colorpalette}
+% macro.} \label{tab:keyvalue}
+% \rowcolors{2}{lightgray!20}{white}
+% \begin{tabular}{L{.3\textwidth}C{.25\textwidth}L{.35\textwidth}}
+% \hline
+% \multicolumn{1}{c}{\textbf{Key}} & \multicolumn{1}{c}{\textbf{Default}}
+% & \multicolumn{1}{c}{\textbf{Description}}\\
+% \hline
+% |width| & .45 $\times$ |\textwidth| & Palette width\\
+% |height| & 2 $\times$ |\baselineskip| & Variation colorbox height\\
+% |shape| & rectangle & Variation colorbox shape\\
+% |title| & \meta{color name} & Palette title\\
+% |title text color| & white & Title colorbox text color\\
+% |init text color| & black & Initial variation text color\\
+% |altern text color| & white & Alternative variation text color\\
+% |variation font| & sffamily & Variation title font\\
+% |value font| & ttfamily & Variation value font\\
+% |title font| & sffamily and bfseries & Palette title font\\
+% |colorbox sep| & 0pt & Separation between
+% variation colorboxes\\
+% |first colorbox sep| & .2 $\times$ |\baselineskip| & Separation between
+% title colorbox and first palette colorbox\\
+% |title colorbox height| & 6 $\times$ |\baselineskip| & Height of the
+% title colorbox\\
+% |primary palette| & \{50,100,200,\ldots,900\} & List of primary palette
+% variations \\
+% |secondary palette| & \{A100,A200,A400,A700\} & List of secondary palette
+% variations\\
+% |percent char| & \{\} & Character for color mixtures (usually |!|), this % is useful when the |basic| style is selected\\
+% |primary variation| & 500 & Primary variation or palette's base color\\
+% |primary toggle at| & 1000 & Color variation at which alternates between
+% |init text color| and |altern text color| for the primary palette\\
+% |secondary toggle at| & 1000 & Color variation at which alternates
+% between |init text color| and |altern text color| for the secondary palette\\
+% |color model| & HTML & Color Model to be used for printing the palette\\
+% \hline
+% \end{tabular}
+% \end{table}
+%
+% \begin{table}[t!]
+% \centering\small
+% \caption{Style arguments for the \texttt{\textbackslash colorpalette}
+% macro.} \label{tab:styles}
+% \rowcolors{2}{lightgray!20}{white}
+% \begin{tabular}{C{.2\textwidth}L{.5\textwidth}}
+% \hline
+% \multicolumn{1}{c}{\textbf{Style}} &
+% \multicolumn{1}{c}{\textbf{Description}}\\
+% \hline
+% |both| & Settings for printing both primary and secondary palettes
+% (Default)\\
+% |primary| & For printing primary palette only \\
+% |basic| & For printing variations from 10\,\% to 100\,\% of a base color\\
+% \hline
+% \end{tabular}
+% \end{table}
+%
+% A printed palette is a stack of colorboxes that comprises three main
+% sections, one on top or |title colorbox| that is used for introducing the
+% palette with its primary variation, a |primary palette| in the middle and a
+% |secondary palette| at the bottom. With this macro, you can print out
+% all the palettes of the Google Material Colors, and with some configurations
+% you can print any color palette that you want in a fancy way as the Material
+% Palettes.
+%
+% For instance, the following commands produce a color palette for the
+% variations of the \xcolorpkg\ predefined |yellow| color between 10\,\% and
+% 100\,\%, and a custom palette by tricking the |\colorpalette| macro.
+% \begin{verbatim}
+% \colorpalette[basic, title text color=black]{yellow}
+% \colorpalette[primary palette={yellow,blue,red,gray,black,purple},
+% secondary palette={yellow!20,blue!30,red!20,gray!40}, primary
+% variation=orange, primary toggle at=blue]{}
+%\end{verbatim}
+%
+% \noindent
+% \colorpalette[basic, title text color=black]{yellow}\hfill
+% \colorpalette[primary palette={yellow,blue,red,gray,black,purple},
+% secondary palette={yellow!20,blue!30,red!20,gray!40}, primary
+% variation=orange, primary toggle at=blue, title=Predefined Orange]{}
+%
+% \subsection{Color Palettes}\label{sec:colorpalettes}
+% Here all Google Material Palettes are presented in the same way as they
+% appear at the Google Design blog using the |\colorpalette| command described
+% above.
+%
+% \begin{verbatim}
+% \colorpalette[primary toggle at=400, secondary toggle at=A200, secondary
+% palette={A100,A200,A400,A700}]{MaterialRed}
+% \colorpalette[primary toggle at=400, secondary toggle at=A200, secondary
+% palette={A100,A200,A400,A700}]{MaterialPink}
+% \end{verbatim}
+%
+% \noindent
+% \colorpalette[primary toggle at=400, secondary toggle at=A200, secondary
+% palette={A100,A200,A400,A700}]{MaterialRed}\hfill
+% \colorpalette[primary toggle at=400, secondary toggle at=A200, secondary
+% palette={A100,A200,A400,A700}]{MaterialPink}
+% \clearpage
+%
+% \begin{verbatim}
+% \colorpalette[primary toggle at=300, secondary toggle at=A200, secondary
+% palette={A100,A200,A400,A700}]{MaterialPurple}
+% \colorpalette[primary toggle at=300, secondary toggle at=A200, secondary
+% palette={A100,A200,A400,A700}]{MaterialDeepPurple}
+% \end{verbatim}
+%
+% \noindent
+% \colorpalette[primary toggle at=300, secondary toggle at=A200, secondary
+% palette={A100,A200,A400,A700}]{MaterialPurple}\hfill
+% \colorpalette[primary toggle at=300, secondary toggle at=A200, secondary
+% palette={A100,A200,A400,A700}]{MaterialDeepOrange}
+% \clearpage
+%
+% \begin{verbatim}
+% \colorpalette[primary toggle at=500, secondary toggle at=A200, secondary
+% palette={A100,A200,A400,A700}]{MaterialBlue}
+% \colorpalette[primary toggle at=300, secondary toggle at=A200, secondary
+% palette={A100,A200,A400,A700}]{MaterialIndigo}
+% \end{verbatim}
+%
+% \noindent
+% \colorpalette[primary toggle at=500, secondary toggle at=A200, secondary
+% palette={A100,A200,A400,A700}]{MaterialBlue}\hfill
+% \colorpalette[primary toggle at=300, secondary toggle at=A200, secondary
+% palette={A100,A200,A400,A700}]{MaterialIndigo}
+% \clearpage
+%
+% \begin{verbatim}
+% \colorpalette[primary toggle at=600, secondary toggle at=A700, title text
+% color=black]{MaterialLightBlue}
+% \colorpalette[primary toggle at=700, title text color=black]{MaterialCyan}
+% \end{verbatim}
+%
+% \noindent
+% \colorpalette[primary toggle at=600, secondary toggle at=A700, title text
+% color=black]{MaterialLightBlue}\hfill
+% \colorpalette[primary toggle at=700, title text color=black]{MaterialCyan}
+% \clearpage
+%
+% \begin{verbatim}
+% \colorpalette[primary toggle at=500, secondary
+% palette={A100,A200,A400,A700}]{MaterialTeal}
+% \colorpalette[primary toggle at=600, title text color=black]{MaterialGreen}
+% \end{verbatim}
+%
+% \noindent
+% \colorpalette[primary toggle at=500, secondary
+% palette={A100,A200,A400,A700}]{MaterialTeal}\hfill
+% \colorpalette[primary toggle at=600, title text color=black]{MaterialGreen}
+% \clearpage
+%
+% \begin{verbatim}
+% \colorpalette[primary toggle at=700, title text
+% color=black]{MaterialLightGreen}
+% \colorpalette[primary toggle at=900, title text color=black]{MaterialLime}
+% \end{verbatim}
+%
+% \noindent
+% \colorpalette[primary toggle at=700, title text
+% color=black]{MaterialLightGreen}\hfill
+% \colorpalette[primary toggle at=900, title text color=black]{MaterialLime}
+% \clearpage
+%
+% \begin{verbatim}
+% \colorpalette[title text color=black]{MaterialYellow}
+% \colorpalette[title text color=black]{MaterialAmber}
+% \end{verbatim}
+%
+% \noindent
+% \colorpalette[title text color=black]{MaterialYellow}\hfill
+% \colorpalette[title text color=black]{MaterialAmber}
+% \clearpage
+%
+% \begin{verbatim}
+% \colorpalette[primary toggle at=800, title text color=black]{MaterialOrange}
+% \colorpalette[primary toggle at=500, secondary toggle
+% at=A400]{MaterialDeepOrange}
+% \end{verbatim}
+%
+% \noindent
+% \colorpalette[primary toggle at=800, title text
+% color=black]{MaterialOrange}\hfill
+% \colorpalette[primary toggle at=500, secondary toggle
+% at=A400]{MaterialDeepOrange}
+% \clearpage
+%
+% \begin{verbatim}
+% \colorpalette[primary, primary toggle at=300]{MaterialBrown}
+% \colorpalette[primary, primary toggle at=600]{MaterialGrey}
+% \end{verbatim}
+%
+% \noindent
+% \colorpalette[primary, primary toggle at=300]{MaterialBrown}\hfill
+% \colorpalette[primary, primary toggle at=600]{MaterialGrey}
+% \clearpage
+%
+% \begin{verbatim}
+% \colorpalette[primary, primary toggle at=400]{MaterialBlueGrey}
+% \end{verbatim}
+%
+% \noindent
+% \colorpalette[primary, primary toggle at=400]{MaterialBlueGrey}
+%
+% \section{Bug reports}
+% The development version of this package is available at
+% \url{https://github.com/OSjerick/xcolor-material}. If you find bugs, have
+% feature suggestions or think of ways in which the \xmpkg\ package and its
+% documentation could be improved, please open a ticket in the GitHub
+% repository's issue tracker.
+%
+% \section{Acknowledgements}
+% This package was inspired by the \textsf{xcolor-solarized} package, available
+% at \url{https://www.ctan.org/pkg/xcolor-solarized}, then I have to thank
+% Julien Cretel its creator. Also, thanks to \google\ for such amazing color
+% palette.
+%
+% \StopEventually{That's all!}
+% \clearpage
+% \part{Implementation}
+%
+% I have used the word `|XCM|' followed by an `|@|' character for namespacing
+% purposes into the \xmpkg\ package source.
+%
+% \section{Required Packages}
+% The \xmpkg\ requires the \xcolorpkg\ and \kvopkg\ packages, both are
+% loaded without any option.
+%
+% \begin{macrocode}
+\RequirePackage{xcolor}[2007/01/21]
+\RequirePackage{kvoptions}[2011/06/30]
+% \end{macrocode}
+%
+% The \xcolorpkg\ package is used to define and provide every single color in
+% the \google\ Material Color Palette. The \kvopkg\ package supports package
+% options in a key-value format.
+%
+% \section{Package Options}
+% Setting up \kvopkg\ configuration.
+%
+% \begin{macrocode}
+\SetupKeyvalOptions{
+ family=XCM,
+ prefix=XCM@
+}
+% \end{macrocode}
+%
+% Declaring string option key `|prefix|':
+%
+% \begin{macrocode}
+\DeclareStringOption[Material]{prefix}[Material]
+\DeclareDefaultOption{
+ \OptionNotUsed
+ \PackageError{xcolor-material}{Unknown `\CurrentOption' option.}
+}
+\ProcessKeyvalOptions*
+% \end{macrocode}
+%
+% Note that the default value for this key is `|Material|'. Note also that this
+% package checks for valid options, if an invalid option is passed, a
+% PackageError will be thrown.
+%
+% \section{Color Definitions}
+%
+% \begin{macro}{\XCM at definecolor}
+% I have taken the idea from the \textsf{xcolor-solarized} package of having a
+% convenient internal macro for color definitions.
+% \begin{macrocode}
+\newcommand{\XCM at definecolor}[2]
+ {\expandafter\definecolor\expandafter{\XCM at prefix #1}{HTML}{#2}}
+% \end{macrocode}
+% \end{macro}
+%
+% Using this macro definition we can define all the \google\ Material colors
+% as follows. Note that for every color in the palette, the |500|
+% variation is the base color default as \google\ recommends for primary colors.
+%
+% \subsection{Red}
+% \begin{macrocode}
+\XCM at definecolor{Red50} {FFEBEE}
+\XCM at definecolor{Red100} {FFCDD2}
+\XCM at definecolor{Red200} {EF9A9A}
+\XCM at definecolor{Red300} {E57373}
+\XCM at definecolor{Red400} {EF5350}
+\XCM at definecolor{Red500} {F44336}
+\XCM at definecolor{Red600} {E53935}
+\XCM at definecolor{Red700} {D32F2F}
+\XCM at definecolor{Red800} {C62828}
+\XCM at definecolor{Red900} {B71C1C}
+\XCM at definecolor{RedA100}{FF8A80}
+\XCM at definecolor{RedA200}{FF5252}
+\XCM at definecolor{RedA400}{FF1744}
+\XCM at definecolor{RedA700}{D50000}
+\definecolor{\XCM at prefix Red}{named}{\XCM at prefix Red500}
+% \end{macrocode}
+%
+% \subsection{Pink}
+% \begin{macrocode}
+\XCM at definecolor{Pink50} {FCE4EC}
+\XCM at definecolor{Pink100} {F8BBD0}
+\XCM at definecolor{Pink200} {F48FB1}
+\XCM at definecolor{Pink300} {F06292}
+\XCM at definecolor{Pink400} {EC407A}
+\XCM at definecolor{Pink500} {E91E63}
+\XCM at definecolor{Pink600} {D81B60}
+\XCM at definecolor{Pink700} {C2185B}
+\XCM at definecolor{Pink800} {AD1457}
+\XCM at definecolor{Pink900} {880E4F}
+\XCM at definecolor{PinkA100}{FF80AB}
+\XCM at definecolor{PinkA200}{FF4081}
+\XCM at definecolor{PinkA400}{F50057}
+\XCM at definecolor{PinkA700}{C51162}
+\definecolor{\XCM at prefix Pink}{named}{\XCM at prefix Pink500}
+% \end{macrocode}
+%
+% \subsection{Purple}
+% \begin{macrocode}
+\XCM at definecolor{Purple50} {F3E5F5}
+\XCM at definecolor{Purple100} {E1BEE7}
+\XCM at definecolor{Purple200} {CE93D8}
+\XCM at definecolor{Purple300} {BA68C8}
+\XCM at definecolor{Purple400} {AB47BC}
+\XCM at definecolor{Purple500} {9C27B0}
+\XCM at definecolor{Purple600} {8E24AA}
+\XCM at definecolor{Purple700} {7B1FA2}
+\XCM at definecolor{Purple800} {6A1B9A}
+\XCM at definecolor{Purple900} {4A148C}
+\XCM at definecolor{PurpleA100}{EA80FC}
+\XCM at definecolor{PurpleA200}{E040FB}
+\XCM at definecolor{PurpleA400}{D500F9}
+\XCM at definecolor{PurpleA700}{AA00FF}
+\definecolor{\XCM at prefix Purple}{named}{\XCM at prefix Purple500}
+% \end{macrocode}
+%
+% \subsection{Deep Purple}
+% \begin{macrocode}
+\XCM at definecolor{DeepPurple50} {EDE7F6}
+\XCM at definecolor{DeepPurple100} {D1C4E9}
+\XCM at definecolor{DeepPurple200} {B39DDB}
+\XCM at definecolor{DeepPurple300} {9575CD}
+\XCM at definecolor{DeepPurple400} {7E57C2}
+\XCM at definecolor{DeepPurple500} {673AB7}
+\XCM at definecolor{DeepPurple600} {5E35B1}
+\XCM at definecolor{DeepPurple700} {512DA8}
+\XCM at definecolor{DeepPurple800} {4527A0}
+\XCM at definecolor{DeepPurple900} {311B92}
+\XCM at definecolor{DeepPurpleA100}{B388FF}
+\XCM at definecolor{DeepPurpleA200}{7C4DFF}
+\XCM at definecolor{DeepPurpleA400}{651FFF}
+\XCM at definecolor{DeepPurpleA700}{6200EA}
+\definecolor{\XCM at prefix DeepPurple}{named}{\XCM at prefix DeepPurple500}
+% \end{macrocode}
+%
+% \subsection{Indigo}
+% \begin{macrocode}
+\XCM at definecolor{Indigo50} {E8EAF6}
+\XCM at definecolor{Indigo100} {C5CAE9}
+\XCM at definecolor{Indigo200} {9FA8DA}
+\XCM at definecolor{Indigo300} {7986CB}
+\XCM at definecolor{Indigo400} {5C6BC0}
+\XCM at definecolor{Indigo500} {3F51B5}
+\XCM at definecolor{Indigo600} {3949AB}
+\XCM at definecolor{Indigo700} {303F9F}
+\XCM at definecolor{Indigo800} {283593}
+\XCM at definecolor{Indigo900} {1A237E}
+\XCM at definecolor{IndigoA100}{8C9EFF}
+\XCM at definecolor{IndigoA200}{536DFE}
+\XCM at definecolor{IndigoA400}{3D5AFE}
+\XCM at definecolor{IndigoA700}{304FFE}
+\definecolor{\XCM at prefix Indigo}{named}{\XCM at prefix Indigo500}
+% \end{macrocode}
+%
+% \subsection{Blue}
+% \begin{macrocode}
+\XCM at definecolor{Blue50} {E3F2FD}
+\XCM at definecolor{Blue100} {BBDEFB}
+\XCM at definecolor{Blue200} {90CAF9}
+\XCM at definecolor{Blue300} {64B5F6}
+\XCM at definecolor{Blue400} {42A5F5}
+\XCM at definecolor{Blue500} {2196F3}
+\XCM at definecolor{Blue600} {1E88E5}
+\XCM at definecolor{Blue700} {1976D2}
+\XCM at definecolor{Blue800} {1565C0}
+\XCM at definecolor{Blue900} {0D47A1}
+\XCM at definecolor{BlueA100}{82B1FF}
+\XCM at definecolor{BlueA200}{448AFF}
+\XCM at definecolor{BlueA400}{2979FF}
+\XCM at definecolor{BlueA700}{2962FF}
+\definecolor{\XCM at prefix Blue}{named}{\XCM at prefix Blue500}
+% \end{macrocode}
+%
+% \subsection{Light Blue}
+% \begin{macrocode}
+\XCM at definecolor{LightBlue50} {E1F5FE}
+\XCM at definecolor{LightBlue100} {B3E5FC}
+\XCM at definecolor{LightBlue200} {81D4FA}
+\XCM at definecolor{LightBlue300} {4FC3F7}
+\XCM at definecolor{LightBlue400} {29B6F6}
+\XCM at definecolor{LightBlue500} {03A9F4}
+\XCM at definecolor{LightBlue600} {039BE5}
+\XCM at definecolor{LightBlue700} {0288D1}
+\XCM at definecolor{LightBlue800} {0277BD}
+\XCM at definecolor{LightBlue900} {01579B}
+\XCM at definecolor{LightBlueA100}{80D8FF}
+\XCM at definecolor{LightBlueA200}{40C4FF}
+\XCM at definecolor{LightBlueA400}{00B0FF}
+\XCM at definecolor{LightBlueA700}{0091EA}
+\definecolor{\XCM at prefix LightBlue}{named}{\XCM at prefix LightBlue500}
+% \end{macrocode}
+%
+% \subsection{Cyan}
+% \begin{macrocode}
+\XCM at definecolor{Cyan50} {E0F7FA}
+\XCM at definecolor{Cyan100} {B2EBF2}
+\XCM at definecolor{Cyan200} {80DEEA}
+\XCM at definecolor{Cyan300} {4DD0E1}
+\XCM at definecolor{Cyan400} {26C6DA}
+\XCM at definecolor{Cyan500} {00BCD4}
+\XCM at definecolor{Cyan600} {00ACC1}
+\XCM at definecolor{Cyan700} {0097A7}
+\XCM at definecolor{Cyan800} {00838F}
+\XCM at definecolor{Cyan900} {006064}
+\XCM at definecolor{CyanA100}{84FFFF}
+\XCM at definecolor{CyanA200}{18FFFF}
+\XCM at definecolor{CyanA400}{00E5FF}
+\XCM at definecolor{CyanA700}{00B8D4}
+\definecolor{\XCM at prefix Cyan}{named}{\XCM at prefix Cyan500}
+% \end{macrocode}
+%
+% \subsection{Teal}
+% \begin{macrocode}
+\XCM at definecolor{Teal50} {E0F2F1}
+\XCM at definecolor{Teal100} {B2DFDB}
+\XCM at definecolor{Teal200} {80CBC4}
+\XCM at definecolor{Teal300} {4DB6AC}
+\XCM at definecolor{Teal400} {26A69A}
+\XCM at definecolor{Teal500} {009688}
+\XCM at definecolor{Teal600} {00897B}
+\XCM at definecolor{Teal700} {00796B}
+\XCM at definecolor{Teal800} {00695C}
+\XCM at definecolor{Teal900} {004D40}
+\XCM at definecolor{TealA100}{A7FFEB}
+\XCM at definecolor{TealA200}{64FFDA}
+\XCM at definecolor{TealA400}{1DE9B6}
+\XCM at definecolor{TealA700}{00BFA5}
+\definecolor{\XCM at prefix Teal}{named}{\XCM at prefix Teal500}
+% \end{macrocode}
+%
+% \subsection{Green}
+% \begin{macrocode}
+\XCM at definecolor{Green50} {E8F5E9}
+\XCM at definecolor{Green100} {C8E6C9}
+\XCM at definecolor{Green200} {A5D6A7}
+\XCM at definecolor{Green300} {81C784}
+\XCM at definecolor{Green400} {66BB6A}
+\XCM at definecolor{Green500} {4CAF50}
+\XCM at definecolor{Green600} {43A047}
+\XCM at definecolor{Green700} {388E3C}
+\XCM at definecolor{Green800} {2E7D32}
+\XCM at definecolor{Green900} {1B5E20}
+\XCM at definecolor{GreenA100}{B9F6CA}
+\XCM at definecolor{GreenA200}{69F0AE}
+\XCM at definecolor{GreenA400}{00E676}
+\XCM at definecolor{GreenA700}{00C853}
+\definecolor{\XCM at prefix Green}{named}{\XCM at prefix Green500}
+% \end{macrocode}
+%
+% \subsection{Light Green}
+% \begin{macrocode}
+\XCM at definecolor{LightGreen50} {F1F8E9}
+\XCM at definecolor{LightGreen100} {DCEDC8}
+\XCM at definecolor{LightGreen200} {C5E1A5}
+\XCM at definecolor{LightGreen300} {AED581}
+\XCM at definecolor{LightGreen400} {9CCC65}
+\XCM at definecolor{LightGreen500} {8BC34A}
+\XCM at definecolor{LightGreen600} {7CB342}
+\XCM at definecolor{LightGreen700} {689F38}
+\XCM at definecolor{LightGreen800} {558B2F}
+\XCM at definecolor{LightGreen900} {33691E}
+\XCM at definecolor{LightGreenA100}{CCFF90}
+\XCM at definecolor{LightGreenA200}{B2FF59}
+\XCM at definecolor{LightGreenA400}{76FF03}
+\XCM at definecolor{LightGreenA700}{64DD17}
+\definecolor{\XCM at prefix LightGreen}{named}{\XCM at prefix LightGreen500}
+% \end{macrocode}
+%
+% \subsection{Lime}
+% \begin{macrocode}
+\XCM at definecolor{Lime50} {F9FBE7}
+\XCM at definecolor{Lime100} {F0F4C3}
+\XCM at definecolor{Lime200} {E6EE9C}
+\XCM at definecolor{Lime300} {DCE775}
+\XCM at definecolor{Lime400} {D4E157}
+\XCM at definecolor{Lime500} {CDDC39}
+\XCM at definecolor{Lime600} {C0CA33}
+\XCM at definecolor{Lime700} {AFB42B}
+\XCM at definecolor{Lime800} {9E9D24}
+\XCM at definecolor{Lime900} {827717}
+\XCM at definecolor{LimeA100}{F4FF81}
+\XCM at definecolor{LimeA200}{EEFF41}
+\XCM at definecolor{LimeA400}{C6FF00}
+\XCM at definecolor{LimeA700}{AEEA00}
+\definecolor{\XCM at prefix Lime}{named}{\XCM at prefix Lime500}
+% \end{macrocode}
+%
+% \subsection{Yellow}
+% \begin{macrocode}
+\XCM at definecolor{Yellow50} {FFFDE7}
+\XCM at definecolor{Yellow100} {FFF9C4}
+\XCM at definecolor{Yellow200} {FFF59D}
+\XCM at definecolor{Yellow300} {FFF176}
+\XCM at definecolor{Yellow400} {FFEE58}
+\XCM at definecolor{Yellow500} {FFEB3B}
+\XCM at definecolor{Yellow600} {FDD835}
+\XCM at definecolor{Yellow700} {FBC02D}
+\XCM at definecolor{Yellow800} {F9A825}
+\XCM at definecolor{Yellow900} {F57F17}
+\XCM at definecolor{YellowA100}{FFFF8D}
+\XCM at definecolor{YellowA200}{FFFF00}
+\XCM at definecolor{YellowA400}{FFEA00}
+\XCM at definecolor{YellowA700}{FFD600}
+\definecolor{\XCM at prefix Yellow}{named}{\XCM at prefix Yellow500}
+% \end{macrocode}
+%
+% \subsection{Amber}
+% \begin{macrocode}
+\XCM at definecolor{Amber50} {FFF8E1}
+\XCM at definecolor{Amber100} {FFECB3}
+\XCM at definecolor{Amber200} {FFE082}
+\XCM at definecolor{Amber300} {FFD54F}
+\XCM at definecolor{Amber400} {FFCA28}
+\XCM at definecolor{Amber500} {FFC107}
+\XCM at definecolor{Amber600} {FFB300}
+\XCM at definecolor{Amber700} {FFA000}
+\XCM at definecolor{Amber800} {FF8F00}
+\XCM at definecolor{Amber900} {FF6F00}
+\XCM at definecolor{AmberA100}{FFE57F}
+\XCM at definecolor{AmberA200}{FFD740}
+\XCM at definecolor{AmberA400}{FFC400}
+\XCM at definecolor{AmberA700}{FFAB00}
+\definecolor{\XCM at prefix Amber}{named}{\XCM at prefix Amber500}
+% \end{macrocode}
+%
+% \subsection{Orange}
+% \begin{macrocode}
+\XCM at definecolor{Orange50} {FFF3E0}
+\XCM at definecolor{Orange100} {FFE0B2}
+\XCM at definecolor{Orange200} {FFCC80}
+\XCM at definecolor{Orange300} {FFB74D}
+\XCM at definecolor{Orange400} {FFA726}
+\XCM at definecolor{Orange500} {FF9800}
+\XCM at definecolor{Orange600} {FB8C00}
+\XCM at definecolor{Orange700} {F57C00}
+\XCM at definecolor{Orange800} {EF6C00}
+\XCM at definecolor{Orange900} {E65100}
+\XCM at definecolor{OrangeA100}{FFD180}
+\XCM at definecolor{OrangeA200}{FFAB40}
+\XCM at definecolor{OrangeA400}{FF9100}
+\XCM at definecolor{OrangeA700}{FF6D00}
+\definecolor{\XCM at prefix Orange}{named}{\XCM at prefix Orange500}
+% \end{macrocode}
+%
+% \subsection{Deep Orange}
+% \begin{macrocode}
+\XCM at definecolor{DeepOrange50} {FBE9E7}
+\XCM at definecolor{DeepOrange100} {FFCCBC}
+\XCM at definecolor{DeepOrange200} {FFAB91}
+\XCM at definecolor{DeepOrange300} {FF8A65}
+\XCM at definecolor{DeepOrange400} {FF7043}
+\XCM at definecolor{DeepOrange500} {FF5722}
+\XCM at definecolor{DeepOrange600} {F4511E}
+\XCM at definecolor{DeepOrange700} {E64A19}
+\XCM at definecolor{DeepOrange800} {D84315}
+\XCM at definecolor{DeepOrange900} {BF360C}
+\XCM at definecolor{DeepOrangeA100}{FF9E80}
+\XCM at definecolor{DeepOrangeA200}{FF6E40}
+\XCM at definecolor{DeepOrangeA400}{FF3D00}
+\XCM at definecolor{DeepOrangeA700}{DD2C00}
+\definecolor{\XCM at prefix DeepOrange}{named}{\XCM at prefix DeepOrange500}
+% \end{macrocode}
+%
+% \subsection{Brown}
+% \begin{macrocode}
+\XCM at definecolor{Brown50} {EFEBE9}
+\XCM at definecolor{Brown100}{D7CCC8}
+\XCM at definecolor{Brown200}{BCAAA4}
+\XCM at definecolor{Brown300}{A1887F}
+\XCM at definecolor{Brown400}{8D6E63}
+\XCM at definecolor{Brown500}{795548}
+\XCM at definecolor{Brown600}{6D4C41}
+\XCM at definecolor{Brown700}{5D4037}
+\XCM at definecolor{Brown800}{4E342E}
+\XCM at definecolor{Brown900}{3E2723}
+\definecolor{\XCM at prefix Brown}{named}{\XCM at prefix Brown500}
+% \end{macrocode}
+%
+% \subsection{Grey}
+% \begin{macrocode}
+\XCM at definecolor{Grey50} {FAFAFA}
+\XCM at definecolor{Grey100}{F5F5F5}
+\XCM at definecolor{Grey200}{EEEEEE}
+\XCM at definecolor{Grey300}{E0E0E0}
+\XCM at definecolor{Grey400}{BDBDBD}
+\XCM at definecolor{Grey500}{9E9E9E}
+\XCM at definecolor{Grey600}{757575}
+\XCM at definecolor{Grey700}{616161}
+\XCM at definecolor{Grey800}{424242}
+\XCM at definecolor{Grey900}{212121}
+\definecolor{\XCM at prefix Grey}{named}{\XCM at prefix Grey500}
+% \end{macrocode}
+%
+% \subsection{Blue Grey}
+% \begin{macrocode}
+\XCM at definecolor{BlueGrey50} {ECEFF1}
+\XCM at definecolor{BlueGrey100}{CFD8DC}
+\XCM at definecolor{BlueGrey200}{B0BEC5}
+\XCM at definecolor{BlueGrey300}{90A4AE}
+\XCM at definecolor{BlueGrey400}{78909C}
+\XCM at definecolor{BlueGrey500}{607D8B}
+\XCM at definecolor{BlueGrey600}{546E7A}
+\XCM at definecolor{BlueGrey700}{455A64}
+\XCM at definecolor{BlueGrey800}{37474F}
+\XCM at definecolor{BlueGrey900}{263238}
+\definecolor{\XCM at prefix BlueGrey}{named}{\XCM at prefix BlueGrey500}
+% \end{macrocode}
+%
+% \subsection{Black \& White}
+% \begin{macrocode}
+\XCM at definecolor{Black}{000000}
+\XCM at definecolor{White}{FFFFFF}
+% \end{macrocode}
+%
+% \subsection[Google colors]{\google\ colors}
+% The \google\ Indentity colors are available at
+% \url{https://design.google.com/articles/evolving-the-google-identity}.
+% \begin{macrocode}
+\definecolor{GoogleBlue} {HTML}{4285F4}
+\definecolor{GoogleGreen} {HTML}{34A853}
+\definecolor{GoogleYellow}{HTML}{FBBC05}
+\definecolor{GoogleRed} {HTML}{EA4335}
+% \end{macrocode}
+%
+% \section{User-level macros}
+%
+% \begin{macro}{\XCM at extractcolor}
+% An internal macro to extract and convert color values.
+% \begin{macrocode}
+\newcommand{\XCM at extractcolor}[2]{%
+ \extractcolorspecs{#1}{\model}{\colorval}%
+ \convertcolorspec{\model}{\colorval}{#2}\extractedcolor
+ \extractedcolor
+}
+% \end{macrocode}
+% \end{macro}
+% \begin{macro}{\printcolorvalue}
+% A user level macro to provide color values formatted in three different color
+% models: \textbf{HTML}, \textbf{RGB}, and \textbf{CMYK}. The default value for
+% the color model is |HTML|, that provides color values in hexadecimal format.
+% \begin{macrocode}
+\newcommand*{\printcolorvalue}[2][HTML]{%
+ \edef\XCM at requiredModel{#1}%
+ \def\XCM at HTMLModel{HTML}%
+ \def\XCM at RGBModel{RGB}%
+ \def\XCM at CMYKModel{cmyk}%
+ \ifx\XCM at requiredModel\XCM at HTMLModel
+ \#\XCM at extractcolor{#2}{#1}%
+ \else\ifx\XCM at requiredModel\XCM at RGBModel
+ rgb(\XCM at extractcolor{#2}{#1})%
+ \else\ifx\XCM at requiredModel\XCM at CMYKModel
+ cmyk(\XCM at extractcolor{#2}{#1})%
+ \else\fi\fi\fi
+}
+% \end{macrocode}
+% \end{macro}
+% \begin{macro}{\colorsample}
+% A user level macro for drawing color samples. It draws a |colorbox| with
+% the specified color and value. By default the color model is |HTML|,
+% the text color is |white|, and the colorbox width is |6.5em|.
+% \begin{macrocode}
+\def\colorsample{%
+ \@ifnextchar[%
+ {\XCM at colorsample@i}
+ {\XCM at colorsample@i[HTML]}%
+}
+\def\XCM at colorsample@i[#1]{%
+ \@ifnextchar[%
+ {\XCM at colorsample@ii{#1}}
+ {\XCM at colorsample@ii{#1}[6.5em]}%
+}
+\def\XCM at colorsample@ii#1[#2]{%
+ \@ifnextchar[%
+ {\XCM at colorsample@iii{#1}{#2}}
+ {\XCM at colorsample@iii{#1}{#2}[white]}%
+}
+\def\XCM at colorsample@iii#1#2[#3]#4{%
+ \@ifnextchar[%
+ {\XCM at colorsample@iv{#1}{#2}{#3}{#4}}
+ {\XCM at colorsample@iv{#1}{#2}{#3}{#4}[#4]}%
+}
+\def\XCM at colorsample@iv#1#2#3#4[#5]{%
+ \def\XCM at temp{#2}\ifx\XCM at temp\empty
+ \def\XCM at boxwidth{6.5em}%
+ \else
+ \def\XCM at boxwidth{#2}%
+ \fi
+ \selectcolormodel{#1}
+ \colorbox{#4}{%
+ \hspace*{.3em}
+ \parbox[b][9\baselineskip]{\XCM at boxwidth}{%
+ \footnotesize\bfseries\sffamily\color{#3}
+ \vspace*{.7em}
+ \raggedright#5%
+ \vfill
+ \raggedright\texttt{\printcolorvalue[#1]{#4}}
+ \vspace*{.7em}
+ }
+ \hspace*{.3em}
+ }
+}
+% \end{macrocode}
+% \end{macro}
+% \xmpkg\ provides some macro definitions at begin document.
+% \begin{macrocode}
+\AtBeginDocument{
+% \end{macrocode}
+% There is a macro definition that is built on top of the \tikzpkg\ package.
+% This definition works if such package is loaded in the main document.
+% \begin{macrocode}
+\@ifpackageloaded{tikz}{%
+% \end{macrocode}
+% When \tikzpkg\ is loaded, a macro with key-value options is provided using
+% the |\pgfkeys| tools. Those key-value macro arguments are optional, the
+% default value of each one is defined by the |/palette/both| style.
+% \begin{macrocode}
+\pgfkeys{/palette/.is family, /palette,
+ width/.estore in = \XCM at pltWidth,
+ height/.estore in = \XCM at pltHeight,
+ shape/.estore in = \XCM at pltShape,
+ title/.estore in = \XCM at pltTitle,
+ title text color/.estore in = \XCM at pltTTextColor,
+ init text color/.estore in = \XCM at pltITextColor,
+ altern text color/.estore in = \XCM at pltATextColor,
+ variation font/.store in = \XCM at pltVFont,
+ value font/.store in = \XCM at pltNFont,
+ title font/.store in = \XCM at pltTFont,
+ colorbox sep/.estore in = \XCM at pltColorboxSep,
+ first colorbox sep/.estore in = \XCM at pltFirstCSep,
+ title colorbox height/.estore in = \XCM at pltTitleHeight,
+ primary palette/.estore in = \XCM at pltPrimary,
+ secondary palette/.estore in = \XCM at pltSecondary,
+ percent char/.estore in = \XCM at pltPercentSep,
+ primary variation/.estore in = \XCM at pltPrimaryBase,
+ primary toggle at/.estore in = \XCM at pltPToggle,
+ secondary toggle at/.estore in = \XCM at pltSToggle,
+ color model/.estore in = \XCM at ColorModel,
+ both/.style = {width = .45\textwidth,
+ height = 2\baselineskip,
+ shape = rectangle,
+ title text color = white,
+ init text color = black,
+ altern text color = white,
+ colorbox sep = 0pt,
+ first colorbox sep = .2\baselineskip,
+ title colorbox height = 6\baselineskip,
+ variation font = \sffamily,
+ value font = \ttfamily,
+ title font = \sffamily\bfseries,
+ primary palette = {50,100,200,...,900},
+ secondary palette = {A100,A200,A400,A700},
+ percent char = {},
+ primary variation = 500,
+ primary toggle at = 1000,
+ secondary toggle at = 1000,
+ color model = HTML},
+ primary/.style = {primary palette = {50,100,200,...,900},
+ secondary palette={},
+ primary variation = 500,
+ percent char={}},
+ basic/.style = {primary palette = {10,20,...,100},
+ secondary palette={},
+ primary variation = 100,
+ percent char=!}
+}
+% \end{macrocode}
+% The |positioning| library of \tikzpkg\ is loaded to provide convenient node
+% placement.
+% \begin{macrocode}
+\usetikzlibrary{positioning}
+% \end{macrocode}
+% \begin{macro}{\colorpalette}
+% A macro for drawing color palettes using \tikzpkg\. It takes one mandatory
+% argument (\emph{base color name}) and optional key-value arguments.
+% \begin{macrocode}
+\newcommand*{\colorpalette}[2][]{%
+ \def\XCM at pltTitle{#2}%
+ \def\XCM at colorname{#2}%
+ \pgfkeys{/palette, both, #1}%
+ \begin{tikzpicture}
+ \selectcolormodel{\XCM at ColorModel}
+ \tikzset{colorbox/.style={\XCM at pltShape, minimum width=\XCM at pltWidth,
+ minimum height=\XCM at pltHeight, node distance=\XCM at pltColorboxSep,
+ outer sep=0pt}}
+ \tikzset{title/.style = {font=\XCM at pltTFont, color=\XCM at pltTTextColor,
+ inner sep=1em}}
+ \tikzset{variant/.style = {font=\XCM at pltVFont, inner sep=1em}}
+ \tikzset{value/.style = {font=\XCM at pltNFont, inner sep=1em}}
+ \node[colorbox, fill=\XCM at colorname\XCM at pltPercentSep\XCM at pltPrimaryBase,
+ minimum height=\XCM at pltTitleHeight, alias=last] {};
+ \node[title, anchor=north west, align=left] at (last.north west)
+ {\XCM at pltTitle};
+ \node[title, anchor=south west] at (last.south west) {\XCM at pltPrimaryBase};
+ \node[title, anchor=south east, align=right] at (last.south east)
+ {\texttt{\printcolorvalue[\XCM at ColorModel]{\XCM at colorname%
+ \XCM at pltPercentSep\XCM at pltPrimaryBase}}};
+ \def\auxcolor{\XCM at pltITextColor}%
+ \def\first{1}%
+ \foreach \variant [count=\i] in \XCM at pltPrimary {
+ \ifx\i\first
+ \node[node distance=\XCM at pltFirstCSep, inner sep=0pt, below=of last,
+ alias=last] {};
+ \else\fi
+ \ifx\variant\XCM at pltPToggle
+ \gdef\auxcolor{\XCM at pltATextColor}%
+ \else\fi
+ \node[colorbox, fill=\XCM at colorname\XCM at pltPercentSep\variant,
+ below=of last, alias=last] {};
+ \node[variant, anchor=west, color=\auxcolor] at (last.west) {\variant};
+ \node[value, anchor=east, color=\auxcolor, align=right] at (last.east)
+ {\printcolorvalue[\XCM at ColorModel]{\XCM at colorname%
+ \XCM at pltPercentSep\variant}};
+ }%
+ \def\auxcolor{\XCM at pltITextColor}%
+ \foreach \variant [count=\i] in \XCM at pltSecondary {
+ \ifx\i\first
+ \node[node distance=\XCM at pltFirstCSep, inner sep=0pt, below=of last,
+ alias=last] {};
+ \else\fi
+ \ifx\variant\XCM at pltSToggle
+ \gdef\auxcolor{\XCM at pltATextColor}%
+ \else\fi
+ \node[colorbox, fill=\XCM at colorname\XCM at pltPercentSep\variant,
+ below=of last, alias=last] {};
+ \node[variant, anchor=west, color=\auxcolor] at (last.west) {\variant};
+ \node[value, anchor=east, color=\auxcolor, align=right] at (last.east)
+ {\printcolorvalue[\XCM at ColorModel]{\XCM at colorname%
+ \XCM at pltPercentSep\variant}};
+ }%
+ \end{tikzpicture}%
+}
+% \end{macrocode}
+% \end{macro}
+% \begin{macrocode}
+}{}
+}
+% \end{macrocode}
+% \Finale
+\endinput
\ No newline at end of file
Property changes on: trunk/Master/texmf-dist/source/latex/xcolor-material/xcolor-material.dtx
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: trunk/Master/texmf-dist/source/latex/xcolor-material/xcolor-material.ins
===================================================================
--- trunk/Master/texmf-dist/source/latex/xcolor-material/xcolor-material.ins (rev 0)
+++ trunk/Master/texmf-dist/source/latex/xcolor-material/xcolor-material.ins 2016-10-16 21:37:31 UTC (rev 42289)
@@ -0,0 +1,55 @@
+%%
+%% Copyright (C) 2016 by Jerick Órdenes Sepúlveda <os.jerick+xcolormaterial at gmail.com>
+%%
+%% This file may be distributed and/or modified under the conditions of
+%% the LaTeX Project Public License, either version 1.3 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.3 or later is part of all distributions of LaTeX version
+%% 2005/12/01 or later.
+%%
+
+\input docstrip.tex
+\keepsilent
+
+\usedir{tex/latex/xcolor-material}
+
+\preamble
+
+This is a generated file.
+
+Copyright (C) 2016 by Jerick Órdenes Sepúlveda <os.jerick+xcolormaterial at gmail.com>
+
+This file may be distributed and/or modified under the conditions of
+the LaTeX Project Public License, either version 1.3 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.3 or later is part of all distributions of LaTeX version
+2005/12/01 or later.
+
+\endpreamble
+
+\generate{\file{xcolor-material.sty}{\from{xcolor-material.dtx}{package}}}
+
+\obeyspaces
+\Msg{****************************************************}
+\Msg{* *}
+\Msg{* To finish the installation you have to move the *}
+\Msg{* following file into a directory searched by TeX: *}
+\Msg{* *}
+\Msg{* xcolor-material.sty *}
+\Msg{* *}
+\Msg{* To produce the documentation run the file *}
+\Msg{* xcolor-material.dtx through LaTeX. *}
+\Msg{* *}
+\Msg{* Enjoy TeXing with Google Material Colors! *}
+\Msg{* *}
+\Msg{****************************************************}
+
+\endbatchfile
\ No newline at end of file
Added: trunk/Master/texmf-dist/tex/latex/xcolor-material/xcolor-material.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/xcolor-material/xcolor-material.sty (rev 0)
+++ trunk/Master/texmf-dist/tex/latex/xcolor-material/xcolor-material.sty 2016-10-16 21:37:31 UTC (rev 42289)
@@ -0,0 +1,489 @@
+%%
+%% This is file `xcolor-material.sty',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% xcolor-material.dtx (with options: `package')
+%%
+%% This is a generated file.
+%%
+%% Copyright (C) 2016 by Jerick Órdenes Sepúlveda <os.jerick+xcolormaterial at gmail.com>
+%%
+%% This file may be distributed and/or modified under the conditions of
+%% the LaTeX Project Public License, either version 1.3 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.3 or later is part of all distributions of LaTeX version
+%% 2005/12/01 or later.
+%%
+\NeedsTeXFormat{LaTeX2e}[2005/12/01]
+\ProvidesPackage{xcolor-material}
+[2016/10/11 v0.1 A package for accessing Google Material colors using the xcolor package]
+\RequirePackage{xcolor}[2007/01/21]
+\RequirePackage{kvoptions}[2011/06/30]
+\SetupKeyvalOptions{
+ family=XCM,
+ prefix=XCM@
+}
+\DeclareStringOption[Material]{prefix}[Material]
+\DeclareDefaultOption{
+ \OptionNotUsed
+ \PackageError{xcolor-material}{Unknown `\CurrentOption' option.}
+}
+\ProcessKeyvalOptions*
+\newcommand{\XCM at definecolor}[2]
+ {\expandafter\definecolor\expandafter{\XCM at prefix #1}{HTML}{#2}}
+\XCM at definecolor{Red50} {FFEBEE}
+\XCM at definecolor{Red100} {FFCDD2}
+\XCM at definecolor{Red200} {EF9A9A}
+\XCM at definecolor{Red300} {E57373}
+\XCM at definecolor{Red400} {EF5350}
+\XCM at definecolor{Red500} {F44336}
+\XCM at definecolor{Red600} {E53935}
+\XCM at definecolor{Red700} {D32F2F}
+\XCM at definecolor{Red800} {C62828}
+\XCM at definecolor{Red900} {B71C1C}
+\XCM at definecolor{RedA100}{FF8A80}
+\XCM at definecolor{RedA200}{FF5252}
+\XCM at definecolor{RedA400}{FF1744}
+\XCM at definecolor{RedA700}{D50000}
+\definecolor{\XCM at prefix Red}{named}{\XCM at prefix Red500}
+\XCM at definecolor{Pink50} {FCE4EC}
+\XCM at definecolor{Pink100} {F8BBD0}
+\XCM at definecolor{Pink200} {F48FB1}
+\XCM at definecolor{Pink300} {F06292}
+\XCM at definecolor{Pink400} {EC407A}
+\XCM at definecolor{Pink500} {E91E63}
+\XCM at definecolor{Pink600} {D81B60}
+\XCM at definecolor{Pink700} {C2185B}
+\XCM at definecolor{Pink800} {AD1457}
+\XCM at definecolor{Pink900} {880E4F}
+\XCM at definecolor{PinkA100}{FF80AB}
+\XCM at definecolor{PinkA200}{FF4081}
+\XCM at definecolor{PinkA400}{F50057}
+\XCM at definecolor{PinkA700}{C51162}
+\definecolor{\XCM at prefix Pink}{named}{\XCM at prefix Pink500}
+\XCM at definecolor{Purple50} {F3E5F5}
+\XCM at definecolor{Purple100} {E1BEE7}
+\XCM at definecolor{Purple200} {CE93D8}
+\XCM at definecolor{Purple300} {BA68C8}
+\XCM at definecolor{Purple400} {AB47BC}
+\XCM at definecolor{Purple500} {9C27B0}
+\XCM at definecolor{Purple600} {8E24AA}
+\XCM at definecolor{Purple700} {7B1FA2}
+\XCM at definecolor{Purple800} {6A1B9A}
+\XCM at definecolor{Purple900} {4A148C}
+\XCM at definecolor{PurpleA100}{EA80FC}
+\XCM at definecolor{PurpleA200}{E040FB}
+\XCM at definecolor{PurpleA400}{D500F9}
+\XCM at definecolor{PurpleA700}{AA00FF}
+\definecolor{\XCM at prefix Purple}{named}{\XCM at prefix Purple500}
+\XCM at definecolor{DeepPurple50} {EDE7F6}
+\XCM at definecolor{DeepPurple100} {D1C4E9}
+\XCM at definecolor{DeepPurple200} {B39DDB}
+\XCM at definecolor{DeepPurple300} {9575CD}
+\XCM at definecolor{DeepPurple400} {7E57C2}
+\XCM at definecolor{DeepPurple500} {673AB7}
+\XCM at definecolor{DeepPurple600} {5E35B1}
+\XCM at definecolor{DeepPurple700} {512DA8}
+\XCM at definecolor{DeepPurple800} {4527A0}
+\XCM at definecolor{DeepPurple900} {311B92}
+\XCM at definecolor{DeepPurpleA100}{B388FF}
+\XCM at definecolor{DeepPurpleA200}{7C4DFF}
+\XCM at definecolor{DeepPurpleA400}{651FFF}
+\XCM at definecolor{DeepPurpleA700}{6200EA}
+\definecolor{\XCM at prefix DeepPurple}{named}{\XCM at prefix DeepPurple500}
+\XCM at definecolor{Indigo50} {E8EAF6}
+\XCM at definecolor{Indigo100} {C5CAE9}
+\XCM at definecolor{Indigo200} {9FA8DA}
+\XCM at definecolor{Indigo300} {7986CB}
+\XCM at definecolor{Indigo400} {5C6BC0}
+\XCM at definecolor{Indigo500} {3F51B5}
+\XCM at definecolor{Indigo600} {3949AB}
+\XCM at definecolor{Indigo700} {303F9F}
+\XCM at definecolor{Indigo800} {283593}
+\XCM at definecolor{Indigo900} {1A237E}
+\XCM at definecolor{IndigoA100}{8C9EFF}
+\XCM at definecolor{IndigoA200}{536DFE}
+\XCM at definecolor{IndigoA400}{3D5AFE}
+\XCM at definecolor{IndigoA700}{304FFE}
+\definecolor{\XCM at prefix Indigo}{named}{\XCM at prefix Indigo500}
+\XCM at definecolor{Blue50} {E3F2FD}
+\XCM at definecolor{Blue100} {BBDEFB}
+\XCM at definecolor{Blue200} {90CAF9}
+\XCM at definecolor{Blue300} {64B5F6}
+\XCM at definecolor{Blue400} {42A5F5}
+\XCM at definecolor{Blue500} {2196F3}
+\XCM at definecolor{Blue600} {1E88E5}
+\XCM at definecolor{Blue700} {1976D2}
+\XCM at definecolor{Blue800} {1565C0}
+\XCM at definecolor{Blue900} {0D47A1}
+\XCM at definecolor{BlueA100}{82B1FF}
+\XCM at definecolor{BlueA200}{448AFF}
+\XCM at definecolor{BlueA400}{2979FF}
+\XCM at definecolor{BlueA700}{2962FF}
+\definecolor{\XCM at prefix Blue}{named}{\XCM at prefix Blue500}
+\XCM at definecolor{LightBlue50} {E1F5FE}
+\XCM at definecolor{LightBlue100} {B3E5FC}
+\XCM at definecolor{LightBlue200} {81D4FA}
+\XCM at definecolor{LightBlue300} {4FC3F7}
+\XCM at definecolor{LightBlue400} {29B6F6}
+\XCM at definecolor{LightBlue500} {03A9F4}
+\XCM at definecolor{LightBlue600} {039BE5}
+\XCM at definecolor{LightBlue700} {0288D1}
+\XCM at definecolor{LightBlue800} {0277BD}
+\XCM at definecolor{LightBlue900} {01579B}
+\XCM at definecolor{LightBlueA100}{80D8FF}
+\XCM at definecolor{LightBlueA200}{40C4FF}
+\XCM at definecolor{LightBlueA400}{00B0FF}
+\XCM at definecolor{LightBlueA700}{0091EA}
+\definecolor{\XCM at prefix LightBlue}{named}{\XCM at prefix LightBlue500}
+\XCM at definecolor{Cyan50} {E0F7FA}
+\XCM at definecolor{Cyan100} {B2EBF2}
+\XCM at definecolor{Cyan200} {80DEEA}
+\XCM at definecolor{Cyan300} {4DD0E1}
+\XCM at definecolor{Cyan400} {26C6DA}
+\XCM at definecolor{Cyan500} {00BCD4}
+\XCM at definecolor{Cyan600} {00ACC1}
+\XCM at definecolor{Cyan700} {0097A7}
+\XCM at definecolor{Cyan800} {00838F}
+\XCM at definecolor{Cyan900} {006064}
+\XCM at definecolor{CyanA100}{84FFFF}
+\XCM at definecolor{CyanA200}{18FFFF}
+\XCM at definecolor{CyanA400}{00E5FF}
+\XCM at definecolor{CyanA700}{00B8D4}
+\definecolor{\XCM at prefix Cyan}{named}{\XCM at prefix Cyan500}
+\XCM at definecolor{Teal50} {E0F2F1}
+\XCM at definecolor{Teal100} {B2DFDB}
+\XCM at definecolor{Teal200} {80CBC4}
+\XCM at definecolor{Teal300} {4DB6AC}
+\XCM at definecolor{Teal400} {26A69A}
+\XCM at definecolor{Teal500} {009688}
+\XCM at definecolor{Teal600} {00897B}
+\XCM at definecolor{Teal700} {00796B}
+\XCM at definecolor{Teal800} {00695C}
+\XCM at definecolor{Teal900} {004D40}
+\XCM at definecolor{TealA100}{A7FFEB}
+\XCM at definecolor{TealA200}{64FFDA}
+\XCM at definecolor{TealA400}{1DE9B6}
+\XCM at definecolor{TealA700}{00BFA5}
+\definecolor{\XCM at prefix Teal}{named}{\XCM at prefix Teal500}
+\XCM at definecolor{Green50} {E8F5E9}
+\XCM at definecolor{Green100} {C8E6C9}
+\XCM at definecolor{Green200} {A5D6A7}
+\XCM at definecolor{Green300} {81C784}
+\XCM at definecolor{Green400} {66BB6A}
+\XCM at definecolor{Green500} {4CAF50}
+\XCM at definecolor{Green600} {43A047}
+\XCM at definecolor{Green700} {388E3C}
+\XCM at definecolor{Green800} {2E7D32}
+\XCM at definecolor{Green900} {1B5E20}
+\XCM at definecolor{GreenA100}{B9F6CA}
+\XCM at definecolor{GreenA200}{69F0AE}
+\XCM at definecolor{GreenA400}{00E676}
+\XCM at definecolor{GreenA700}{00C853}
+\definecolor{\XCM at prefix Green}{named}{\XCM at prefix Green500}
+\XCM at definecolor{LightGreen50} {F1F8E9}
+\XCM at definecolor{LightGreen100} {DCEDC8}
+\XCM at definecolor{LightGreen200} {C5E1A5}
+\XCM at definecolor{LightGreen300} {AED581}
+\XCM at definecolor{LightGreen400} {9CCC65}
+\XCM at definecolor{LightGreen500} {8BC34A}
+\XCM at definecolor{LightGreen600} {7CB342}
+\XCM at definecolor{LightGreen700} {689F38}
+\XCM at definecolor{LightGreen800} {558B2F}
+\XCM at definecolor{LightGreen900} {33691E}
+\XCM at definecolor{LightGreenA100}{CCFF90}
+\XCM at definecolor{LightGreenA200}{B2FF59}
+\XCM at definecolor{LightGreenA400}{76FF03}
+\XCM at definecolor{LightGreenA700}{64DD17}
+\definecolor{\XCM at prefix LightGreen}{named}{\XCM at prefix LightGreen500}
+\XCM at definecolor{Lime50} {F9FBE7}
+\XCM at definecolor{Lime100} {F0F4C3}
+\XCM at definecolor{Lime200} {E6EE9C}
+\XCM at definecolor{Lime300} {DCE775}
+\XCM at definecolor{Lime400} {D4E157}
+\XCM at definecolor{Lime500} {CDDC39}
+\XCM at definecolor{Lime600} {C0CA33}
+\XCM at definecolor{Lime700} {AFB42B}
+\XCM at definecolor{Lime800} {9E9D24}
+\XCM at definecolor{Lime900} {827717}
+\XCM at definecolor{LimeA100}{F4FF81}
+\XCM at definecolor{LimeA200}{EEFF41}
+\XCM at definecolor{LimeA400}{C6FF00}
+\XCM at definecolor{LimeA700}{AEEA00}
+\definecolor{\XCM at prefix Lime}{named}{\XCM at prefix Lime500}
+\XCM at definecolor{Yellow50} {FFFDE7}
+\XCM at definecolor{Yellow100} {FFF9C4}
+\XCM at definecolor{Yellow200} {FFF59D}
+\XCM at definecolor{Yellow300} {FFF176}
+\XCM at definecolor{Yellow400} {FFEE58}
+\XCM at definecolor{Yellow500} {FFEB3B}
+\XCM at definecolor{Yellow600} {FDD835}
+\XCM at definecolor{Yellow700} {FBC02D}
+\XCM at definecolor{Yellow800} {F9A825}
+\XCM at definecolor{Yellow900} {F57F17}
+\XCM at definecolor{YellowA100}{FFFF8D}
+\XCM at definecolor{YellowA200}{FFFF00}
+\XCM at definecolor{YellowA400}{FFEA00}
+\XCM at definecolor{YellowA700}{FFD600}
+\definecolor{\XCM at prefix Yellow}{named}{\XCM at prefix Yellow500}
+\XCM at definecolor{Amber50} {FFF8E1}
+\XCM at definecolor{Amber100} {FFECB3}
+\XCM at definecolor{Amber200} {FFE082}
+\XCM at definecolor{Amber300} {FFD54F}
+\XCM at definecolor{Amber400} {FFCA28}
+\XCM at definecolor{Amber500} {FFC107}
+\XCM at definecolor{Amber600} {FFB300}
+\XCM at definecolor{Amber700} {FFA000}
+\XCM at definecolor{Amber800} {FF8F00}
+\XCM at definecolor{Amber900} {FF6F00}
+\XCM at definecolor{AmberA100}{FFE57F}
+\XCM at definecolor{AmberA200}{FFD740}
+\XCM at definecolor{AmberA400}{FFC400}
+\XCM at definecolor{AmberA700}{FFAB00}
+\definecolor{\XCM at prefix Amber}{named}{\XCM at prefix Amber500}
+\XCM at definecolor{Orange50} {FFF3E0}
+\XCM at definecolor{Orange100} {FFE0B2}
+\XCM at definecolor{Orange200} {FFCC80}
+\XCM at definecolor{Orange300} {FFB74D}
+\XCM at definecolor{Orange400} {FFA726}
+\XCM at definecolor{Orange500} {FF9800}
+\XCM at definecolor{Orange600} {FB8C00}
+\XCM at definecolor{Orange700} {F57C00}
+\XCM at definecolor{Orange800} {EF6C00}
+\XCM at definecolor{Orange900} {E65100}
+\XCM at definecolor{OrangeA100}{FFD180}
+\XCM at definecolor{OrangeA200}{FFAB40}
+\XCM at definecolor{OrangeA400}{FF9100}
+\XCM at definecolor{OrangeA700}{FF6D00}
+\definecolor{\XCM at prefix Orange}{named}{\XCM at prefix Orange500}
+\XCM at definecolor{DeepOrange50} {FBE9E7}
+\XCM at definecolor{DeepOrange100} {FFCCBC}
+\XCM at definecolor{DeepOrange200} {FFAB91}
+\XCM at definecolor{DeepOrange300} {FF8A65}
+\XCM at definecolor{DeepOrange400} {FF7043}
+\XCM at definecolor{DeepOrange500} {FF5722}
+\XCM at definecolor{DeepOrange600} {F4511E}
+\XCM at definecolor{DeepOrange700} {E64A19}
+\XCM at definecolor{DeepOrange800} {D84315}
+\XCM at definecolor{DeepOrange900} {BF360C}
+\XCM at definecolor{DeepOrangeA100}{FF9E80}
+\XCM at definecolor{DeepOrangeA200}{FF6E40}
+\XCM at definecolor{DeepOrangeA400}{FF3D00}
+\XCM at definecolor{DeepOrangeA700}{DD2C00}
+\definecolor{\XCM at prefix DeepOrange}{named}{\XCM at prefix DeepOrange500}
+\XCM at definecolor{Brown50} {EFEBE9}
+\XCM at definecolor{Brown100}{D7CCC8}
+\XCM at definecolor{Brown200}{BCAAA4}
+\XCM at definecolor{Brown300}{A1887F}
+\XCM at definecolor{Brown400}{8D6E63}
+\XCM at definecolor{Brown500}{795548}
+\XCM at definecolor{Brown600}{6D4C41}
+\XCM at definecolor{Brown700}{5D4037}
+\XCM at definecolor{Brown800}{4E342E}
+\XCM at definecolor{Brown900}{3E2723}
+\definecolor{\XCM at prefix Brown}{named}{\XCM at prefix Brown500}
+\XCM at definecolor{Grey50} {FAFAFA}
+\XCM at definecolor{Grey100}{F5F5F5}
+\XCM at definecolor{Grey200}{EEEEEE}
+\XCM at definecolor{Grey300}{E0E0E0}
+\XCM at definecolor{Grey400}{BDBDBD}
+\XCM at definecolor{Grey500}{9E9E9E}
+\XCM at definecolor{Grey600}{757575}
+\XCM at definecolor{Grey700}{616161}
+\XCM at definecolor{Grey800}{424242}
+\XCM at definecolor{Grey900}{212121}
+\definecolor{\XCM at prefix Grey}{named}{\XCM at prefix Grey500}
+\XCM at definecolor{BlueGrey50} {ECEFF1}
+\XCM at definecolor{BlueGrey100}{CFD8DC}
+\XCM at definecolor{BlueGrey200}{B0BEC5}
+\XCM at definecolor{BlueGrey300}{90A4AE}
+\XCM at definecolor{BlueGrey400}{78909C}
+\XCM at definecolor{BlueGrey500}{607D8B}
+\XCM at definecolor{BlueGrey600}{546E7A}
+\XCM at definecolor{BlueGrey700}{455A64}
+\XCM at definecolor{BlueGrey800}{37474F}
+\XCM at definecolor{BlueGrey900}{263238}
+\definecolor{\XCM at prefix BlueGrey}{named}{\XCM at prefix BlueGrey500}
+\XCM at definecolor{Black}{000000}
+\XCM at definecolor{White}{FFFFFF}
+\definecolor{GoogleBlue} {HTML}{4285F4}
+\definecolor{GoogleGreen} {HTML}{34A853}
+\definecolor{GoogleYellow}{HTML}{FBBC05}
+\definecolor{GoogleRed} {HTML}{EA4335}
+\newcommand{\XCM at extractcolor}[2]{%
+ \extractcolorspecs{#1}{\model}{\colorval}%
+ \convertcolorspec{\model}{\colorval}{#2}\extractedcolor
+ \extractedcolor
+}
+\newcommand*{\printcolorvalue}[2][HTML]{%
+ \edef\XCM at requiredModel{#1}%
+ \def\XCM at HTMLModel{HTML}%
+ \def\XCM at RGBModel{RGB}%
+ \def\XCM at CMYKModel{cmyk}%
+ \ifx\XCM at requiredModel\XCM at HTMLModel
+ \#\XCM at extractcolor{#2}{#1}%
+ \else\ifx\XCM at requiredModel\XCM at RGBModel
+ rgb(\XCM at extractcolor{#2}{#1})%
+ \else\ifx\XCM at requiredModel\XCM at CMYKModel
+ cmyk(\XCM at extractcolor{#2}{#1})%
+ \else\fi\fi\fi
+}
+\def\colorsample{%
+ \@ifnextchar[%
+ {\XCM at colorsample@i}
+ {\XCM at colorsample@i[HTML]}%
+}
+\def\XCM at colorsample@i[#1]{%
+ \@ifnextchar[%
+ {\XCM at colorsample@ii{#1}}
+ {\XCM at colorsample@ii{#1}[6.5em]}%
+}
+\def\XCM at colorsample@ii#1[#2]{%
+ \@ifnextchar[%
+ {\XCM at colorsample@iii{#1}{#2}}
+ {\XCM at colorsample@iii{#1}{#2}[white]}%
+}
+\def\XCM at colorsample@iii#1#2[#3]#4{%
+ \@ifnextchar[%
+ {\XCM at colorsample@iv{#1}{#2}{#3}{#4}}
+ {\XCM at colorsample@iv{#1}{#2}{#3}{#4}[#4]}%
+}
+\def\XCM at colorsample@iv#1#2#3#4[#5]{%
+ \def\XCM at temp{#2}\ifx\XCM at temp\empty
+ \def\XCM at boxwidth{6.5em}%
+ \else
+ \def\XCM at boxwidth{#2}%
+ \fi
+ \selectcolormodel{#1}
+ \colorbox{#4}{%
+ \hspace*{.3em}
+ \parbox[b][9\baselineskip]{\XCM at boxwidth}{%
+ \footnotesize\bfseries\sffamily\color{#3}
+ \vspace*{.7em}
+ \raggedright#5%
+ \vfill
+ \raggedright\texttt{\printcolorvalue[#1]{#4}}
+ \vspace*{.7em}
+ }
+ \hspace*{.3em}
+ }
+}
+\AtBeginDocument{
+\@ifpackageloaded{tikz}{%
+\pgfkeys{/palette/.is family, /palette,
+ width/.estore in = \XCM at pltWidth,
+ height/.estore in = \XCM at pltHeight,
+ shape/.estore in = \XCM at pltShape,
+ title/.estore in = \XCM at pltTitle,
+ title text color/.estore in = \XCM at pltTTextColor,
+ init text color/.estore in = \XCM at pltITextColor,
+ altern text color/.estore in = \XCM at pltATextColor,
+ variation font/.store in = \XCM at pltVFont,
+ value font/.store in = \XCM at pltNFont,
+ title font/.store in = \XCM at pltTFont,
+ colorbox sep/.estore in = \XCM at pltColorboxSep,
+ first colorbox sep/.estore in = \XCM at pltFirstCSep,
+ title colorbox height/.estore in = \XCM at pltTitleHeight,
+ primary palette/.estore in = \XCM at pltPrimary,
+ secondary palette/.estore in = \XCM at pltSecondary,
+ percent char/.estore in = \XCM at pltPercentSep,
+ primary variation/.estore in = \XCM at pltPrimaryBase,
+ primary toggle at/.estore in = \XCM at pltPToggle,
+ secondary toggle at/.estore in = \XCM at pltSToggle,
+ color model/.estore in = \XCM at ColorModel,
+ both/.style = {width = .45\textwidth,
+ height = 2\baselineskip,
+ shape = rectangle,
+ title text color = white,
+ init text color = black,
+ altern text color = white,
+ colorbox sep = 0pt,
+ first colorbox sep = .2\baselineskip,
+ title colorbox height = 6\baselineskip,
+ variation font = \sffamily,
+ value font = \ttfamily,
+ title font = \sffamily\bfseries,
+ primary palette = {50,100,200,...,900},
+ secondary palette = {A100,A200,A400,A700},
+ percent char = {},
+ primary variation = 500,
+ primary toggle at = 1000,
+ secondary toggle at = 1000,
+ color model = HTML},
+ primary/.style = {primary palette = {50,100,200,...,900},
+ secondary palette={},
+ primary variation = 500,
+ percent char={}},
+ basic/.style = {primary palette = {10,20,...,100},
+ secondary palette={},
+ primary variation = 100,
+ percent char=!}
+}
+\usetikzlibrary{positioning}
+\newcommand*{\colorpalette}[2][]{%
+ \def\XCM at pltTitle{#2}%
+ \def\XCM at colorname{#2}%
+ \pgfkeys{/palette, both, #1}%
+ \begin{tikzpicture}
+ \selectcolormodel{\XCM at ColorModel}
+ \tikzset{colorbox/.style={\XCM at pltShape, minimum width=\XCM at pltWidth,
+ minimum height=\XCM at pltHeight, node distance=\XCM at pltColorboxSep,
+ outer sep=0pt}}
+ \tikzset{title/.style = {font=\XCM at pltTFont, color=\XCM at pltTTextColor,
+ inner sep=1em}}
+ \tikzset{variant/.style = {font=\XCM at pltVFont, inner sep=1em}}
+ \tikzset{value/.style = {font=\XCM at pltNFont, inner sep=1em}}
+ \node[colorbox, fill=\XCM at colorname\XCM at pltPercentSep\XCM at pltPrimaryBase,
+ minimum height=\XCM at pltTitleHeight, alias=last] {};
+ \node[title, anchor=north west, align=left] at (last.north west)
+ {\XCM at pltTitle};
+ \node[title, anchor=south west] at (last.south west) {\XCM at pltPrimaryBase};
+ \node[title, anchor=south east, align=right] at (last.south east)
+ {\texttt{\printcolorvalue[\XCM at ColorModel]{\XCM at colorname%
+ \XCM at pltPercentSep\XCM at pltPrimaryBase}}};
+ \def\auxcolor{\XCM at pltITextColor}%
+ \def\first{1}%
+ \foreach \variant [count=\i] in \XCM at pltPrimary {
+ \ifx\i\first
+ \node[node distance=\XCM at pltFirstCSep, inner sep=0pt, below=of last,
+ alias=last] {};
+ \else\fi
+ \ifx\variant\XCM at pltPToggle
+ \gdef\auxcolor{\XCM at pltATextColor}%
+ \else\fi
+ \node[colorbox, fill=\XCM at colorname\XCM at pltPercentSep\variant,
+ below=of last, alias=last] {};
+ \node[variant, anchor=west, color=\auxcolor] at (last.west) {\variant};
+ \node[value, anchor=east, color=\auxcolor, align=right] at (last.east)
+ {\printcolorvalue[\XCM at ColorModel]{\XCM at colorname%
+ \XCM at pltPercentSep\variant}};
+ }%
+ \def\auxcolor{\XCM at pltITextColor}%
+ \foreach \variant [count=\i] in \XCM at pltSecondary {
+ \ifx\i\first
+ \node[node distance=\XCM at pltFirstCSep, inner sep=0pt, below=of last,
+ alias=last] {};
+ \else\fi
+ \ifx\variant\XCM at pltSToggle
+ \gdef\auxcolor{\XCM at pltATextColor}%
+ \else\fi
+ \node[colorbox, fill=\XCM at colorname\XCM at pltPercentSep\variant,
+ below=of last, alias=last] {};
+ \node[variant, anchor=west, color=\auxcolor] at (last.west) {\variant};
+ \node[value, anchor=east, color=\auxcolor, align=right] at (last.east)
+ {\printcolorvalue[\XCM at ColorModel]{\XCM at colorname%
+ \XCM at pltPercentSep\variant}};
+ }%
+ \end{tikzpicture}%
+}
+}{}
+}
+\endinput
+%%
+%% End of file `xcolor-material.sty'.
Property changes on: trunk/Master/texmf-dist/tex/latex/xcolor-material/xcolor-material.sty
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Modified: trunk/Master/tlpkg/bin/tlpkg-ctan-check
===================================================================
--- trunk/Master/tlpkg/bin/tlpkg-ctan-check 2016-10-16 21:36:41 UTC (rev 42288)
+++ trunk/Master/tlpkg/bin/tlpkg-ctan-check 2016-10-16 21:37:31 UTC (rev 42289)
@@ -637,7 +637,8 @@
widetable williams withargs
wnri wnri-latex wordcount wordlike
wrapfig wsemclassic wsuipa
- xargs xassoccnt xcharter xcite xcjk2uni xcntperchap xcolor xcolor-solarized
+ xargs xassoccnt xcharter xcite xcjk2uni xcntperchap
+ xcolor xcolor-material xcolor-solarized
xcomment xcookybooky xdoc xduthesis
xebaposter xecjk xecolor xecyr xeindex xellipsis
xepersian xesearch xespotcolor
Modified: trunk/Master/tlpkg/tlpsrc/collection-latexextra.tlpsrc
===================================================================
--- trunk/Master/tlpkg/tlpsrc/collection-latexextra.tlpsrc 2016-10-16 21:36:41 UTC (rev 42288)
+++ trunk/Master/tlpkg/tlpsrc/collection-latexextra.tlpsrc 2016-10-16 21:37:31 UTC (rev 42289)
@@ -1089,6 +1089,7 @@
depend xargs
depend xassoccnt
depend xcntperchap
+depend xcolor-material
depend xcolor-solarized
depend xcomment
depend xdoc
Added: trunk/Master/tlpkg/tlpsrc/xcolor-material.tlpsrc
===================================================================
More information about the tex-live-commits
mailing list