I would like to create the following image in Latex. I have never used the graphical facilities before so I have no idea how I would go about doing this. The image is supposed to represent a crystal type structure with N layers and the dashes in the middle just mean there are arbitrary many layers in the middle. That's also why I have the three dots between L2 and LN on the right hand side.
So how can I create an image?
Edit As suggested in the comments, here what I attempted before I posted here:
\documentclass[11pt]{article}
\usepackage{tikz}
\usetikzlibrary{3d,calc}
\newcommand{\DrawNode}[2][]{%
\draw [#1]
([shift={(-\pgflinewidth,-0.5\pgflinewidth)}]#2.north east) --
([shift={(0.5\pgflinewidth,-0.5\pgflinewidth)}]#2.north west) --
([shift={(0.5\pgflinewidth,+0.5\pgflinewidth)}]#2.south west) --
([shift={(-\pgflinewidth,+0.5\pgflinewidth)}]#2.south east)
;
}%
\begin{document}
\begin{tikzpicture}[thick]
\node [draw=none, inner sep=0pt, minimum size=2cm] (1) at (0, 0) { };
\DrawNode[dotted]{1}
\node [draw=none, inner sep=0pt, minimum size=2cm] (1) at (4, 0) { };
\DrawNode[dotted]{1}
\node [style={draw, draw opacity=0.5, inner sep=0pt, minimum size=2cm}] (2) at (2,0) { };
\end{tikzpicture}
\end{document}

