# [Tex/LaTex] Drawing a Labeled Cube Using TikZ

tikz-pgf

How can I label the faces, vertices and edges of a cube with numbers or letters using TikZ? For instance I want to numerate the faces of a cube from 1 to 6.

Something like this?

\documentclass[border=5mm,tikz]{standalone}
\usepackage{mwe}
\usepackage{tikz}
\begin{document}

\begin{tikzpicture}
\draw[thick](2,2,0)--(0,2,0)--(0,2,2)--(2,2,2)--(2,2,0)--(2,0,0)--(2,0,2)--(0,0,2)--(0,2,2);
\draw[thick](2,2,2)--(2,0,2);
\draw[gray](2,0,0)--(0,0,0)--(0,2,0);
\draw[gray](0,0,0)--(0,0,2);
\draw(1,1,2) node{1};
\draw(1,2,1) node{2};
\draw(2,1,1) node{3};
\draw[gray!20](1,0,1) node{4};
\draw[gray!20](0,1,1) node{5};
\draw[gray!20](1,1,0) node{6};
\end{tikzpicture}

\end{document}