I am using the TikZ package to create braids for my 4th year project.
But everytime I hit the button to run the code, my braid jumps to the top of the page rather than sitting where I want it.
Can anyone help?
I am using the following packages,
\usepackage{amsmath, amsfonts, amsthm, amssymb}
\usepackage{graphicx}
\usepackage{tikz}
\usepackage{braids}
\begin{document}
\begin{figure}
\centering
\begin{tikzpicture}
\braid[rotate=90, line width=.4mm] a_1 a_2 a_2 a_1 a_2^-1;
\end{tikzpicture}
Figure~1 shows an example of a $3$-braid.
\end{figure}
\end{document}
{}) or hit Ctrl+K. – Claudio Fiandrino Nov 25 '13 at 12:52I hit the play button? Can you please elaborate? – Nov 25 '13 at 12:56\begin{figure}[htp]will first try placing the figure at the spot. See http://tex.stackexchange.com/q/39017 and http://tex.stackexchange.com/q/2275 – egreg Nov 25 '13 at 13:32\caption{an example of a $3$-braid}(or if you decide yo make it not a float. just remove thefigureenvironment and use\captionof{figure}{an example of a $3$-braid}(capt-ofpackage) – David Carlisle Nov 25 '13 at 13:43I managed to sort it using [htp] Thanks guys, I've not long started using Latex
– Christopher Geddes Nov 25 '13 at 13:44