Zum Inhalt springen

Projekt:Semantische Vorlagen/Mathematische Vergleichsvorlagen/Latex

Aus Wikiversity

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

\newcommand{\mavergleichskettedisp}[4]{\[  #1 #2 #3 #4 \]}

\newcommand{\mavergleichskettedisplang}[4]{\[  #1 #2 #3 #4 \]}

\newcommand{\mavergleichskettealign}[4]{ \begin{eqnarray*}  #1 #2 #3 #4 \end{eqnarray*}  }

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

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

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

\newcommand{\vergleichskettealign}[9]{ #1 & #2 & #3 \ifthenelse
{\equal {#4}{ }} {} {\cr & #4 & #5 }  \ifthenelse {\equal {#6}{ }
}{} {\cr & #6 & #7 } \ifthenelse {\equal {#8}{ }}{} {\cr & #8 & #9 }
}

\newcommand{\vergleichskettefortsetzungalign}[8]{ \cr & #1 & #2 \ifthenelse
{\equal {#3}{ }} {} {\cr & #3 & #4 }  \ifthenelse {\equal {#5}{ }
}{} {\cr & #5 & #6 } \ifthenelse {\equal {#7}{ }}{} {\cr & #7 & #8 }
}

\newcommand{\mavergleichskettealigndrucklinks}[4]{ \begin{eqnarray*}  #1 #2 #3 #4 \end{eqnarray*}  }

\newcommand{\vergleichskettealigndrucklinks}[9]{  &  & #1 \cr & #2 & #3 \ifthenelse
{\equal {#4}{ }} {} {\cr & #4 & #5 }  \ifthenelse {\equal {#6}{ }
}{} {\cr & #6 & #7 } \ifthenelse {\equal {#8}{ }}{} {\cr & #8 & #9 }
}

\newcommand{\mavergleichskettealignhandlinks}[4]{ \begin{eqnarray*}  #1 #2 #3 #4 \end{eqnarray*}  }

\newcommand{\vergleichskettealignhandlinks}[9]{ #1 & #2 & #3 \ifthenelse
{\equal {#4}{ }} {} {\cr & #4 & #5 }  \ifthenelse {\equal {#6}{ }
}{} {\cr & #6 & #7 } \ifthenelse {\equal {#8}{ }}{} {\cr & #8 & #9 }
}

\newcommand{\mavergleichskettedisphandlinks}[4]{ \[ #1 #2 #3 #4 \] }

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

\newcommand{\zeilemitteil}[2]{ \ifthenelse {\equal {#2} {} } {#1} { #1 \cr & & #2}   }


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

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


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