TransWikia.com

Filldraw square in tikz

TeX - LaTeX Asked by Firdous Ahmad Mala on August 10, 2021

I am trying to filldraw a square with sides 7sqrt(7). I am not getting the desired output.

begin{tikzpicture}
filldraw(0,0) rectangle (7*sqrt{7},7*sqrt{7}); 
end{tikzpicture}

One Answer

documentclass[tikz, border=1cm]{standalone}
begin{document}
begin{tikzpicture}
  filldraw(0,0) rectangle ({7*sqrt(7)},{7*sqrt(7)});
end{tikzpicture}
end{document}

square

Correct answer by hpekristiansen on August 10, 2021

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP