- Open the Latex editor.
- type this following Latex code in the Latex editor:
%!TEX TS-program = pdflatex
%Typeset/Build program
\documentclass{beamer}
\usepackage{graphics}
\usepackage{graphicx}
\usepackage{grffile}
\graphicspath{{assets/image/}}
\usepackage[export]{adjustbox}
\title{Add Images In Latex Beamer}
\author{Private Course and Tutor Course}
\date{}
\beamertemplatenavigationsymbolsempty
\setbeamertemplate{navigation symbols}{}
\begin{document}
\maketitle
\begin{frame}
\centering
\begin{center}
\begin{figure}[h]
\centerline{
\includegraphics[scale=0.25,center]{images.jpeg}
}
\end{figure}
\end{center}
\end{frame}
\begin{frame}
\begin{figure}[h]
\includegraphics[height=\textheight,width=\textwidth,keepaspectratio]{images.jpeg}
\caption{\textit{images.jpeg}}
\end{figure}
\end{frame}
\begin{frame}
\begin{figure}[h]
\includegraphics[height=\textheight,width=\textwidth,keepaspectratio]{images.jpeg}
\end{figure}
\end{frame}
\end{document} - Save file as addPictureBeamer.pdf.
- run the Typeset command or similar other command with pdfLatex.
- to see the output is similar like the below picture:Add Images In Latex Beamer
Private Course and Tutor Course
Figure: images.jpeg |
Notes: some graphics format is unsupported by Latex. Then convert to supported graphics format, like: jpg or png to Latex document.
Bibliography
https://ctan.org/
https://latex-beamer.com/
http://web.mit.edu/ ( university )
https://www.overleaf.com/
https://www.tug.org/
https://www.utep.edu/ ( university )
https://www.youtube.com/c/drtreforbazett ( Dr. Trefor Bazett )
https://www.youtube.com/channel/UCGThW6VTPuEBUNctWmitWng ( letslearncalculus5385 )
Tidak ada komentar:
Posting Komentar