\documentclass{article}

\begin{document}

Testing \texttt{lilypond-book} \LaTeX{} mode with \texttt{.tex} file suffix.
\begin{lilypond}[fragment,relative=2]
\key c \minor c4 dis d2
\end{lilypond}

\end{document}
