Skip to content

Instantly share code, notes, and snippets.

@dlebauer
Created November 2, 2011 19:58
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dlebauer/1334708 to your computer and use it in GitHub Desktop.
Save dlebauer/1334708 to your computer and use it in GitHub Desktop.
A demonstration file for use with testing / debugging latex documents. Uses lipsum for demo text and [demo] option to the graphicx package
\documentclass{article}
\usepackage{caption}% http://ctan.org/pkg/caption
\usepackage{lipsum}% http://ctan.org/pkg/lipsum
\usepackage[demo]{graphicx}% http://ctan.org/pkg/graphicx
\begin{document}
\tableofcontents
\section{First section}
\lipsum[1]
\begin{figure}[p]
\centering \includegraphics{image1}
\caption[Unused first legend]{This is a first legend}
\end{figure}
\lipsum[2]
\begin{figure}[p]
\centering \includegraphics{image2}
\caption[Unused second legend]{This is a second legend}
\end{figure}
\lipsum[3]
\end{document}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment