How to Insert a Picture jpeg or png into a LaTex document

Published: 14 March 2020
on channel: sumchief
1,771
7

useful video on LaTex use ,

This video gives a nice introduction on how to insert a graphic or a picture in .jpg or jpeg ( Joint Photographic Experts Group ) or .png ( Portable Networks Graphic ) into a LaTex document for a pdf output
The Texworks of the video is shown below
You can scan a document and save it as a file stated above and place that into the LaTex files location.
You could also take a picture and upload that into the correct file location.
The picture files should be in the same location as the actual documents you save.

   • Greek Alphabet In Latex TexWorks Lett...  

\documentclass[a4,paper,10pt]{article}
\usepackage{fancyhdr}
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage{graphicx}
\usepackage{scalerel}
\usepackage{lastpage}
\pagestyle{fancy}
\fancyhf{}
\lhead{Insert a png}
\chead{Sum Chief}
\rhead{YouTube Demo}
\rfoot{Page \thepage\ of \pageref{LastPage}}
\title{}
\setcounter{page}{1}
\begin{document}
Place pictures where your .tex file is located and LaTex will find it by file name and type. ie. jpg png etc.\\
\includegraphics[scale=0.15]{sumchiefpicture.jpg}\\
\includegraphics[width=0.75\textwidth]{sumchiefpicture.jpg}\\
\clearpage
\includegraphics[width=8.5cm,height=4cm,angle=330]{sumchiefpicture.jpg}\\
\includegraphics[width=4.5cm,height=9cm,angle=20]{sumchiefpicture.jpg}
\end{document}


Watch video How to Insert a Picture jpeg or png into a LaTex document online without registration, duration hours minute second in high quality. This video was added by user sumchief 14 March 2020, don't forget to share it with your friends and acquaintances, it has been viewed on our site 1,771 once and liked it 7 people.