summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2023-08-11 21:15:48 +0000
committerKarl Berry <karl@freefriends.org>2023-08-11 21:15:48 +0000
commit8123f0b46357f7851b01d7ea33d71695edc1ac0c (patch)
treeb707ff40c4afe7e9bd9619c0f548a814b086bb59 /Master/texmf-dist/doc
parent6e041ce91f62841f098d3d7acca24f1e3b9c307f (diff)
xkcdcolors (11aug23)
git-svn-id: svn://tug.org/texlive/trunk@67895 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc')
-rw-r--r--Master/texmf-dist/doc/latex/xkcdcolors/README.md32
-rw-r--r--Master/texmf-dist/doc/latex/xkcdcolors/xkcdcolors-manual.pdfbin208351 -> 217219 bytes
-rw-r--r--Master/texmf-dist/doc/latex/xkcdcolors/xkcdcolors-manual.tex8
3 files changed, 35 insertions, 5 deletions
diff --git a/Master/texmf-dist/doc/latex/xkcdcolors/README.md b/Master/texmf-dist/doc/latex/xkcdcolors/README.md
index f96d17a7824..2b1d7a85283 100644
--- a/Master/texmf-dist/doc/latex/xkcdcolors/README.md
+++ b/Master/texmf-dist/doc/latex/xkcdcolors/README.md
@@ -1,12 +1,42 @@
## Package `xkcdcolors` for LaTeX
-In the year 2010, Randall Munroe on [posted a really fun and nice article](https://blog.xkcd.com/2010/05/03/color-survey-results/) on the iconic web of [xkcd](https://xkcd.com/).
+In the year 2010, Randall Munroe on [posted a really fun and nice article](https://blog.xkcd.com/2010/05/03/color-survey-results/) on the iconic web of [xkcd](https://xkcd.com/).
He did a very curious experiment: showing colors to a lot of people and asking to name each one.
Afterward, he processed the data and sorted the names for each color by popularity --- that means, how many people gave the same name to the same color (no guidance here! Read the post linked above for details).
He obtained a nice list of around 950 color names. It's not at all surprising that a lot of people forged `CloudyBlue`, but some color is really surprising, like for example `BabyPoopGreen` or `DullPink`...
+### DOCUMENTATION
+
+See the included file `xkcdcolors-manual.tex`; you can compile it running (twice) `pdflatex` on it. If you want to have a look, you can find a compiled copy on the [release page](https://github.com/Rmano/xkcdcolors/releases) or on [CTAN](https://www.ctan.org/pkg/xkcdcolors).
+
+If you have already installed the package in your TeX distribution, use `texdoc xkcdcolors`; it should show you the manual of the installed version of the package.
+
+To search for a color in a fast way, at least on Unix or on a compatible `bash` shell, you can use the following command:
+
+```bash
+[romano:~] % grep -i duck $(kpsewhich xkcdcolors.sty)
+ DuckEggBlue,C3FBF4;%
+```
+
+### Links
+
+A very interesting link about "ordering" the 900+ colors here is [this one on Wolfram Community](https://community.wolfram.com/groups/-/m/t/434022?sortMsg=Flat); well worth a look.
+
+### AUTHOR
+
+Romano Giannetti `romano.giannetti@gmail.com`
+
### LICENSE
This package use Randall Munroe's file [rgb.txt](https://xkcd.com/color/rgb.txt) which is distributed under [CC0 1.0](https://creativecommons.org/publicdomain/zero/1.0/). You can use that license or [LPPL 1.3c](https://www.latex-project.org/lppl/lppl-1-3c/)
+
+### SOURCE REPO
+
+The source is hosted on [GitHub](https://github.com/Rmano/xkcdcolors).
+If you clone the repository, you can use
+
+ make local-install
+
+to install the package on [your local TEXMF tree](https://tex.stackexchange.com/questions/1137/where-do-i-place-my-own-sty-or-cls-files-to-make-them-available-to-all-my-te).
diff --git a/Master/texmf-dist/doc/latex/xkcdcolors/xkcdcolors-manual.pdf b/Master/texmf-dist/doc/latex/xkcdcolors/xkcdcolors-manual.pdf
index 59fc42c734d..737fe12b953 100644
--- a/Master/texmf-dist/doc/latex/xkcdcolors/xkcdcolors-manual.pdf
+++ b/Master/texmf-dist/doc/latex/xkcdcolors/xkcdcolors-manual.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/xkcdcolors/xkcdcolors-manual.tex b/Master/texmf-dist/doc/latex/xkcdcolors/xkcdcolors-manual.tex
index 884790b5cf5..e58e2db0ef8 100644
--- a/Master/texmf-dist/doc/latex/xkcdcolors/xkcdcolors-manual.tex
+++ b/Master/texmf-dist/doc/latex/xkcdcolors/xkcdcolors-manual.tex
@@ -1,7 +1,7 @@
\documentclass[12pt]{article}
%
% Manual for the package `xkcdcolors`
-% Copyright (c) Romano Giannetti 2019
+% Copyright (c) Romano Giannetti 2019-2023
% License: LPPL 1.3c (https://ctan.org/license/lppl1.3c)
%
% The colors are created using
@@ -21,7 +21,7 @@
\def\ancho{3.5cm}
\coordinate (top) at (\ancho,1);
\draw[thick, draw=black, fill=#1] (0,0) rectangle (top);
- \node[align=center, anchor=north west, text width=\ancho] at (0,0) {\strut\hspace{0pt}\relax #1};
+ \node[align=center, anchor=north west, text width=\ancho, inner xsep=0pt] at (0,0) {\strut\hspace{0pt}\relax #1};
\end{tikzpicture}
}
\title{\texttt{xkcdcolors} package}
@@ -49,7 +49,7 @@ To use the package, just load the package with:
\textcolor{xkcdPinkyPurple}{this is Pinky Purple}
\end{verbatim}
-\noindent will render as \textcolor{xkcdPinkyPurple}{this is Pinky Purple}.
+\noindent will render as \textcolor{xkcdPinkyPurple}{this is Pinky Purple}. This manual refers to version \texttt{\xkcdcolorsversion} of the package.
\bigskip
@@ -1009,7 +1009,7 @@ xkcdElectricLime,
xkcdDust,
xkcdDarkPastelGreen,
xkcdCloudyBlue}
-{\colorblock{\xkcdcol}\ }
+{\colorblock{\xkcdcol}\quad}
}
\end{document}