How can I insert a figure (i.e. graphic) that extends 100% of the viewport but with a given height?
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With