Theorie der Abbildungen/Strukturvorlagen/Latexmakros

Aus Wikiversity

Vorlage:Standardbaustein

\newcommand{\maabb}[4]{${\ifthenelse {\equal {#1}{} } {} {#1 \colon }}\, #2 \rightarrow #3 #4 $}

\newcommand{\maabbele}[6]{$ {\ifthenelse {\equal {#1}{} } {} {#1 \colon }}\, #2 \rightarrow #3 , \, #4 \mapsto #5 #6 $}

\newcommand{\maabbdisp}[4]{\[ {\ifthenelse {\equal {#1}{} } {} {#1 \colon }}\, #2 \longrightarrow #3 #4 \]}

\newcommand{\maabbeledisp}[6]{\[ {\ifthenelse {\equal {#1}{} } {} {#1 \colon }}\, #2 \longrightarrow #3 , \, #4 \longmapsto #5 #6 \]}

%Variante bei ifequal-Problem

\newcommand{\maabbnamedisp}[4]{\[ #1 \colon \, #2 \longrightarrow #3 #4 \]}

\newcommand{\maabbeledispvar}[6]{\[ {\ifthenelse {\equal {#1}{} } {} {#1 \colon }}\, #2 \longrightarrow #3 , \, #4 \longmapsto #5 #6 \]}

\newcommand{\verknuepfung}[2]{#2 \circ #1}