Files
MaFIngB1/Grafiken/I_Abb001.tex
2024-02-07 17:40:53 +01:00

55 lines
1.4 KiB
TeX

%!TEX root=MathIng.tex
\begin{figure}[htb]
\begin{minipage}[c]{0.5\textwidth}
\centering
\begin{framed}
\def\firstcircle{(0,0) circle (2cm)}
\def\secondcircle{(-0.5,0) circle (1cm)}
\colorlet{circle edge}{black}
\colorlet{circle area}{black!20!white}
\tikzset{filled/.style={fill=circle area, draw=circle edge, thick},
outline/.style={draw=circle edge,thick}}
\begin{tikzpicture}
\fill[filled] \secondcircle;
\draw[outline] \firstcircle node[xshift=-5mm] {$A$};
\draw[outline] \secondcircle node[xshift=2cm] {$B$};
\node[anchor=south,yshift=-8mm] at (current bounding box.south) {$A \subset B$};
\end{tikzpicture}
%\captionof{figure}{Venn-Diagramme}
\end{framed}
\end{minipage}
\begin{minipage}[c]{0.5\textwidth}
\centering
\begin{framed}
\def\firstcircle{(2,0) circle (2cm)}
\def\secondcircle{(-0.95,1) circle (1cm)}
\colorlet{circle edge}{black}
\colorlet{circle area}{black!20!white}
\tikzset{filled/.style={fill=circle area, draw=circle edge, thick},
outline/.style={draw=circle edge,thick}}
\begin{tikzpicture}
\fill[filled] \secondcircle;
\draw[outline] \firstcircle node {$A$};
\draw[outline] \secondcircle node {$B$};
\node[anchor=south,yshift=-8mm] at (current bounding box.south) {$A \not\subset B$};
\end{tikzpicture}
\end{framed}
\end{minipage}
\caption{Venn-Diagramme}\label{Abb001}
\end{figure}