Skip to content

Instantly share code, notes, and snippets.

@jrnold
Created April 13, 2012 03:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jrnold/2373386 to your computer and use it in GitHub Desktop.
Save jrnold/2373386 to your computer and use it in GitHub Desktop.
tikz line example
\documentclass{article}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}
\draw[black] (-3,0) -- (4,0);
\draw (-1.5, -0.1) -- (-1.5, 0.1) node[above] {FOOO};
\foreach \x in {-2,-1,0,1,2,3}
\draw (\x,0) -- (\x,-0.1) node[below] {$\x$};
\end{tikzpicture}
\end{document}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment