diff --git a/doc/usermanuals/DD4hep/chapters/basics.tex b/doc/usermanuals/DD4hep/chapters/basics.tex
index 9abd0d1f9daca229f81c3df76080b6d05939cc3a..710268c753cf96b7e44ebe5bff750de44fd0c288 100644
--- a/doc/usermanuals/DD4hep/chapters/basics.tex
+++ b/doc/usermanuals/DD4hep/chapters/basics.tex
@@ -1264,7 +1264,7 @@ The corrsponding XML snippet looks like this:
 \end{minted}
 
 \item For a boolean shape the xml snippet is nested and contains 2 shape descriptions:
-\begin{minted}[frame=single,framesep=3pt,breaklines=true,tabsize=2,linenos,fontsize=\small]{c++}
+\begin{minted}[frame=single,framesep=3pt,breaklines=true,tabsize=2,linenos,fontsize=\small]{xml}
   <some_element type="BooleanShape" operation="value">
     <shape ....description of left hand shape/>
     <shape ....description of right hand shape/>