diff --git a/psipresentation.cls b/psipresentation.cls index 1470302..05601a6 100644 --- a/psipresentation.cls +++ b/psipresentation.cls @@ -264,6 +264,9 @@ BoldItalicFont = *-Bold-Italic % section divider \newenvironment{divider}[2]{ + % #1 background color + % #2 font and logo color (white or black) + \setbeamercolor{background canvas}{bg=#1} \colorlet{frametitlefont}{#2} @@ -285,6 +288,10 @@ BoldItalicFont = *-Bold-Italic % colored tables \newenvironment{ctabular}[3]{ + % #1 tabular options + % #2 row background color + % #3 header font color + \newcolumntype{L}{>{\ifnumequal{\rownum}{1}{\bfseries\color{#3}}}l} \newcolumntype{C}{>{\ifnumequal{\rownum}{1}{\bfseries\color{#3}}}c} \newcolumntype{R}{>{\ifnumequal{\rownum}{1}{\bfseries\color{#3}}}r}