diff --git a/mtheme.dtx b/mtheme.dtx index 88c46c2..ff6c345 100644 --- a/mtheme.dtx +++ b/mtheme.dtx @@ -265,11 +265,23 @@ The |\plain{title=[]}{}| command sets a slide in plain dark colors which can be useful to focus attention on a single sentence or image. -\subsection{pgfplot styles} +\subsection{Paul Tol's colors: a \texttt{pgfplots} theme} -The beamer theme also contains pre-defined pgfplot styles. Use the |mlineplot| -key to plot line data and |mbarplot| or horizontal |mbarplot| to plot bar -charts. +A good presentation uses colors that are + +\begin{itemize} + \item distinct from each other as much as possible, and + \item distinct from black and white, + \item under many different lighting and display environments, and + \item to color-blind viewers, + \item all while matching well together. +\end{itemize} + +In a \href{https://personal.sron.nl/~pault/colourschemes.pdf}{technical note} +for SRON, Paul Tol proposed a palette of colors satisfying these constraints. +The sub-package |pgfplotsthemetol| defines palettes for |pgfplots| charts +based on Tol's work. Use the |mlineplot| key to plot line data and |mbarplot| +or horizontal |mbarplot| to plot bar charts. \section{Known Issues} diff --git a/mtheme.pdf b/mtheme.pdf index cb5f5e5..90be96d 100644 Binary files a/mtheme.pdf and b/mtheme.pdf differ diff --git a/pgfplotsthemetol.dtx b/pgfplotsthemetol.dtx index 2d51db0..1f83732 100644 --- a/pgfplotsthemetol.dtx +++ b/pgfplotsthemetol.dtx @@ -30,22 +30,11 @@ %<*package> % ------------------------------------------------------------------------- \fi % -% \section{Paul Tol's colors: a \texttt{pgfplots} theme} +% \subsection{\texttt{pgfplotsthemetol}} % -% A good presentation uses colors that are -% -% \begin{itemize} -% \item distinct from each other as much as possible, and -% \item distinct from black and white, -% \item under many different lighting and display environments, and -% \item to color-blind viewers, -% \item all while matching well together. -% \end{itemize} -% -% In a \href{https://personal.sron.nl/~pault/colourschemes.pdf}{technical note} -% for SRON, Paul Tol proposed a palette of colors satisfying these constraints. -% His 12-color palette\footnote{Tol actually describes several palettes; these -% colours are taken from the bottom row of Figure 3 in the technical note.} is as follows: +% Paul Tol's 12-color palette\footnote{Tol actually describes several +% palettes; these colours are taken from the bottom row of Figure 3 in his +% technical note.} is as follows: % % \begin{macrocode} \definecolor{TolDarkPurple}{HTML}{332288}