Answers for "how to position a image in a page latex"

9

include image latex

\documentclass{article}

\usepackage{graphicx}

\begin{document}

\begin{figure}
  \includegraphics[width=\linewidth]{boat.jpg}
  \caption{A boat.}
  \label{fig:boat1}
\end{figure}

Figure \ref{fig:boat1} shows a boat.

\end{document}
Posted by: Guest on February-20-2020
0

fit image to page latex

\includegraphics[width=\textwidth,height=\textheight,keepaspectratio]{myfig.png}
Posted by: Guest on May-25-2021

Code answers related to "how to position a image in a page latex"

Browse Popular Code Answers by Language