I want to draw a rectangle with a solid dot in each corner. How can I do this?
Tell me more
×
TeX - LaTeX Stack Exchange is a question and answer site for
users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.
|
This is to give a variant from Marco's answer, concerning the Tikz part of his answer. It looks more like the pstricks answer and does not require that you enter the coordinates twice. The code is
The result is
|
|||
|
|
|
To draw inside LaTeX you can use the package PSTricks:Compile the following example with xelatex or latex-ps-pdf
You get the result:
TikZCompile with pdflatex:
You get:
|
|||
|
|
|
|||
|
|




add commentfunction. – Marco Daniel Apr 9 '12 at 12:00tikzorpstricks? – Marco Daniel Apr 9 '12 at 12:06