Created
March 19, 2014 05:19
-
-
Save dpgettings/9635856 to your computer and use it in GitHub Desktop.
Fancy placeholder figures in LaTeX
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
%% This part goes in preamble | |
\newcommand{\dummyfig}[1]{ | |
\centering | |
\fbox{ | |
\begin{minipage}[c][0.33\textheight][c]{0.5\textwidth} | |
\centering{#1} | |
\end{minipage} | |
} | |
} | |
%% This part makes a figure | |
\begin{figure*}[h] | |
\dummyfig{Dummy Figure Label} | |
\caption{Dummy figure caption} | |
\label{fig:dummy} | |
\end{figure*} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thanks, very helpful!