Zum Inhalt springen

# Projekt:Semantische Vorlagen/Mathematischer Modus/Latex

\newcommand{\mathdisp}[2]{$#1 \, #2$}

\newcommand{\mathind}[3]{$#1$, $#2$#3}

\newcommand{\mathbed}[8]{$#1${\ifthenelse{\equal{#2}{}}{, }{ #2 }}$#3${\ifthenelse{\equal{#5}{}}{}{{\ifthenelse{\equal{#4}{}}{, }{ #4 }}}$#5$}{\ifthenelse{\equal{#7}{}}{}{{\ifthenelse{\equal{#6}{}}{, }{ #6 }}}$#7$}#8}

\newcommand{\mathbeddisp}[8]{$#1 {\ifthenelse{\equal{#2}{}}{,\, }{ \text{ #2 } }} #3 {\ifthenelse{\equal{#5}{}}{}{{\ifthenelse{\equal{#4}{}}{,\, }{ \text{ #4 } }}} #5 }{\ifthenelse{\equal{#7}{}}{}{{\ifthenelse{\equal{#6}{}}{,\, }{ \text{ #6 } }}} #7 }#8$}

\newcommand{\mathbedtermdisp}[8]{$#1$ #2 $#3$#4 $#5$#6$#7$#8}

\newcommand{\mathkon}[4]{$#1$ #2 $#3$#4}

\newcommand{\mathkor}[5]{{\ifthenelse{\equal{#1}{}}{}{#1 }}$#2$ #3 $#4$#5}

\newcommand{\mathkork}[5]{{\ifthenelse{\equal{#1}{}}{}{#1 }}$#2$ #3 $#4$#5}

\newcommand{\mathlist}[5]{$#1$\ifthenelse{\equal{#2}{}}{,}{ #2} $#3$\ifthenelse{\equal{#4}{}}{,}{ #4} $#5$}

\newcommand{\mathlistdisp}[5]{$#1 \ifthenelse{\equal{#2}{}}{,}{ \text{ #2 }} #3 \ifthenelse{\equal{#4}{}}{,}{\text{ #4 } } #5$ }

\newcommand{\alignier}[2]{\begin{align*} #1 \, #2 \end{align*}}

\newcommand{\mathlistvierdisp}[7]{$#1,\, #3, \, #5 \text{ #6 } #7$} \newcommand{\maabb}[4]{${\ifthenelse {\equal {#1}{} } {} {#1:}}\, #2 \longrightarrow #3 #4$}