Skip to content

Instantly share code, notes, and snippets.

@snim2
Created September 24, 2009 13: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 snim2/192734 to your computer and use it in GitHub Desktop.
Save snim2/192734 to your computer and use it in GitHub Desktop.
Placement and scaling of figures with LaTeX and the graphicx package
%%% Figure placement and scaling with LaTeX and graphicx.
%%%
%%% Sarah Mount.
%%%
%%% Replace all UPPERCASE text with your own.
%%% To change scaling, replace the "0.6\columnwidth" with your preferred size.
%%%
%%% "Hhtbp" is the preference of the author for figure placement:
%%% Place _H_ere > Place _h_ere if possible > place at _t_op of page >
%%% place at _b_ottom of page > place on a _p_age of figures.
%%%
\begin{figure}[Hhtbp]
\begin{center}
{\centering \resizebox*{0.6\columnwidth}{!}{\includegraphics{FILENAME}} \par}
\caption{\label{LABELNAME} CAPTIONTEXT}
\end{center}
\end{figure}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment