Hello,

I'm making a report on 3-mode Tensors and I want to make a figure to visualize what a tensor "looks like"--a box. I was hoping to make something that is dynamic, so I could resize the box sizes or relabel them with ease and also position matrices or other tensors ontop of others, while also being somewhat simplistic. I've tried looking for packages to help with this, but all I could find are packages for tensor notation.

I was also looking for a way to show/visualize the different ways to slice a tensor and what a fiber would look like.

If anybody could provide me with any help or information in making these figures in LaTeX, it would be much appreciated.