Code: Select all
Code, edit and compile here:
\documentclass[svgnames,serif]{beamer}%\usepackage{tikz}\usetikzlibrary{calc}\mode<presentation>\setbeamertemplate{navigation symbols}{}\begin{document}\begin{frame}\frametitle{Cube}\begin{center}\begin{tikzpicture}[scale=4]\node (a) at (0,0,0) [label=left:{$A$}] {} ;\node (b) at (1,0,0) [label=right:{$B$}] {} ;\node (c) at (1,0,1) [label=right:{$C$}] {} ;\node (d) at (0,0,1) [label=left:{$D$}] {} ;\node (e) at (0,1,0) [label=left:{$E$}] {} ;\node (f) at (1,1,0) [label=right:{$F$}] {} ;\node (g) at (1,1,1) [label=right:{$G$}] {} ;\node (h) at (0,1,1) [label=left:{$H$}] {} ;\draw (a) -- (b) (b) -- (c) (c) -- (d) (d) -- (a)(e) -- (f) (f) -- (g) (g) -- (h) (h) -- (e)(a) -- (e) (b) -- (f) (c) -- (g) (d) -- (h);\filldraw [draw=black,fill=blue,opacity=0.3](d) -- (h) -- (f) -- (b) -- (d) -- cycle ;\foreach \x in {a,b,...,h}\node[inner sep=2pt,draw=black,fill=lightgray,shape=circle]at (\x) {} ;\end{tikzpicture}\end{center}\end{frame}