I successfully changed a color of sections and subsections to my defined one. However I'd like to change the \title
with the same way, but \titlefont{•}
doesn't work (and I guess it's not supposed to). What is the simple way to change the \title
color as well? I have the simplified following code:
\documentclass[11pt,a4paper]{article}
\usepackage{amsmath, url}
\usepackage[utf8x]{inputenc}
\usepackage[czech]{babel}
\usepackage{xcolor}
\usepackage{sectsty}
\definecolor{astral}{RGB}{46,116,181}
\subsectionfont{\color{astral}}
\sectionfont{\color{astral}}
\title{...}
\author{...}
\begin{document}
\maketitle
\begin{abstract} ...
\end{abstract}
\smallskip
\noindent \textbf{Key words:} ...
\section{...}
\end{document}
Every help and its description is highly welcome.