Move `pgfplots` theme description to `mtheme.dtx`
This commit is contained in:
parent
56fcb29494
commit
5e7b85a1b1
20
mtheme.dtx
20
mtheme.dtx
|
@ -265,11 +265,23 @@ The |\plain{title=[]}{<body>}| command sets a slide in plain dark colors which
|
||||||
can be useful to focus attention on a single sentence or image.
|
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|
|
A good presentation uses colors that are
|
||||||
key to plot line data and |mbarplot| or horizontal |mbarplot| to plot bar
|
|
||||||
charts.
|
\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}
|
\section{Known Issues}
|
||||||
|
|
BIN
mtheme.pdf
BIN
mtheme.pdf
Binary file not shown.
|
@ -30,22 +30,11 @@
|
||||||
%<*package>
|
%<*package>
|
||||||
% ------------------------------------------------------------------------- \fi
|
% ------------------------------------------------------------------------- \fi
|
||||||
%
|
%
|
||||||
% \section{Paul Tol's colors: a \texttt{pgfplots} theme}
|
% \subsection{\texttt{pgfplotsthemetol}}
|
||||||
%
|
%
|
||||||
% A good presentation uses colors that are
|
% 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
|
||||||
% \begin{itemize}
|
% technical note.} is as follows:
|
||||||
% \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:
|
|
||||||
%
|
%
|
||||||
% \begin{macrocode}
|
% \begin{macrocode}
|
||||||
\definecolor{TolDarkPurple}{HTML}{332288}
|
\definecolor{TolDarkPurple}{HTML}{332288}
|
||||||
|
|
Loading…
Reference in New Issue