% Time-stamp: <2018-03-16 15:22:47 nagata>
% コンパイルの仕方：ソースが file.tex であれば
% pdflatex file
%
\documentclass[a4paper]{article}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage[german]{babel}
\usepackage{libertine}
\usepackage{tikz} 
\usetikzlibrary{decorations.text}
\definecolor{dgold}{HTML}{FFCC00}
\pagestyle{empty}
\begin{document}
 \begin{tikzpicture}
   \path [decorate,decoration={text along path,
     text={|\color{black}|In den alte|\color{red}|n Zeiten,
       |\color{dgold}|wo das W{ü}|\color{black}|nschen
       n|\color{red}|och geholf|\color{dgold}|en hat,
       leb|\color{black}|te ein K{ö}n|\color{red}|ig, dessen
       T{ö}chter waren alle sch{ö}n, aber die j{ü}ngste war so
       sch{ö}n}}] (0,0) sin (1,1) (1,1) cos (2,0) (2,0) sin
   (3,-1) (3,-1) cos (4,0) (4,0) sin (5,1) (5,1) cos (6,0)
   (6,0) sin (7,-1) (7,-1) cos (8,0);
    \end{tikzpicture}
\end{document}
