Matematics Set Operation in this post consist of:
- Set A picture
- Complement Set A picture
- A union B picture
- A intersect B picture
- Subset picture
- Disjoint Set picture
- Difference Set picture
Difference Set picture
%!TEX TS-program=pdflatex
%!TEX encoding=UTF-8 Unicode
%
% File name: diaVenns1-7.tex
% Description:
% The Set operations in diagram venn
%
\documentclass[12pt,a4paper]{report}
\usepackage{tikz}
\usetikzlibrary{patterns}
\usepackage[active,tightpage]{preview}
\PreviewEnvironment{tikzpicture}
\setlength\PreviewBorder{0.25pt}
\begin{document}
%%%title page
\centering \begin{tikzpicture}
\node[font=\bfseries\Huge] at(0,0) {$Set$};
\node[font=\bfseries\Huge] at(0,-1) {$Operations$};
\end{tikzpicture}
%%%Difference Set Picture
%A\verb!$\setminus$!B,
%is the set of all values of A that are not members of B
\begin{tikzpicture}
% Universal set U
\fill[white!35!white, even odd rule]
(-2,-2) rectangle (4,2) (0:2cm) circle [radius=1.3];
% title
\node[font=\bfseries] at(1,1.5) {A$\mathbf{\setminus}$B or A difference B};
%draw Set A
\filldraw[fill=white!60!white,pattern=dots, draw=black,thick] (0.3,-0.10) circle[radius=1.3] node[above,fill=white!30] {$\mathbf{A}$};
%draw Set B
\draw[fill=white,draw=black,thick] (2,-0.10) circle [radius=1.3] node[above,fill=white!20] {$\mathbf{B}$};
%Define the A difference B
\begin{scope}
\clip (2,-0.10) circle[radius=1.3];
%\clip (0.3,-0.10) circle[radius=1.3];
\filldraw[fill=white!70,draw=black] (0.3,-0.10) circle[radius=1.3];
\end{scope}
%draw border of Set B
\draw[draw=black,thick] (2,-0.10) circle [radius=1.3];
% Draw the Universal Label
\node[font=\bfseries] at (3.5,-1.7) {\textbf{U}};
\end{tikzpicture}
\end{document}
Save file as diaVenns1-7.tex
Output
< Previous Matematics Set Operation In Latex 6
<< Back to Study About Draw In Latex 2
<< Back to Class 11 Math
type in latex, write in latex, draw latex, diagram venn, mathematical equation, venn diagram, math diagram
Tidak ada komentar:
Posting Komentar