From ae1e4e08a1005a0c487f03ba189d7536e7fdcba6 Mon Sep 17 00:00:00 2001 From: Michael Gielda Date: Thu, 3 Apr 2014 14:53:04 +0200 Subject: Added the OS files --- doc/source/antmicro.sty | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 doc/source/antmicro.sty (limited to 'doc/source/antmicro.sty') diff --git a/doc/source/antmicro.sty b/doc/source/antmicro.sty new file mode 100644 index 0000000..114159e --- /dev/null +++ b/doc/source/antmicro.sty @@ -0,0 +1,32 @@ +\usepackage{xcolor} + +\definecolor{AMaubergine}{rgb}{0.2,0.18,0.22} +\definecolor{AMorange}{rgb}{0.84,0.32,0.28} + +% Redefine these colors to your liking in the preamble. +\definecolor{TitleColor}{named}{AMorange} +\definecolor{InnerLinkColor}{named}{AMorange} +\definecolor{OuterLinkColor}{named}{AMorange} +% Redefine these colors to something not white if you want to have colored +% background and border for code examples. +%\definecolor{VerbatimColor}{rgb}{0.92,0.92,0.92}%{0.99,0.77,0.65} +%\definecolor{VerbatimBorderColor}{named}{AMaubergine} + +\makeatletter + \fancypagestyle{normal}{ + \fancyhf{} + \headheight 40pt + \setlength{\topmargin}{-20mm} + \fancyfoot[LE,RO]{{\py@HeaderFamily\thepage}} + \fancyfoot[LO,RE]{{\py@HeaderFamily \@title}} + \fancyhead[LO]{{\py@HeaderFamily\nouppercase{\rightmark}}} + \fancyhead[RE]{{\py@HeaderFamily\nouppercase{\leftmark}}} + \fancyhead[LE,RO]{{\includegraphics[height=25pt]{logo-400.png}}} + \renewcommand{\headrulewidth}{0.4pt} + \renewcommand{\footrulewidth}{0.4pt} + } +\makeatother + +\PassOptionsToClass{openany}{\sphinxdocclass} + +\renewcommand{\releasename}{} -- cgit v1.2.3