%%
%%  Der Mathematiksatz mit LaTeX, 1. Auflage 2009
%%
%%  Example 2-2-5 on page 8.
%%
%%  Copyright (C) 2008 Herbert Voss
%%
%%  It may be distributed and/or modified under the conditions
%%  of the LaTeX Project Public License, either version 1.3
%%  of this license or (at your option) any later version.
%%
%%  See http://www.latex-project.org/lppl.txt for details.
%%

\documentclass[a5paper]{ttctexa}
\pagestyle{empty}
\setcounter{page}{6}
\setlength\textwidth{355.65944pt}
\setlength\parindent{0pt}
\usepackage[utf8]{inputenc}
\usepackage[lucidasmallscale]{lucidabr}
\usepackage[ngerman]{babel}
\usepackage[margin=10mm]{geometry}
\StartShownPreambleCommands
\usepackage[linktocpage,colorlinks]{hyperref}
\StopShownPreambleCommands
\begin{document}
\tableofcontents
\section{Das \texorpdfstring{Integral $ \int_a^b \sin(x)\mathrm{d}x $}{Sinus-Integral}}
\subsection{\texorpdfstring{$\sqrt{x_1^2+x_2^2}$}{sqrt(x\_1\^{}2+x\_2\^{}2)}}
bar
\end{document}