0

I could not equalize the matrices with the line and square properly. Also, is it possible to write its 3-dimensional version, that is, a 3-dimensional matrix equalized with a cube?

\begin{equation}
(\square,\square,\square,\cdots,\square)=\noindent\rule{2cm}{0.3pt}
\end{equation}
\begin{equation}
\begin{pmatrix}
\square & \square & \dots & \square \\
\square & \square & \dots & \square \\
\hdotsfor{4} \\
\square & \square & \dots & \square
\end{pmatrix}
=
\begin{tikzpicture}
\draw[thick] (0,0) -- (0,1) -- (2,1) -- (2,0);
\draw[thick] (0,0) -- (0,-1) -- (2,-1) -- (2,0);
\end{tikzpicture}
\end{equation}
Amir
  • 401
  • 2
  • 8

1 Answers1

0

I guessed the packages you're using and probably this is a viable soultion for you. Just place the square inside a matrix and use the raise argument of the \rule command

\documentclass{article}
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage{tikz}

\begin{document}
\begin{equation}
(\square,\square,\square,\cdots,\square)=\noindent\rule[0.5ex]{3em}{0.55pt}
\end{equation}
\begin{equation}
\begin{pmatrix}
\square & \square & \dots & \square \\
\square & \square & \dots & \square \\
\hdotsfor{4} \\
\square & \square & \dots & \square
\end{pmatrix}
=
\begin{matrix}
\begin{tikzpicture}
\draw[thick] (0,0) -- (0,1) -- (2,1) -- (2,0);
\draw[thick] (0,0) -- (0,-1) -- (2,-1) -- (2,0);
\end{tikzpicture}
\end{matrix}
\end{equation}
\end{document}

solution