summaryrefslogtreecommitdiff
path: root/doc/source/antmicro.sty
blob: 114159eedeed80a253b1e17ef5c8fb964688dcb6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
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}{}