 Welcome back to the session on latex. In this session, we will learn to use the figure environment for positioning the figure and specifying caption. We shall then look at how one can include multiple images under one figure. In this topic, recall the table environment which was used for positioning the table, specifying captions, etcetera. The figure environment does the same, we begin with the begin figure environment followed by the position which is either H, B, T that is here, bottom or top. The include graphics command and the caption is written between the figure environment. The command list of figures generates list of figures and the page numbers. Let us see a demo, I am switching to text studio. I already have latex code written that includes the original parrot image and the remaining two rotated by 90 degrees and 180 degrees. Now, let us include the figure environment for all three images. So, we come here and we write slash begin figure, we place it, we position it H and we write centering. So, that the figure appears in the center, we write our caption, we write original image and we place the include graphics command in between the centering and the caption command. Let us build and run, there you go. The first image is captioned original image, let us do the same for the other two. Let us copy begin figure, let us come here and paste, let us indent it and we come here and we end the figure environment. Everything seems okay except the caption, so we write caption and we say rotated by 90 degrees. We do the same for the third image, we paste the begin figure, we write the caption slash caption, say rotated by 180 degrees and we end the figure environment and figure. Let us build and run, so using the figure environment, each of the image has caption and a number, the second figure has number 2 rotated by 90 degrees and the third figure is rotated by 180 degrees. Now let us generate list of figures, so we go to the top and we write slash list of figures and let us add a page break, build and run, build and run again. So we now have the list of figures, all three figures are mentioned along with their respective page numbers. So using this command, one can know the number of images present in the document, what are they about and where are they located. Let us switch back to our slides, usually in thesis, project reports etcetera one can have complicated figures containing multiple images. For example, instead of including three images as three separate figures to show the parrot example, we could have these under one single figure itself. To accomplish this, one must include caption and sub caption packages, we write the figure environment which is followed by the sub figure environment. The width of the sub figure needs to be mentioned, each sub figure has its own caption. Let us see a demo, let us include the packages slash use package caption and slash use package sub caption, let us come here and add a page break. Now let us first create the figure environment, so we write slash begin figure, centering and we write caption slash caption image of a parrot. Now we come here and we will add two sub figures, the syntax is slash begin sub figure and we specify the width, what should be the width? Let me add 0.45 of text width, well is this confusing, here the text width command denotes the width of the text on the page and 0.45 denotes that the sub figure would occupy a space which is little less than half of the text width, seems ok now, let us proceed ahead, we come here, we delete the content and we write slash centering to centre the sub figure, we write our graphics command that is include graphics and we say width is equal to slash text width and the image file which is located under the images directory and has a name parrot dot p n g and we add a caption called original image, so this is our first sub figure called original image. Now let us add another sub figure which will be rotated by 90 degrees, so we will copy this, we paste it just after the first sub figure, that is here let us indent it for better readability ok, so we have our first sub figure and we have our second sub figure, let us add angle equal to 90 and we say rotated by 90 degrees, let us build and run, notice that we have two images under one figure, where both the sub figure and the main figure have captions, now let us add some space between the two images, so that they are equally spaced out. So, after the first sub figure, we come here and we write slash h fill, let us build and run, now what if you want to include a third image under this figure as well, so let us do it. Let us copy paste the sub figure and let us paste it here, let us indent it for better readability, so now we have the third figure, let us build and run that is good, the third image is also included here, but it is not aligned with the other two, did any one of you realize whether change would be needed, yes absolutely the change would be needed in mentioning the width of the sub figure, so for each sub figure we need to change to 0.3 of text width, so instead of 0.5 we come here and we write slash 0.3 text width 0.3 and for the third sub figure as well 0.3, let us build and run there you go, this is how we include sub figures, let us switch back to our slides, so in this session we explored the figure and sub figure environment, thank you have a nice day.