[Tex/LaTex] Drawing a Labeled Cube Using TikZ


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.

Best Answer

Something like this?


  \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};


enter image description here