Hello I have been making a drawing with Tikz and would like to set the position of this Tikz image on the beginning of the page but it seems the tikzpicture is stuck some 3 cm from the top of the page and about 4 cm to the right and the xshift and yshift commands are not working, although the rotate, xscale and yscale commands are working, also the curve i wish to shift is constructed with the "hobby" Tikz library.
Here is my code :
\documentclass{article}
\usepackage{tikz}
\usetikzlibrary{hobby}
\begin{document}
\begin{tikzpicture}[scale =0.5,yscale=-1.1, xscale=1.2]
\draw [rotate=-12] (1.93,2.85) to [curve through ={(4.09,2.77)..
(3.16,0.15)..(0.45,1.68)..(2.37,6.57)..(8.41,7.82)..(12.30,8.08)}]
(13.36,8.6) .. controls (14.45,8) and (15.50,7.8) .. (19.08,7.96) to
[curve through ={(23.36,8.97)..(25.39,10.67)}] (25.22,12.77)
.. controls (24.22,9.9) and (21.65,10.45)..(21.09,12.27) to [curve
through ={(23.46,15.72)..(27.28,12.86)..(25.40,8.13)..(21.72,6.40)..
(16.44,5.93)..(15.3,5.79)}] (14.49,5.31) .. controls (14.18,5.5) and
(14,5.67)..(13.3,5.82) to [curve through ={(12.4,5.92)..(8.55,5.89)..
(5.9,5.75)..(2.01,4.06)}] (1.93,2.85) ;
\end{tikzpicture}
\end{document}
\usepackage[showframe]{geometry}
to your code to see that the gaps are not as big as you may think. It is true, though, that the bounding box for these curves is not absolutely tight.