 Alright, so in this video I'm going to show you how to make a slideshow presentation in LaTeX. A lot of people have been asking for this, LaTeX has this very nice package, a really document class called Beamer. And Beamer is very sweet. You can use the extensionality and syntax of LaTeX to make presentations. It's super easy. Let's go ahead and get into the basics. So here's a totally basic LaTeX article, just has a title, you know, your document tag, stuff like that. In order to make a Beamer presentation, all you have to do is declare your document class to be Beamer. And then we'll watch, oops, flip that around. You will have your first slide if you have a make title command. So the general logic of Beamer is that Beamer is divided into what they call frames, which is usually what people think of as being called slides, but you know, it doesn't matter, it's all semantics. So to add different slides or frames, you are going to use the begin and in frame commands. So there's a frame environment. And of course, when you put in a begin and end frame command, you will have a new frame in your document, a new page, and that is your new slide. Of course, there's nothing in here. Let's say we want a frame title, which normal people will want. We just say frame title, we'll name it roadmap, because it's a roadmap of what we're going to talk about. And of course, the normal body syntax of Beamer is exactly the same as LaTeX, so you can use any command you want. Let's say I'll have an unordered list, let's say, so what are the things we're going to talk about? We're going to talk about frames, we're going to talk about Beamer themes, we're going to talk about pauses and slides, we're going to talk about, I spelt pauses wrong. What else are we going to do? So probably sections. And of course, people like putting images in their documents. And you've got to have some columns sometime. So that's the stuff that we're going to talk about here. And of course, you'll see that this works just like any normal LaTeX document. We have our itemize command or whatever for an unordered list. But anyway, let's add another frame just to be super clear on it. So you just have your begin and end frame commands. So Baba will just call this da, da, da. And put some random text in there, it doesn't really matter what it is. But that's the basic logic of how to add different frames. Now you might be looking at this preview here and you're thinking, ah, this is sort of ugly, look at sort of basic bland colors. Well the nice thing about LaTeX is, as you see in this second bullet point, is that Beamer has themes that you can use. You can just call them and they're very easy to use and actually modify if you want to. In order to call a theme, you just say use theme. And then I'm going to give you a link to all the different themes that come by default in Beamer. And here's a brief gallery of them. Let's use the Frankfurt theme here. So we'll say use theme Frankfurt. And that will give us this basic, it looks pretty enough. So this is what we're going to use here. So anyway, now we have a theme, now it looks a little better. What else can you do with just the basics of Beamer? So you might want to notice that all of these bullet points come in at one time. So when I'm on this slide and I press to go to the next, all of them pop up. You might want them to appear gradually and that's super easy to do. All you have to do is add the pause command. So if I put pause after frames here, that means that once LaTeX gets to frames, it's going to pause and it's not going to make any more. Now if I press down again, everything else will appear. Now if I want them all to be gradually, I can just put pause between each and every one of them. Besides the last one, you don't need it there because you don't want to pause at the very end of the document because one's already there. But you can see they now all appear gradually. So very nice, very convenient. So that's now some terminology I should say. Now in LaTeX documentation, the different frames that we have, the things that you traditionally think of as being slides, those are called frames. Now notice that when we're moving up and down here, technically these are different pages in the PDF we're compiling. These are the things that LaTeX refers to as slides. So just be careful. I might use the terms a little fuzzily, but just know that terminological differences. Our document so far has three frames, but it has a lot of slides because I put in all of these pauses. So just be aware of that. Now in addition, there are actually other ways to divide your document. Now when you're doing some kind of presentation, you generally divide it into like an introduction or like an argument or data or something like that. And if we want, we can actually add section headings. Now the section headings aren't going to appear in the actual document, but they'll appear as sort of peripherals depending on the different themes you have. Let me show you how that's going to look. So let's see, before our first slide here, I'm going to add a section and we're going to call it introduction. And you will see that introduction actually appears up here. Now let's say before our other slide, we'll add another section saying data, something like that. So data is going to appear up here. And of course you can add more sections and more frames. So let's say we add a section and just name it whatever, put a frame in it. So technically there's something in there. And of course it will appear. And you'll notice that these words up here are actually clickable. So if you click on each one of them, it actually goes straight to whatever slide that we're looking for. And if you have a very keen eye, you'll also see down here that there are other things that you can click on to move to different slides in the document or move to different sections. These are very convenient if you want to move around nice and quick. Now each one of them does something different. I never use them, but they're there and you might want to play around with them, get used to them. And they can help you navigate your document sort of on the go. But anyway, that's the basic logic of sections and frames and different stuff. Now one thing that a lot of people have some trouble with sometimes, because it can be a little confusing in LaTeX, is implementing images in your document, which can be something a little confusing. But of course, generally they work the same way as any other LaTeX document. Let me go down to where I am right now. So let's say images in Beamer. I'll just put some text there. Let's scroll down here. So images in Beamer, how do we do them? Now, just like any other LaTeX packages or formats, you can call images with the GraphicX command. So GraphicX, so make sure to put use package GraphicX in there. And once you do that, you can use the includeGraphics command to add some kind of graphics into your slides. So I'm going to do that. I have a photo in my home directory named pic.jpg. It's actually a picture of me. And bam, it appears. And of course, in typical LaTeX style, it appears in its native size. So of course, we're going to want to change it. And we can change it to, we'll change the height to text height. Now, if you want more info, of course, you can check out my video on images in LaTeX. The same logic applies to Beamer slides, of course. Now, actually, I want this a little smaller, we'll say 0.85 of text height. OK, that's a little better. So images in Beamer, they're nice and simple. They work exactly how you'd expect to be working. You can put centering tags around them, stuff like that. All of that works fine. But let's say you want to have an image over here and text on the other side. That's something that people often do. So it's nice to know how to do it. And how you do that is with columns. So let me actually make a new frame for this, so columns. And I'll do it one time without the image and one time with it, just to be super sure. So if you want to have columns in your document, it's very easy. You just say begin columns, end columns. Now, nothing's going to happen so far. So the general idea is in this environment, you can add, you can call the column command. And then you feed it how, what width you want. So we want, let's say we want two columns here. So we want one column to be half of the slide width and the other one to be the other half. So we'll say 0.5 of text width. And then we'll put some text in here. Just fill it up with a bunch of text. So you'll notice that we have one column and it's automatically centered. But you'll notice that it is only half of the width. So if we want another column, we can just say column 0.5 text width. Now we have yet another one and it goes on the other side of the document. So that works out nice and fine. So this is usually how you can easily do, easily divide your slides or your frames into different columns. And of course, if I want to take this picture and move it down here, just throw it in there and bam, there we go. So that's, oops, why do I still have the, yeah, okay, there we go. Right, so that's about it. That's all the basics to doing a Beamer presentation. I might do a little more later, but just as a reminder, right? So we have different frames. We just have the begin and end frame command. We can have, we have all the basic syntax of LaTeX and you can use pauses to divide your frames into little slides. And of course, you have different sections that you can click on, depending on your theme, and they work differently. And you can play around with that. And of course, the logic of images and other stuff is the same. And you can divide your frames into different columns with the column command. So anyway, I'm going to put a link to these themes in the video description. Hope you enjoyed it. Hope this is a good intro. But anyway, see you guys next time.