[Tex/LaTex] Palatino font and renewcommand title

fontstitles

I have tried to make a document with the font called "Palatino" and with a renew defintion of the title. Here is what I tried:

\documentclass[12pt,a4paper]{article}
\usepackage[utf8]{inputenc}
\usepackage[german]{babel}
\usepackage{mathpazo} %font palantino
%language
\usepackage{blindtext}

%Titlesection
\renewcommand{\title}{{\scshape \bfseries {\fontsize{50}{50}}}}

\begin{document}
\title{Hinter eines Baumes Rinde wohnt die Made mit dem Kinde. Sie ist Witwe, denn der Gatte, den sie hatte, fiel vom Blatte. Diente so auf diese Weise einer Ameise als Speise.}
\blinddocument
\end{document}

Questions and Trouble

My first question is: is the whole document know with the font Palatino? And my real struggle is, that the title don't do what I wanted it to do. And I am sure this is pretty basic and easy to solve, but I don't know how?

Thank you ver much in advance! Kind regards!

Best Answer

There is no boldface small caps font available, so you won't get it. Also \fontsize{50}{50} is not really something one wants to do.

What you have to modify is not the \title command, but the \maketitle command. What \title does is just storing the title is a safe place for later retrieval, when the document header will be typeset.

Don't forget the sc option to mathpazo to have a “real” small caps font (thanks to Manuel for noticing).

\documentclass[12pt,a4paper]{article}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage[ngerman]{babel}
\usepackage[sc]{mathpazo} %font Palatino
\usepackage{xpatch}
\usepackage{blindtext}

\makeatletter
\xpatchcmd{\@maketitle}
  {\@title}
  {\fontsize{40}{48}\scshape\@title}
  {}{}
\makeatother

\title{Hinter eines Baumes Rinde wohnt die Made mit dem Kinde}

\author{Heinz Erhardt}

\begin{document}
\maketitle
\blinddocument
\end{document}

enter image description here