diff options
Diffstat (limited to 'Master/texmf-dist/tex/xelatex/langsci/langsci-plot-templates.sty')
-rw-r--r-- | Master/texmf-dist/tex/xelatex/langsci/langsci-plot-templates.sty | 56 |
1 files changed, 56 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/xelatex/langsci/langsci-plot-templates.sty b/Master/texmf-dist/tex/xelatex/langsci/langsci-plot-templates.sty new file mode 100644 index 00000000000..5628b1842ce --- /dev/null +++ b/Master/texmf-dist/tex/xelatex/langsci/langsci-plot-templates.sty @@ -0,0 +1,56 @@ +%% Templates for plotting with pgfplots in Language Science Press books. + +%% Cycle lists for bar plots +%% Red-Yellow-Blue, inspired by ColorBrewer's RdYlBu +\pgfplotscreateplotcyclelist{langsci-RdYlBl-6}{ + {lsRed,fill=lsRed!90!white,mark=none}, + {lsMidOrange,fill=lsMidOrange!90!white,mark=none}, + {lsYellow,fill=lsYellow!90!white,mark=none}, + {lsLightBlue,fill=lsLightBlue!90!white,mark=none}, + {lsMidDarkBlue,fill=lsMidDarkBlue!90!white,mark=none}, + {lsNightBlue,fill=lsNightBlue!90!white,mark=none} +} + +\pgfplotscreateplotcyclelist{langsci-RdYlBl-5}{ + {lsRed,fill=lsRed!90!white,mark=none}, + {lsMidOrange,fill=lsMidOrange!90!white,mark=none}, + {lsYellow,fill=lsYellow!90!white,mark=none}, + {lsLightBlue,fill=lsLightBlue!90!white,mark=none}, + {lsNightBlue,fill=lsNightBlue!90!white,mark=none} +} + +\pgfplotscreateplotcyclelist{langsci-RdYlBl-4}{ + {lsRed,fill=lsRed!90!white,mark=none}, + {lsMidOrange,fill=lsMidOrange!90!white,mark=none}, + {lsLightBlue,fill=lsLightBlue!90!white,mark=none}, + {lsNightBlue,fill=lsNightBlue!90!white,mark=none} +} + +\pgfplotscreateplotcyclelist{langsci-RdYlBl-3}{ + {lsMidOrange,fill=lsMidOrange!90!white,mark=none}, + {lsYellow,fill=lsYellow!90!white,mark=none}, + {lsLightBlue,fill=lsLightBlue!90!white,mark=none} +} + +%% Yellow-Green-Blue, inspired by ColorBrewer's YlGnBu + +\pgfplotscreateplotcyclelist{langsci-YlGnBl-5}{ + {lsYellow,fill=lsYellow!50!white,mark=none}, + {lsSoftGreen,fill=lsSoftGreen!50!white,mark=none}, + {lsMidGreen,fill=lsMidGreen!50!white,mark=none}, + {lsLightBlue,fill=lsLightBlue!90!white,mark=none}, + {lsNightBlue,fill=lsNightBlue!90!white,mark=none}, +} + +\pgfplotscreateplotcyclelist{langsci-YlGnBl-4}{ + {lsYellow,fill=lsYellow!50!white,mark=none}, + {lsSoftGreen,fill=lsSoftGreen!50!white,mark=none}, + {lsMidGreen,fill=lsMidGreen!50!white,mark=none}, + {lsMidDarkBlue,fill=lsMidDarkBlue!90!white,mark=none} +} + +\pgfplotscreateplotcyclelist{langsci-YlGnBl-3}{ + {lsYellow,fill=lsYellow!50!white,mark=none}, + {lsSoftGreen,fill=lsSoftGreen!50!white,mark=none}, + {lsLightBlue,fill=lsLightBlue!90!white,mark=none} +} |