\renewcommand\doxysection{\@startsection {section}{1}{\z@}%
  {-3.5ex \@plus -1ex \@minus -.2ex}%
  {2.3ex \@plus.2ex}%
  {\raggedright\normalfont\Large\bfseries\sffamily}}
\renewcommand\doxysubsection{\@startsection{subsection}{2}{\z@}%
  {-3.25ex\@plus -1ex \@minus -.2ex}%
  {1.5ex \@plus .2ex}%
  {\raggedright\normalfont\large\bfseries\sffamily}}
\renewcommand\doxysubsubsection{\@startsection{subsubsection}{3}{\z@}%
  {-3.25ex\@plus -1ex \@minus -.2ex}%
  {1.5ex \@plus .2ex}%
  {\raggedright\normalfont\normalsize\bfseries\sffamily}}
\renewcommand\doxysubsubsubsection{\@startsection{subsubsubsection}{4}{\z@}%
  {-3.25ex\@plus -1ex \@minus -.2ex}%
  {1.5ex \@plus .2ex}%
  {\raggedright\normalfont\normalsize\bfseries\sffamily}}
\renewcommand\doxysubsubsubsubsection{\@startsection{subsubsubsubsection}{5}{\z@}%
  {-3.25ex\@plus -1ex \@minus -.2ex}%
  {1.5ex \@plus .2ex}%
  {\raggedright\normalfont\normalsize\bfseries\sffamily}}
\renewcommand\doxysubsubsubsubsubsection{\@startsection{subsubsubsubsubsection}{6}{\z@}%
  {-3.25ex\@plus -1ex \@minus -.2ex}%
  {1.5ex \@plus .2ex}%
  {\raggedright\normalfont\normalsize\bfseries\sffamily}}
\renewcommand\doxysubsubsubsubsubsubsection{\@startsection{subsubsubsubsubsubsection}{7}{\z@}%
  {-3.25ex\@plus -1ex \@minus -.2ex}%
  {1.5ex \@plus .2ex}%
  {\raggedright\normalfont\normalsize\bfseries\sffamily}}
\renewcommand\doxyparagraph{\@startsection{paragraph}{8}{\z@}%
  {-3.25ex\@plus -1ex \@minus -.2ex}%
  {1.5ex \@plus .2ex}%
  {\raggedright\normalfont\normalsize\bfseries\sffamily}}
\renewcommand\doxysubparagraph{\@startsection{subparagraph}{9}{\parindent}%
  {-3.25ex\@plus -1ex \@minus -.2ex}%
  {1.5ex \@plus .2ex}%
  {\raggedright\normalfont\normalsize\bfseries\sffamily}}

% Used by @code ... @endcode
\usepackage{mdframed}
\renewenvironment{DoxyCode}[1]{%
  \begin{center}%
    \begin{mdframed}[backgroundcolor=black!3,rightline=false,leftline=false,topline=false,bottomline=false]%
      \hfill%
      \scriptsize%
      \normalfont\ttfamily%
      \rightskip0pt plus 1fil%
      \settowidth{\DoxyCodeWidth}{000000}%
      \settowidth{\CodeWidthChar}{?}%
      \settoheight{\CodeHeightChar}{?}%
      \setlength{\parskip}{0ex plus 0ex minus 0ex}%
      \ifthenelse{\equal{#1}{0}}
      {
        {\lccode`~32 \lowercase{\global\let~}\NiceSpace}\obeyspaces%
      }
      {
        {\lccode`~32 \lowercase{\global\let~}}\obeyspaces%
      }

      }{%
      \normalfont%
      \normalsize%
      \settowidth{\CodeWidthChar}{?}%
      \settoheight{\CodeHeightChar}{?}%
    \end{mdframed}%
  \end{center}%
  \vspace{-1em}%
}

\renewenvironment{DoxyItemize}{%
  \normalsize%
  \normalfont\sffamily%
  \begin{itemize}%
    \setlength{\itemsep}{0pt}%
    \setlength{\parsep}{0pt}%
    \setlength{\topsep}{0pt}%
    \setlength{\partopsep}{0pt}%
    }{%
  \end{itemize}%
}

% Used for member lists
\renewenvironment{DoxyCompactItemize}{%
  \normalsize%
  \normalfont\sffamily%
  \begin{itemize}%
    \setlength{\itemsep}{0pt}%
    \setlength{\parsep}{0pt}%
    \setlength{\topsep}{0pt}%
    \setlength{\partopsep}{0pt}%
    }{%
  \end{itemize}%
}

% Used for member descriptions
\renewenvironment{DoxyCompactList}{%
  \normalsize%
  \normalfont\rmfamily%
  \begin{list}{}{%
      \setlength{\leftmargin}{0cm}%
      \setlength{\itemsep}{0pt}%
      \setlength{\parsep}{0pt}%
      \setlength{\topsep}{0pt}%
      \renewcommand{\makelabel}{\hfill}%
    }%
    }{%
  \end{list}%
}

% Make quotes look more like quotes
\surroundwithmdframed[
  leftline=true,
  rightline=false,
  topline=false,
  bottomline=false,
  linecolor=black!20,
  linewidth=5pt,
  skipabove=\topsep,
  skipbelow=\topsep
]{quote}
