views:

224

answers:

2

How can I insert a figure (i.e. graphic) that extends 100% of the viewport but with a given height?

+3  A: 

You can use the usual [width=X,height=Y] parameters, but instead of giving a literal X use \columnwidth...

If you want the figure to span multiple columns, use \begin{figure*} instead of \begin{Figure}

Uri
thanks for the fast reply!
gletscher
+1  A: 

You can use:

\includegraphics[width=\textwidth,height=5in]{imagefile}

but construction

\begin{minipage}{8cm} \includegraphics[width=\textwidth]{imagefile} \end{minipage}

will produce image with width of 8cm.

Crowley