I am pretty new to Tikz. I am wondering how one would go about separating their text from a diagram. For example, if I were to write a short geometric proof, and I have a diagram and an explanation, how do I seperate the two? How can I neatly format my diagram below my text? Is there any specific command? (I am using LaTeX by the way).
This is what I have thus far:
\documentclass{article}
\usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage{geometry}
\geometry{a4paper}
\usepackage[frenchb]{babel}
\usepackage{mathptmx}
\usepackage{tikz}
\title{Homework problem set 3} \author{Marcus} \date{}
\begin{document} \maketitle
\paragraph*{1}
\large
With this figure, we can see that it is represented in the 2 dimensional euclidean plane; therefore, the group of proper rotations, $G \cong C_2$. Furthermore, based on the symmetries of this figure, we can see that the set of all proper are the only rotations; hence, the group is $C_2$\\
\begin{tikzpicture}
\draw (0,0) -- (1,0) -- (1,1) -- (2,1);
\end{tikzpicture}
\end{document}

Some text here. \begin{figure} your figure code here\caption{Foo}\end{figure}? – Sigur Jul 22 '19 at 22:47