Skip to content

Instantly share code, notes, and snippets.

@rschuetzler
Created June 6, 2014 19:19
Show Gist options
  • Save rschuetzler/3e6030ad739fe2718ea3 to your computer and use it in GitHub Desktop.
Save rschuetzler/3e6030ad739fe2718ea3 to your computer and use it in GitHub Desktop.
LaTeX document demonstrating use of figures in a float
\documentclass{article}
\usepackage{graphicx}
% \usepackage{biblatex}
\graphicspath { {figs/} }
\begin{document}
This is me referencing Figure~\ref{fig:smile}.
\begin{figure}[ht]
\centering
\includegraphics[width=0.5\textwidth]{smiley.png}
\caption{This is our awesome smiley face}
\label{fig:smile}
\end{figure}
\end{document}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment