在乳胶中绘制重叠椭圆(维恩图)(集合论)

在乳胶中绘制重叠椭圆(维恩图)(集合论)

在此处输入图片描述

你好。我怎样才能在乳胶中绘制这些多项选择题?

答案1

这是一种方法。

\documentclass{article}
\usepackage{circledsteps}
\begin{document}
\begin{enumerate}
 \item $\Circled{~\alpha\vphantom{\beta}~}\hspace{-1ex}\Circled{~\beta~}$
 \item $\Circled{~\alpha~\Circled{\beta}~}$
 \item $\Circled{~\beta~\Circled{\alpha}~}$
 \item $\Circled{~\alpha\vphantom{\beta}~}\,\Circled{~\beta~}$
 \item $\Circled{~\alpha\equiv\beta~}$
\end{enumerate}
\end{document}

在此处输入图片描述

\documentclass{article}
\usepackage{circledsteps}
\usepackage{tasks}
\begin{document}
\begin{tasks}(3)
 \task $\Circled{~\alpha\vphantom{\beta}~}\hspace{-1ex}\Circled{~\beta~}$
 \task $\Circled{~\alpha~\Circled{\beta}~}$
 \task $\Circled{~\beta~\Circled{\alpha}~}$
 \task $\Circled{~\alpha\vphantom{\beta}~}\,\Circled{~\beta~}$
 \task $\Circled{~\alpha\equiv\beta~}$
\end{tasks}
\end{document}

在此处输入图片描述

如果你想要真正的椭圆,使用 TiZ。

\documentclass{article}
\usepackage{tikz}
\usetikzlibrary{fit,shapes.geometric,positioning}
\tikzset{elli/.style={ellipse,inner xsep=1ex,inner ysep=1pt,draw,execute at
begin node={\vphantom{$\beta$}}}}
\usepackage{tasks}
\begin{document}
\begin{tasks}(3)
 \task \begin{tikzpicture}[baseline={(alpha.base)}]
   \node[elli](alpha){$\alpha$}; 
   \node[base right=-1ex of alpha,elli](beta){$\beta$};
 \end{tikzpicture}
 \task \begin{tikzpicture}[baseline={(alpha.base)}]
   \node(alpha){$\alpha$}; 
   \node[base right=1ex of alpha,elli](beta){$\beta$};
   \node[draw,fit=(alpha)(beta),elli]{};
  \end{tikzpicture}
 \task \begin{tikzpicture}[baseline={(alpha.base)}]
   \node[elli](alpha){$\alpha$}; 
   \node[base left=1ex of alpha](beta){$\beta$};
   \node[draw,fit=(alpha)(beta),elli]{};
  \end{tikzpicture}
 \task \begin{tikzpicture}[baseline={(alpha.base)}]
   \node[elli](alpha){$\alpha$}; 
   \node[base right=1ex of alpha,elli](beta){$\beta$};
  \end{tikzpicture}
 \task \begin{tikzpicture}[baseline={(alpha.base)}]
   \node[elli](alpha){$\alpha\equiv\beta$}; 
 \end{tikzpicture}
\end{tasks}
\end{document}

在此处输入图片描述

相关内容