How can I insert a figure (i.e. graphic) that extends 100% of the viewport but with a given height?
Asked
Active
Viewed 2.4k times
7
-
i would suggest that this is a question for http://tex.stackexchange.com – Gerwald Nov 27 '14 at 13:04
2 Answers
11
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
- 2,279
- 6
- 22
- 36
10
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
- 88,451
- 51
- 221
- 321