New answers tagged

7

As the fit library has been mentioned a few times, here's a suggestion using that. It requires nodes, so all the black dots are created using \node. Note that by changing the node distance you can modify how stretched out the figure should be, in the y and x direction. The cross is drawn using a different technique, and relative to the nodes around it, so ...


3

You can add NoLabel to the vertices that shouldn't have a label. For those you can also remove Math,LPos=.., as those don't have any effect when there are no labels. \documentclass{article} \usepackage{tkz-graph} \begin{document} \begin{tikzpicture}[scale=2] \GraphInit[vstyle=Classic] \SetUpVertex[FillColor=black, MinSize=8pt] ...


6

Here is one attempt using tikz: The code: \documentclass[border=5mm,tikz]{standalone} \usepackage{mwe} \usepackage{tikz} \begin{document} \begin{tikzpicture} \draw(0,0)--(2,0)--(0,1)--(2,1)--(0,0); \draw(0,3)--(2,3); \draw[very thin, double distance=2pt](0.6,2.2)--(1.4,1.6); \draw[very thin, double ...



Top 50 recent answers are included