diff --git a/contents.tex b/contents.tex index af4259a21729f39238059fd400bff3936e342f04..4d37593516849c6dc5b2930ddde015f17d1bf73f 100644 --- a/contents.tex +++ b/contents.tex @@ -305,7 +305,7 @@ entweder automatisch auf \texttt{hhucolorcycle} oder \texttt{hhubwcycle}. \addplot coordinates {(A,60) (B, 60)}; \addplot coordinates {(A,45) (B, 45)}; \addplot coordinates {(A,30) (B, 30)}; - \legend{blue, red, green, orange, cyan} + \legend{blue, orange, green, red, cyan} \end{axis} \end{tikzpicture} \caption[Bar plot with short version of caption for List of Figures]{% diff --git a/hhuthesis.cls b/hhuthesis.cls index c0499ddf121dc4c069ab75fcee5181ad17bcc3c5..fc90138a5b25c100301ea4ca57da3ed8d7bd2028 100644 --- a/hhuthesis.cls +++ b/hhuthesis.cls @@ -1,5 +1,5 @@ \NeedsTeXFormat{LaTeX2e} -\ProvidesClass{hhuthesis}[2023/10/23 HHU Thesis LaTeX document class v1.26] +\ProvidesClass{hhuthesis}[2024/02/14 HHU Thesis LaTeX document class v1.27] \DeclareOption*{\PassOptionsToClass{\CurrentOption}{article}} % Options fallback. \ProcessOptions\relax @@ -67,17 +67,18 @@ \RequirePackage{tikz} \RequirePackage{pgf,pgfplots} +\usetikzlibrary{patterns} %% Setup of colour cylce lists for pgfplots \pgfplotscreateplotcyclelist{hhucolorcycle}{ solid,hhublue,every mark/.append style={solid},mark=*\\ - dashed,hhured,every mark/.append style={solid},mark=square*\\ + dashed,hhuorange,every mark/.append style={solid},mark=square*\\ dashdotted,hhugreen,every mark/.append style={solid},mark=diamond*\\ - dotted,hhuorange,every mark/.append style={solid},mark=triangle*\\ + dotted,hhured,every mark/.append style={solid},mark=triangle*\\ densely dashed,hhucyan,every mark/.append style={solid},mark=star\\ loosely dashed,hhublue,every mark/.append style={solid},mark=o\\ - loosely dotted,hhured,every mark/.append style={solid},mark=square\\ + loosely dotted,hhuorange,every mark/.append style={solid},mark=square\\ densely dashed,hhugreen,every mark/.append style={solid},mark=diamond\\ - loosely dashdotted,hhuorange,every mark/.append style={solid},mark=triangle\\ + loosely dashdotted,hhured,every mark/.append style={solid},mark=triangle\\ densely dotted,hhucyan,every mark/.append style={solid},mark=star\\ } \pgfplotscreateplotcyclelist{hhubwcycle}{ % For black/white print @@ -95,10 +96,10 @@ %% The same for bar plots \pgfplotscreateplotcyclelist{hhucolorbars}{ {fill=hhublue!30!white, draw=hhublue, text=hhublue}, - {fill=hhured!30!white, draw=hhured, text=hhured}, - {fill=hhugreen!30!white, draw=hhugreen, text=hhugreen}, - {fill=hhuorange!30!white, draw=hhuorange, text=hhuorange}, - {fill=hhucyan!30!white, draw=hhucyan, text=hhucyan} + {fill=hhuorange!30!white, draw=hhuorange, text=hhuorange, postaction={pattern=crosshatch dots, pattern color=hhuorange}}, + {fill=hhugreen!30!white, draw=hhugreen, text=hhugreen, postaction={pattern=north west lines, pattern color=hhugreen}}, + {fill=hhured!30!white, draw=hhured, text=hhured, postaction={pattern=grid, pattern color=hhured}}, + {fill=hhucyan!30!white, draw=hhucyan, text=hhucyan, postaction={pattern=north east lines, pattern color=hhucyan}} } \pgfplotscreateplotcyclelist{hhubwbars}{ {fill=black!75!white, draw=black},