Skip to content

Instantly share code, notes, and snippets.

@thetooth
Created October 9, 2017 17:28
Show Gist options
  • Save thetooth/a587956eae7fb33d2fa3c4c3edcf125f to your computer and use it in GitHub Desktop.
Save thetooth/a587956eae7fb33d2fa3c4c3edcf125f to your computer and use it in GitHub Desktop.
% Document color scheme
\definecolor{defColor}{RGB}{255,255,204}
\definecolor{sysColor}{RGB}{204,229,255}
\definecolor{appColor}{RGB}{204,229,255}
% Fancy sections
\newcommand\layertitle[2][defColor]{%
\refstepcounter{section}%
\addcontentsline{toc}{section}{\protect\numberline{\thesection}#2}%
\sectionmark{#2}%
\begin{tikzpicture}[remember picture, overlay]%
\begin{scope}[fill opacity=1.0,text opacity=1,white]%
\draw[fill=#1] (current page.west) circle (8.0cm)%
node[text=magenta!100!black] at (current page.center) {\Huge{#2}};%
\end{scope}%
\end{tikzpicture}%
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment