 Welcome back to the session on latex. Till now, we have seen the different latex commands and we explored a new and efficient way of creating documents using it. Well, when it comes to conveying ideas in front of public, we generally use presentation. Beamer is a document class which helps us do it. So, in this session, we will learn to create presentations using beamer. To get started, we write beamer as a document class, then we begin and end the document environment as usual. Now, each slide in a presentation is known as a frame. So, inside the document environment, we write multiple frame environments. The syntax is slash begin frame and slash end frame. The arguments T, C and B in box brackets denote the alignment of the text on the slide. Without that, this is optional. This is then followed by the frame title in curly braces. Well, this too is not necessary. One can have a slide without a title. That is it. The rest are just the latex commands that we know. Let us see a demo. I am switching to text studio. So, I already have beamer as a document class and some latex commands like title, author and date. Finally, the begin and end document. Now, let us write slash begin frame and the content. We create another frame slash begin frame. We say welcome everyone and we have the title as welcome. Let us build and run. There you go. We have two slides. The first one without the title and the second one with the title welcome. Would it not be nice if we could have a slide with the title of the presentation, the author's name and a date? Can you think of some command which can do this? Yes, you guessed it correct. Our very own make title command. So, let us write slash make title in the first frame slash make title. Let us build and run. As you can see, we now have the title page created for us. If you remember, we mentioned about specifying the alignment in box brackets. Let us write t for the second frame. Build and run. Notice that the content aligned to the top of the slide. By default, it was vertically centered. Let us write b, build and run. Notice that the content has moved to the bottom of the slide. Well, at least for me, I prefer to have the content vertically centered. It looks good. So, let us remove it. This might be needed in certain cases and hence it is better to be aware of. Let us build and run to revert back. Let us switch back to our slides. The slides that we just prepared looked very plain, is it not? So, we have the facility to choose a theme that we like. There are two commands that we use. Slash use theme and slash use color theme. The hard work link mentioned here lists various themes and color themes which we can use. Let us have a look at the link. You can scroll vertically as well as horizontally to know the different themes and color themes. The themes are mentioned vertically while the color themes are mentioned horizontally. For example, I can choose an arbor theme with the default color theme or I could choose an arbor with beaver color theme etcetera. Let us try these out. I am switching to tech studio. We come here and we write slash use theme A N N A R B O R and slash use color theme and we write crane. Build and run as you can see the slides are styled. The footer contains the name of the author, the title of the presentation and the date and the slide number. Isn't this colorful and easy? Let us try out a few more. Let us try out Dresden, D R E S D E N and the color theme as beaver B A V E R. Build and run as you can see the theme and the color theme have changed. Let us try out one more B E R K E L E Y the Berkeley theme and let us use the color theme as default. Build and run, notice this looks a bit different than the others. Let us switch back to our slides. Whenever we create documents, we create table of contents. Similarly, in Beamer we use the same command to convey the readers what points are we going to cover. This is usually written in a slide called outline. So let us see a demo. Let us add a frame called outline. We write this just after the make title command. So we write slash begin frame outline which is the title of our frame and we write slash table of contents. Then curly brace is a not box brackets. Let us build and run. Well, there is no content here. Any guess? Yes, the reason is that we have not mentioned section, subsection, etcetera. We write them just before the begin frame command. Let us write a section called welcome slash section welcome. Build and run, there you go. We have the outline as welcome. Let us create two more slides. As stated earlier, all the latex commands remain the same whether we want to include an image, create a table, itemize the points, etcetera. I already have some code. Let us copy paste it. Let us paste them after the welcome slide. This is the code that includes an image. This is the code that creates a table. Well, let us include the package graphic x slash use package graphic x. Let us add a section called slash section bird and another section called definitions. Let us build and run. So, this is a slide containing an image and this is a slide containing the definitions. Let us see the outline. So, we have welcome, bird and definitions. Also notice the section titles have appeared in the left pane as well and depending on which slide we are on, the appropriate section gets highlighted. Note that these are clickable and you can navigate to the intended slide by clicking on the section title. I would suggest that you open the pdf file and view it in presentation mode. Browse through the slides to get a feel of it. So, coming to an end of this session, you can create presentation using Beamer. Thank you. Have a nice day.