Hallo liebe User,

ich bekomme viele Warnungen, dass
Code:
LaTeX Warning: Command \textsubscript invalid in math mode on input line 43.
nicht korrekt ist. Was kann oder muss ich machen, damit diese Warnungen verschwinden?

Vielen Dank

Gruß

Martin

Code:
\documentclass{scrreprt}
\usepackage{mathtools}
\usepackage{textcomp}
\usepackage[detect-all, locale = DE]{siunitx}
%---------------------------------------------------------------------------
% FONTS Linux Libertine O
%--------------------------------------------------------------------------- 
\usepackage{fontspec}
\usepackage{metalogo} 
\usepackage{amsmath}[2000/07/18] 
\usepackage{amssymb}[2002/01/22] 
\usepackage[partial=upright,nabla=upright]{unicode-math}
\setmathfont[math-style=ISO,bold-style=ISO,vargreek-shape=TeX]{TeX Gyre Pagella Math}
\setmathfont[range={\mathcal,\mathbfcal},StylisticSet=1]{XITS Math}
\setmonofont[Mapping=tex-text,Scale=0.8]{Linux Libertine Mono O} 
\setsansfont[Mapping=tex-text,Numbers=OldStyle,Ligatures=Common]{Linux Biolinum O} 
\usepackage{libertine}
\setmainfont[Mapping=tex-text,
Numbers=OldStyle,
Variant=02,
Ligatures=Common,
Ligatures=Historical,
Ligatures=Contextual,
Ligatures=Rare,
Ligatures=Discretionary]
{Linux Libertine O} 
%---------------------------------------------------------------------------
\usepackage{microtype}
\usepackage[normalem]{ulem} 
\setkomafont{disposition}{\fontspec{Linux Libertine O}} 
\setkomafont{chapter}{\fontspec{Linux Libertine O}\Large\scshape}
\setkomafont{section}{\fontspec{Linux Libertine O}\large\scshape}
\setkomafont{subsection}{\fontspec{Linux Libertine O}\normalsize\scshape}
\setkomafont{subsubsection}{\fontspec{Linux Libertine O}\normalsize\scshape}
\setkomafont{pagehead}{\scshape}
%---------------------------------------------------------------------------
\begin{document}
\noindent Lösung Dreieck:
\begin{alignat*}{2}
(\text{c}\textsubscript{1} + \text{c}\textsubscript{2})\cdot \SI{14,30}{\m} &= (\SI{5,99}{\m}+\SI{3,54}{\m})\cdot \SI{14,30}{\m}\\
&\approx \SI{136,28}{\m^2}\\
\SI{136,28}{\m^2}\cdot 2&= \SI{272,56}{\m^2}
\end{alignat*}
Die zu dämmende Dachfläche beträgt \SI{272,56}{\m^2}.
\end{document}
PS.: Das bestellte Buch von H. Voß ist leider noch nicht da