Difference between revisions of "LaTeX/C2/Beamer/English-timed"
From Script | Spoken-Tutorial
Sandhya.np14 (Talk | contribs) |
Sandhya.np14 (Talk | contribs) |
||
(11 intermediate revisions by 2 users not shown) | |||
Line 2: | Line 2: | ||
|'''Time''' | |'''Time''' | ||
|'''Narration''' | |'''Narration''' | ||
+ | |||
|- | |- | ||
− | | 00:00 | + | |00:00 |
− | | Welcome to this '''spoken tutorial''' on presentation using Latex and Beamer. | + | |Welcome to this '''spoken tutorial''' on presentation using Latex and Beamer. |
+ | |||
|- | |- | ||
− | | 00:08 | + | |00:08 |
|Let me first explain the arrangement that I have on the screen. | |Let me first explain the arrangement that I have on the screen. | ||
+ | |||
|- | |- | ||
− | | 00:14 | + | |00:14 |
|I have the '''source''' file here, I will do the compilation here using '''pdflatex''' command | |I have the '''source''' file here, I will do the compilation here using '''pdflatex''' command | ||
+ | |||
|- | |- | ||
− | | 00:21 | + | |00:21 |
|and the resulting output will be seen here in this corner. | |and the resulting output will be seen here in this corner. | ||
+ | |||
|- | |- | ||
− | | 00:28 | + | |00:28 |
|First let's see this, we will come back to this shortly. | |First let's see this, we will come back to this shortly. | ||
+ | |||
|- | |- | ||
− | | 00:33 | + | |00:33 |
− | | Let's do this first. The first slide here, comes from this source – '''begin frame, end frame, title page'''. | + | |Let's do this first. The first slide here, comes from this source – '''begin frame, end frame, title page'''. |
+ | |||
|- | |- | ||
− | | 00:45 | + | |00:45 |
− | | And the title page is defined in terms of '''title, author and date'''. | + | |And the title page is defined in terms of '''title, author and date'''. |
+ | |||
|- | |- | ||
− | | 00:55 | + | |00:55 |
|The '''document class''' that I am using is "beamer". We have begun the document here. | |The '''document class''' that I am using is "beamer". We have begun the document here. | ||
+ | |||
|- | |- | ||
− | | 01:01 | + | |01:01 |
|Alright, this is the first '''slide'''. Let's go to the second one. This is the '''outline'''. How is this created? | |Alright, this is the first '''slide'''. Let's go to the second one. This is the '''outline'''. How is this created? | ||
+ | |||
|- | |- | ||
− | | 01:13 | + | |01:13 |
− | | '''Begin frame, end frame''' define one slide. '''Frame title''' is "outline". It comes here. | + | |'''Begin frame, end frame''' define one slide. '''Frame title''' is "outline". It comes here. |
+ | |||
|- | |- | ||
− | | 01:20 | + | |01:20 |
|Then I use the normal itemized command. Let’s go to the third slide. | |Then I use the normal itemized command. Let’s go to the third slide. | ||
+ | |||
|- | |- | ||
− | | 01:28 | + | |01:28 |
|This slide talks about other spoken tutorials on Latex. There are many spoken tutorials on Latex already available. | |This slide talks about other spoken tutorials on Latex. There are many spoken tutorials on Latex already available. | ||
+ | |||
|- | |- | ||
− | | 01:36 | + | |01:36 |
|You are encouraged to see them in case you are not comfortable in using latex. | |You are encouraged to see them in case you are not comfortable in using latex. | ||
+ | |||
|- | |- | ||
− | | 01:43 | + | |01:43 |
|These explain how to use latex, this explains how to install and '''run''' latex on Windows. | |These explain how to use latex, this explains how to install and '''run''' latex on Windows. | ||
+ | |||
|- | |- | ||
− | | 01:50 | + | |01:50 |
− | | And we hope to give more permanent links for all of these from '''fosse dot in'''. | + | |And we hope to give more permanent links for all of these from '''fosse dot in'''. |
+ | |||
|- | |- | ||
− | | 01:58 | + | |01:58 |
|So, this is the source for this slide. | |So, this is the source for this slide. | ||
+ | |||
|- | |- | ||
− | | 02:10 | + | |02:10 |
− | | You can see that we have come to the end of this document. | + | |You can see that we have come to the end of this document. |
+ | |||
|- | |- | ||
− | | 02:15 | + | |02:15 |
|Now I’m going to show you how to embellish this document with lots of other features that beamer offers. | |Now I’m going to show you how to embellish this document with lots of other features that beamer offers. | ||
+ | |||
|- | |- | ||
− | | 02:22 | + | |02:22 |
|Let’s go to the beginning. Let’s go to the top of this file. Now what I am going to do is, whatever change, | |Let’s go to the beginning. Let’s go to the top of this file. Now what I am going to do is, whatever change, | ||
+ | |||
|- | |- | ||
− | | 02:31 | + | |02:31 |
− | | whatever improvement that I am going to make to this are here. I am going to add one at a time and then explain. | + | |whatever improvement that I am going to make to this are here. I am going to add one at a time and then explain. |
+ | |||
|- | |- | ||
− | | 02:39 | + | |02:39 |
|Let’s see what happens when I add this command - '''beamer theme split'''. | |Let’s see what happens when I add this command - '''beamer theme split'''. | ||
+ | |||
|- | |- | ||
− | | 02:47 | + | |02:47 |
|Let me cut it, come back here, let me save it and then compile it – '''pdflatex beamer'''. | |Let me cut it, come back here, let me save it and then compile it – '''pdflatex beamer'''. | ||
+ | |||
|- | |- | ||
− | | 03:02 | + | |03:02 |
|Let me go and click this. So you can see that it has created this banner here and some banner here. | |Let me go and click this. So you can see that it has created this banner here and some banner here. | ||
+ | |||
|- | |- | ||
− | | 03:12 | + | |03:12 |
|Here also.. alright. Then what we do is, you come here and use the package. | |Here also.. alright. Then what we do is, you come here and use the package. | ||
+ | |||
|- | |- | ||
− | | 03:23 | + | |03:23 |
|Let's add this – '''beamer theme shadow'''. Let me cut it, go here, paste it. All of these are pasted above the '''"document" command'''. | |Let's add this – '''beamer theme shadow'''. Let me cut it, go here, paste it. All of these are pasted above the '''"document" command'''. | ||
+ | |||
|- | |- | ||
− | | 03:38 | + | |03:38 |
|Let me compile this. Alright, let’s see what happens when I click this. It has become bigger. | |Let me compile this. Alright, let’s see what happens when I click this. It has become bigger. | ||
+ | |||
|- | |- | ||
− | | 03:49 | + | |03:49 |
− | | You can see that there is a change of color here. So, this is done by the command – '''beamer theme shadow'''. | + | |You can see that there is a change of color here. So, this is done by the command – '''beamer theme shadow'''. |
+ | |||
|- | |- | ||
− | | 04:00 | + | |04:00 |
|There are lots of these packages. I am going to illustrate some of the other features now. | |There are lots of these packages. I am going to illustrate some of the other features now. | ||
+ | |||
|- | |- | ||
− | | 04:06 | + | |04:06 |
− | | We will give references for future reading as a part of this introduction, as we see here – ‘References for further reading’. | + | |We will give references for future reading as a part of this introduction, as we see here – ‘References for further reading’. |
+ | |||
|- | |- | ||
− | | 04:17 | + | |04:17 |
− | | The outline of this talk is as follows. We will spend some time on '''title page, author name, color, logo''' etc. | + | |The outline of this talk is as follows. We will spend some time on '''title page, author name, color, logo''' etc. |
+ | |||
|- | |- | ||
− | | 04:25 | + | |04:25 |
|"Minimal animation" that you can use to present your talk, "Two column format, Figures and Tables, Equations, Verbatim" and so on. | |"Minimal animation" that you can use to present your talk, "Two column format, Figures and Tables, Equations, Verbatim" and so on. | ||
+ | |||
|- | |- | ||
− | | 04:36 | + | |04:36 |
|Alright, let’s come back to the beginning. The next one is '''logo'''. Let’s cut and paste logo from here. | |Alright, let’s come back to the beginning. The next one is '''logo'''. Let’s cut and paste logo from here. | ||
+ | |||
|- | |- | ||
− | | 04:49 | + | |04:49 |
|This also has to be pasted above the '''begin document''' command. This logo, let’s see what this looks like. | |This also has to be pasted above the '''begin document''' command. This logo, let’s see what this looks like. | ||
+ | |||
|- | |- | ||
− | | 04:59 | + | |04:59 |
− | | Let me just see it by '''open iitb logo.pdf'''. I am giving the same name over here. | + | |Let me just see it by '''open iitb logo.pdf'''. I am giving the same name over here. |
+ | |||
|- | |- | ||
− | | 05:08 | + | |05:08 |
|When I open it, you can see that this is the image file that I am talking about. | |When I open it, you can see that this is the image file that I am talking about. | ||
+ | |||
|- | |- | ||
− | | 05:15 | + | |05:15 |
− | | On including this "logo" command, of height 1 cm. it is going to come in this corner. | + | |On including this "logo" command, of height 1 cm. it is going to come in this corner. |
+ | |||
|- | |- | ||
− | | 05:24 | + | |05:24 |
|So let’s see what it looks like. Let’s click this. You can see that iitb logo has come. | |So let’s see what it looks like. Let’s click this. You can see that iitb logo has come. | ||
+ | |||
|- | |- | ||
− | | 05:35 | + | |05:35 |
− | | Now this is going to come on every page, from now on. | + | |Now this is going to come on every page, from now on. |
+ | |||
|- | |- | ||
− | | 05:42 | + | |05:42 |
|Next, we will add this command. For presentations, sometimes it is useful to make all the lettering bold. | |Next, we will add this command. For presentations, sometimes it is useful to make all the lettering bold. | ||
+ | |||
|- | |- | ||
− | | 05:55 | + | |05:55 |
− | | So in view of that, I will include this, '''cut, paste'''. | + | |So in view of that, I will include this, '''cut, paste'''. |
+ | |||
|- | |- | ||
− | | 06:08 | + | |06:08 |
|Actually I will have to include this after the '''begin document''' command. | |Actually I will have to include this after the '''begin document''' command. | ||
+ | |||
|- | |- | ||
− | | 06:15 | + | |06:15 |
|Let me save this. Let me compile it. Alright now, watch this. As I click this, all the letters will become bold. | |Let me save this. Let me compile it. Alright now, watch this. As I click this, all the letters will become bold. | ||
+ | |||
|- | |- | ||
|06:28 | |06:28 | ||
− | | You can see that it has become bold. | + | |You can see that it has become bold. |
+ | |||
|- | |- | ||
− | | 06:37 | + | |06:37 |
|Then, now I am going to improve the writing here. | |Then, now I am going to improve the writing here. | ||
+ | |||
|- | |- | ||
− | | 06:43 | + | |06:43 |
− | | For example, it tries to fill lots of things here. Here, the '''title''' comes here, here the author information comes but lots of information is coming. | + | |For example, it tries to fill lots of things here. Here, the '''title''' comes here, here the author information comes but lots of information is coming. |
+ | |||
|- | |- | ||
− | | 06:54 | + | |06:54 |
− | | Sometimes I may want to have a smaller title here. For example this space may not be large enough. | + | |Sometimes I may want to have a smaller title here. For example, this space may not be large enough. |
+ | |||
|- | |- | ||
− | | 07:02 | + | |07:02 |
|So what we will do is, that is solved using this. | |So what we will do is, that is solved using this. | ||
+ | |||
|- | |- | ||
− | | 07:07 | + | |07:07 |
|For example, this is the running title. | |For example, this is the running title. | ||
+ | |||
|- | |- | ||
− | | 07:13 | + | |07:13 |
|Let me cut this. This should come after the command '''title''', between the title command and the actual title. | |Let me cut this. This should come after the command '''title''', between the title command and the actual title. | ||
+ | |||
|- | |- | ||
− | | 07:29 | + | |07:29 |
|So, let me paste it here. You can see that whatever I have pasted now is within square brackets. | |So, let me paste it here. You can see that whatever I have pasted now is within square brackets. | ||
+ | |||
|- | |- | ||
− | | 07:36 | + | |07:36 |
|So let’s '''save''' it. '''Run''' it. | |So let’s '''save''' it. '''Run''' it. | ||
+ | |||
|- | |- | ||
− | | 07:46 | + | |07:46 |
|So, as I do it, let’s click this. Look at this as I click what happens to this part. | |So, as I do it, let’s click this. Look at this as I click what happens to this part. | ||
+ | |||
|- | |- | ||
− | | 07:51 | + | |07:51 |
|You can see that the title has now changed. I have put only the bottom portion because that’s what I’m giving within the square bracket – "Presentation using LaTeX and Beamer". | |You can see that the title has now changed. I have put only the bottom portion because that’s what I’m giving within the square bracket – "Presentation using LaTeX and Beamer". | ||
+ | |||
|- | |- | ||
− | | 08:03 | + | |08:03 |
|Then I am saying that h-space is half a cm. I am giving a space here. And then I have the page number over here. | |Then I am saying that h-space is half a cm. I am giving a space here. And then I have the page number over here. | ||
+ | |||
|- | |- | ||
− | | 08:12 | + | |08:12 |
|It says 1 by 3 here. Then 2 by 3 here. 3 by 3 here and so on. | |It says 1 by 3 here. Then 2 by 3 here. 3 by 3 here and so on. | ||
+ | |||
|- | |- | ||
− | | 08:21 | + | |08:21 |
|That is achieved using '''‘insert frame number divided by insert total frame number’'''. | |That is achieved using '''‘insert frame number divided by insert total frame number’'''. | ||
+ | |||
|- | |- | ||
− | | 08:28 | + | |08:28 |
|Now, I will do the same thing for '''author'''. So, let's come here. | |Now, I will do the same thing for '''author'''. So, let's come here. | ||
+ | |||
|- | |- | ||
− | | 08:37 | + | |08:37 |
|Let’s cut this. And after author, this comes. | |Let’s cut this. And after author, this comes. | ||
+ | |||
|- | |- | ||
− | | 08:49 | + | |08:49 |
|Let me save it. Compile it. Click this. | |Let me save it. Compile it. Click this. | ||
+ | |||
|- | |- | ||
− | | 08:56 | + | |08:56 |
|You can see that Kannan Moudgalya has come. This is what I have given within the square brackets. Now this is going to come on every page. | |You can see that Kannan Moudgalya has come. This is what I have given within the square brackets. Now this is going to come on every page. | ||
+ | |||
|- | |- | ||
− | | 09:05 | + | |09:05 |
|Let’s go to the next topic. This is including equations. | |Let’s go to the next topic. This is including equations. | ||
+ | |||
|- | |- | ||
− | | 09:19 | + | |09:19 |
|The whole thing is in the form of a '''frame''' – a complete frame. | |The whole thing is in the form of a '''frame''' – a complete frame. | ||
+ | |||
|- | |- | ||
− | | 09:24 | + | |09:24 |
|So, what I will do is, I will cut the whole thing. | |So, what I will do is, I will cut the whole thing. | ||
+ | |||
|- | |- | ||
− | | 09:30 | + | |09:30 |
|Come back here, go to the bottom of this document. '''Save''' it. | |Come back here, go to the bottom of this document. '''Save''' it. | ||
+ | |||
|- | |- | ||
− | | 09:38 | + | |09:38 |
|So, I have created a new slide. Let’s see what this looks like. | |So, I have created a new slide. Let’s see what this looks like. | ||
+ | |||
|- | |- | ||
− | | 09:45 | + | |09:45 |
|So this is where the frame starts. | |So this is where the frame starts. | ||
+ | |||
|- | |- | ||
− | | 09:51 | + | |09:51 |
− | | Let us compile this. Now you see that 4 pages are there. So, it still says three, so if I click this once more, so it becomes 4. | + | |Let us compile this. Now you see that 4 pages are there. So, it still says three, so if I click this once more, so it becomes 4. |
+ | |||
|- | |- | ||
− | | 10:07 | + | |10:07 |
− | | So this is the equation containing slide. I am not going to explain how to write these equations. | + | |So this is the equation containing slide. I am not going to explain how to write these equations. |
+ | |||
|- | |- | ||
− | | 10:15 | + | |10:15 |
− | | These are explained in the spoken-tutorial that I have created earlier on creating equations. | + | |These are explained in the spoken-tutorial that I have created earlier on creating equations. |
+ | |||
|- | |- | ||
− | | 10:21 | + | |10:21 |
− | | All that I have done is, I went to that latex document, cut and pasted it here, that’s all. | + | |All that I have done is, I went to that latex document, cut and pasted it here, that’s all. |
+ | |||
|- | |- | ||
− | | 10:28 | + | |10:28 |
|And.. of course I have removed the equation numbers. It does not make sense to give equation numbers in a slide. | |And.. of course I have removed the equation numbers. It does not make sense to give equation numbers in a slide. | ||
+ | |||
|- | |- | ||
− | | 10:36 | + | |10:36 |
|On the other hand, it may be useful for you at times to highlight the color. | |On the other hand, it may be useful for you at times to highlight the color. | ||
+ | |||
|- | |- | ||
− | | 10:44 | + | |10:44 |
|For example- if I want to change this into blue, I will do the following. Come here. | |For example- if I want to change this into blue, I will do the following. Come here. | ||
+ | |||
|- | |- | ||
− | | 10:54 | + | |10:54 |
− | |The | + | |The command is – '''color, blue'''- and then I have to close this. |
+ | |||
|- | |- | ||
− | | 11:05 | + | |11:05 |
|Save it. Compile it. And click this. You can see that this has become blue. | |Save it. Compile it. And click this. You can see that this has become blue. | ||
+ | |||
|- | |- | ||
− | | 11:16 | + | |11:16 |
|So, you may not want to refer to an equation by numbers but you can say that consider the equation in blue or you may want to say that look at the mass balance equation and so on. | |So, you may not want to refer to an equation by numbers but you can say that consider the equation in blue or you may want to say that look at the mass balance equation and so on. | ||
+ | |||
|- | |- | ||
− | | 11:29 | + | |11:29 |
|You want to refer to it by something that people can remember in talks. | |You want to refer to it by something that people can remember in talks. | ||
+ | |||
|- | |- | ||
− | | 11:35 | + | |11:35 |
− | | Next what we will do is, what I will do now is to include '''animation''' | + | |Next what we will do is, what I will do now is to include '''animation''' |
+ | |||
|- | |- | ||
− | | 11:50 | + | |11:50 |
− | | which is useful to present information concept by concept. | + | |which is useful to present information concept by concept. |
+ | |||
|- | |- | ||
− | | 11:58 | + | |11:58 |
|So I have cut, let's paste it here. Let us see what this looks like. | |So I have cut, let's paste it here. Let us see what this looks like. | ||
+ | |||
|- | |- | ||
− | | 12:08 | + | |12:08 |
|Let's first compile it and see what happens. | |Let's first compile it and see what happens. | ||
+ | |||
|- | |- | ||
− | | 12:17 | + | |12:17 |
|This is from the spoken tutorial on '''letter writing'''. This information is also there. | |This is from the spoken tutorial on '''letter writing'''. This information is also there. | ||
+ | |||
|- | |- | ||
− | | 12:21 | + | |12:21 |
|The only difference that I have done now is that between '''begin enumerate''' and '''end enumerate''', I have put this '''‘item plus minus alert’'''. | |The only difference that I have done now is that between '''begin enumerate''' and '''end enumerate''', I have put this '''‘item plus minus alert’'''. | ||
+ | |||
|- | |- | ||
− | | 12:33 | + | |12:33 |
− | | Let’s see what this does. See, here I have put a command called '''‘pause’''', so the moment I put a command '''pause''', it stops there, now the '''begin enumerate''' starts. | + | |Let’s see what this does. See, here I have put a command called '''‘pause’''', so the moment I put a command '''pause''', it stops there, now the '''begin enumerate''' starts. |
+ | |||
|- | |- | ||
− | | 12:45 | + | |12:45 |
|So, let me just go forward. '''Page-down'''. Next page, next page, next page. | |So, let me just go forward. '''Page-down'''. Next page, next page, next page. | ||
+ | |||
|- | |- | ||
− | | 12:53 | + | |12:53 |
|As I go down, you see that the latest information is in red, all others are in the default color namely black. I have come to the end of the document. | |As I go down, you see that the latest information is in red, all others are in the default color namely black. I have come to the end of the document. | ||
+ | |||
|- | |- | ||
− | | 13:05 | + | |13:05 |
|So, this is one easy way to create animation where you want to present information a little at a time. | |So, this is one easy way to create animation where you want to present information a little at a time. | ||
+ | |||
|- | |- | ||
− | | 13:18 | + | |13:18 |
|Next what I want to do is- change the '''alerted color''' to blue. For example, here the alerted color is red, this is known as alerted color. | |Next what I want to do is- change the '''alerted color''' to blue. For example, here the alerted color is red, this is known as alerted color. | ||
+ | |||
|- | |- | ||
− | | 13:32 | + | |13:32 |
− | | I want to make this alerted color blue. So that this is consistent with this color that I have chosen. | + | |I want to make this alerted color blue. So that this is consistent with this color that I have chosen. |
+ | |||
|- | |- | ||
− | | 13:41 | + | |13:41 |
|Okay, let me come here, cut this. | |Okay, let me come here, cut this. | ||
+ | |||
|- | |- | ||
− | | 13:52 | + | |13:52 |
|This should go to the beginning of this document before the '''begin document''' command. | |This should go to the beginning of this document before the '''begin document''' command. | ||
+ | |||
|- | |- | ||
− | | 14:00 | + | |14:00 |
|Let me compile it, when I click this you can see now that the alerted color has now become blue. | |Let me compile it, when I click this you can see now that the alerted color has now become blue. | ||
+ | |||
|- | |- | ||
− | | 14:12 | + | |14:12 |
|It is achieved through the command '''‘set beamer color – alerted text’''' there is a space here ‘foreground equals blue’, '''fg equals blue'''. | |It is achieved through the command '''‘set beamer color – alerted text’''' there is a space here ‘foreground equals blue’, '''fg equals blue'''. | ||
+ | |||
|- | |- | ||
− | | 14:24 | + | |14:24 |
|Now what I am going to do is- to show, how easy it is to change the color of the entire document. | |Now what I am going to do is- to show, how easy it is to change the color of the entire document. | ||
+ | |||
|- | |- | ||
− | | 14:33 | + | |14:33 |
− | |So what I will do is | + | |So, what I will do is.. will come here, after this '''slash document class''', before the '''beamer''' frame starts. I will write here "brown". |
+ | |||
|- | |- | ||
− | | 14:46 | + | |14:46 |
|Save it. Compile it. | |Save it. Compile it. | ||
+ | |||
|- | |- | ||
− | | 14:52 | + | |14:52 |
|You can see that it has become brown. So without too much work. | |You can see that it has become brown. So without too much work. | ||
+ | |||
|- | |- | ||
− | | 15:03 | + | |15:03 |
|So what I will do is, I will take this back to the original color. | |So what I will do is, I will take this back to the original color. | ||
+ | |||
|- | |- | ||
− | | 15:09 | + | |15:09 |
|The default color is blue, so I don’t have to type it. Now we are back in blue. | |The default color is blue, so I don’t have to type it. Now we are back in blue. | ||
+ | |||
|- | |- | ||
− | | 15:21 | + | |15:21 |
|So let’s come here, I will delete this. I will now include figures. | |So let’s come here, I will delete this. I will now include figures. | ||
+ | |||
|- | |- | ||
− | | 15:30 | + | |15:30 |
|Cut this. Come here. Go to the end of this. | |Cut this. Come here. Go to the end of this. | ||
+ | |||
|- | |- | ||
− | | 15:41 | + | |15:41 |
− | | The last one. Let’s compile it. Let’s go to the next page. So, example of the figure is given here. | + | |The last one. Let’s compile it. Let’s go to the next page. So, example of the figure is given here. |
+ | |||
|- | |- | ||
− | | 15:53 | + | |15:53 |
|Alright, what are the guidelines in placing this? There are some important guidelines. We will see it with the next bit. | |Alright, what are the guidelines in placing this? There are some important guidelines. We will see it with the next bit. | ||
+ | |||
|- | |- | ||
− | | 16:05 | + | |16:05 |
− | | Let’s cut this. Paste this. Compile it. | + | |Let’s cut this. Paste this. Compile it. |
+ | |||
|- | |- | ||
− | | 16:21 | + | |16:21 |
|So, I have got this. "Hints for including figures". | |So, I have got this. "Hints for including figures". | ||
+ | |||
|- | |- | ||
− | | 16:28 | + | |16:28 |
|Let’s come to the '''source''' where we created the figure. This is how we created this figure. So, what are the guidelines? | |Let’s come to the '''source''' where we created the figure. This is how we created this figure. So, what are the guidelines? | ||
+ | |||
|- | |- | ||
− | | 16:37 | + | |16:37 |
|"Do not use floated environments in presentations". for example, don’t say 'begin figure, end figure' which you need in the latex documents. | |"Do not use floated environments in presentations". for example, don’t say 'begin figure, end figure' which you need in the latex documents. | ||
+ | |||
|- | |- | ||
− | | 16:46 | + | |16:46 |
− | | By the way if you want to know about how to include a figure and more about it you have to go to the spoken tutorial on '''Tables and Figures'''. | + | |By the way, if you want to know about how to include a figure and more about it you have to go to the spoken tutorial on '''Tables and Figures'''. |
+ | |||
|- | |- | ||
− | | 17:01 | + | |17:01 |
− | |So do not use this. Use '''‘include graphics’''' directly. | + | |So, do not use this. Use '''‘include graphics’''' directly. |
+ | |||
|- | |- | ||
− | | 17:08 | + | |17:08 |
− | |So for example, include graphics command is used and I’m saying that use the complete width of the text and the file is iitb. | + | |So, for example, '''include graphics''' command is used and I’m saying that use the complete width of the text and the file is 'iitb'. |
+ | |||
|- | |- | ||
− | | 17:19 | + | |17:19 |
− | |By the way, | + | |By the way, '''Beamer''' already comes with necessary packages. So, you don’t have to include any package. Use any package, it is already included. |
+ | |||
|- | |- | ||
− | | 17:30 | + | |17:30 |
− | | And then we put the whole thing in the center environment. And this frame is over. | + | |And then we put the whole thing in the '''center''' environment. And this '''frame''' is over. |
+ | |||
|- | |- | ||
− | | 17:40 | + | |17:40 |
− | |Do not include caption, figure number etc. | + | |Do not include '''caption''', figure number etc. |
+ | |||
|- | |- | ||
− | | 17:44 | + | |17:44 |
|Once again people are not going to remember these numbers. | |Once again people are not going to remember these numbers. | ||
+ | |||
|- | |- | ||
− | | 17:51 | + | |17:51 |
|If you want to refer to a previously shown figure, show it again. | |If you want to refer to a previously shown figure, show it again. | ||
+ | |||
|- | |- | ||
− | | 17:56 | + | |17:56 |
|It does not cost any money to create another slide. Make a copy of the earlier shown slide and do it again. | |It does not cost any money to create another slide. Make a copy of the earlier shown slide and do it again. | ||
+ | |||
|- | |- | ||
− | | 18:05 | + | |18:05 |
|Alright, that completes the figure and the guidelines. And we have come to the end of this document. | |Alright, that completes the figure and the guidelines. And we have come to the end of this document. | ||
+ | |||
|- | |- | ||
− | | 18:12 | + | |18:12 |
|Let us now see how to include a two column environment. | |Let us now see how to include a two column environment. | ||
+ | |||
|- | |- | ||
− | | 18:24 | + | |18:24 |
− | | Let’s come here. Let’s go to the end of the document. Save it. | + | |Let’s come here. Let’s go to the end of the document. '''Save''' it. |
+ | |||
|- | |- | ||
− | | 18:32 | + | |18:32 |
− | | What I will do to make it easier, I will first remove this so that it becomes easy. | + | |What I will do is to make it easier, I will first remove this so that it becomes easy. |
+ | |||
|- | |- | ||
− | | 18:42 | + | |18:42 |
− | | So what I’m going to do is I’m going to give, show part of the information. Let’s compile this and see what happens. | + | |So, what I’m going to do is- I’m going to give, show part of the information. Let’s compile this and see what happens. |
+ | |||
|- | |- | ||
− | | 18:57 | + | |18:57 |
− | | So I have this, two columns. | + | |So I have this, two columns. |
+ | |||
|- | |- | ||
− | | 19:28 | + | |19:28 |
|This is not saved, that is why. See the star star. What I will do is, let me first save it. | |This is not saved, that is why. See the star star. What I will do is, let me first save it. | ||
+ | |||
|- | |- | ||
− | | 19:35 | + | |19:35 |
− | |So this is the problem if you try to compile it | + | |So, this is the problem if you try to compile it without saving. The '''pdf''' file that you see here, does not correspond to what you have here. |
+ | |||
|- | |- | ||
− | | 19:45 | + | |19:45 |
− | |So let’s compile this. Let’s come here. Now what you see here corresponds to what you have here. | + | |So, let’s compile this. Let’s come here. Now what you see here corresponds to what you have here. |
+ | |||
|- | |- | ||
− | | 19:58 | + | |19:58 |
− | |Let me just center it. | + | |Let me just center it. So, '''frame title 'Two Columns'''' and I’m using the command '''‘mini page’''' and I’m centering it and I’m using 45 percent of the '''text width'''. |
+ | |||
|- | |- | ||
− | | 20:15 | + | |20:15 |
− | | | + | |'''begin enumerate'''. These two and then '''end enumerate'''. And as before I am alerting. |
+ | |||
|- | |- | ||
− | | 20:25 | + | |20:25 |
− | |See these two. This is the end of the document. Now what | + | |See these two. This is the end of the document. Now what I will do is, I will come and attach whatever I had at the end of this. |
+ | |||
|- | |- | ||
− | | 20:37 | + | |20:37 |
− | | Here the previous mini page got over. Now I am going to create another mini page | + | |Here, the previous 'mini page' got over. Now I am going to create another mini page. In this 'mini-page', I am going to put this iitb, the same image that we saw earlier. |
+ | |||
|- | |- | ||
− | | 20:52 | + | |20:52 |
− | |And this mini page also is 45 percent size. Let’s compile this , | + | |And this mini-page also is 45 percent size. Let’s compile this, let’s first '''save''' this. |
+ | |||
|- | |- | ||
− | | 21:07 | + | |21:07 |
− | |Now let me click this. Now you see it has come. But it has a small problem in that | + | |Now let me click this. Now you see it has come. But it has a small problem in that. When I go to this page, it shows the first item and also this figure. |
+ | |||
|- | |- | ||
− | | 21:22 | + | |21:22 |
|Although the figure comes later on, it shows this because no where have we told latex to show this later. It is perhaps implicit. | |Although the figure comes later on, it shows this because no where have we told latex to show this later. It is perhaps implicit. | ||
+ | |||
|- | |- | ||
− | | 21:35 | + | |21:35 |
− | | So for example, if you say that, if you put this information within this item then we say that show this first and then show this. | + | |So for example, if you say that, if you put this information within this item then we say that show this first and then show this. |
+ | |||
|- | |- | ||
− | | 21:44 | + | |21:44 |
|But no where are we saying that this should come later. | |But no where are we saying that this should come later. | ||
+ | |||
|- | |- | ||
− | | 21:50 | + | |21:50 |
|So one has to be careful of such evinces. One way to solve this problem is to put a ‘pause’. | |So one has to be careful of such evinces. One way to solve this problem is to put a ‘pause’. | ||
+ | |||
|- | |- | ||
− | | 21:59 | + | |21:59 |
− | | Let me compile this. Save this. So now this is okay. | + | |Let me compile this. Save this. So now this is okay. |
+ | |||
|- | |- | ||
− | | 22:08 | + | |22:08 |
− | |This problem is solved. The first one, the second one, and then one more, it | + | |This problem is solved. The first one, the second one, and then one more, it pauses once. And, you can see that it has been solved. |
+ | |||
|- | |- | ||
− | | 22:24 | + | |22:24 |
− | |Alright, let’s come here. The next one is the table. | + | |Alright, let’s come here. The next one is the '''table'''. |
+ | |||
|- | |- | ||
− | | 22:39 | + | |22:39 |
− | | Save this. Let’s compile this. You can see that the table has come. | + | |Save this. Let’s compile this. You can see that the table has come. |
+ | |||
|- | |- | ||
− | | 22:51 | + | |22:51 |
− | |I am not going to explain how to create this table, this has already been explained in the spoken tutorial on tables. | + | |I am not going to explain how to create this table, this has already been explained in the '''spoken tutorial''' on '''tables'''. |
+ | |||
|- | |- | ||
− | | 22:57 | + | |22:57 |
− | |All I have done is to cut and to paste it here. Let’s go to the beginning of the frame. | + | |All that I have done is to cut and to paste it here. Let’s go to the beginning of the '''frame'''. |
+ | |||
|- | |- | ||
− | | 23:12 | + | |23:12 |
− | | It’s the same table that we used earlier, I just cut and pasted it. You can see the begin tabular and end tabular commands coming within center | + | |It’s the same table that we used earlier, I just cut and pasted it. You can see the '''begin tabular''' and '''end tabular''' commands coming within '''center''' environment. |
+ | |||
|- | |- | ||
− | | 23:22 | + | |23:22 |
− | |What are the guidelines? The guidelines are similar to figures. | + | |OK..What are the guidelines? The guidelines are similar to '''figures'''. |
+ | |||
|- | |- | ||
− | | 23:28 | + | |23:28 |
− | |So let’s see that also. See the guidelines are here. | + | |So, let’s see that also. See the guidelines are here. |
+ | |||
|- | |- | ||
− | | 23:44 | + | |23:44 |
− | | Let me compile. See this, move forward. | + | |Let me compile. See this, move forward. |
+ | |||
|- | |- | ||
− | | 23:51 | + | |23:51 |
− | |Once again do not use floated environments in presentations. | + | |Once again, do not use floated environments in presentations. |
+ | |||
|- | |- | ||
− | | 23:56 | + | |23:56 |
− | |In the spoken tutorial on tables, we put the tabular inside the table environment. | + | |In the spoken tutorial on '''tables''', we put the '''tabular''' inside the '''table environment'''. |
+ | |||
|- | |- | ||
− | | 24:02 | + | |24:02 |
− | |Table environment is a floated one, do not include it here. Insert it directly. | + | |'''Table environment''' is a floated one, do not include it here. Insert it directly. |
+ | |||
|- | |- | ||
− | | 24:11 | + | |24:11 |
− | |For example, we put it directly inside the center environment. | + | |For example, we put it directly inside the '''center''' environment. |
+ | |||
|- | |- | ||
− | | 24:17 | + | |24:17 |
− | |Do not include caption, table number etc. make a copy of it if required. | + | |Do not include caption, table number etc. make a copy of it, if required. |
+ | |||
|- | |- | ||
− | | 24:25 | + | |24:25 |
− | |Now here I want to point out the way animation happens. For example, in this slide, it does not alert with a different color. | + | |Now, here I want to point out the way animation happens. For example, in this slide, it does not alert with a different color. |
+ | |||
|- | |- | ||
− | | 24:40 | + | |24:40 |
|Recall that we used the blue color for alerting. Why does it happen? | |Recall that we used the blue color for alerting. Why does it happen? | ||
+ | |||
|- | |- | ||
− | | 24:46 | + | |24:46 |
|That is because we have used a different kind of environment here. | |That is because we have used a different kind of environment here. | ||
+ | |||
|- | |- | ||
− | | 24:52 | + | |24:52 |
− | | | + | |'''begin itemize, end itemize''', within that we used '''item plus minus'''. Previously we were using the word 'alert'. |
+ | |||
|- | |- | ||
− | | 25:01 | + | |25:01 |
|Recall that. We are not using that anymore. As a result, it just comes in black. This is simpler way to include animation. | |Recall that. We are not using that anymore. As a result, it just comes in black. This is simpler way to include animation. | ||
+ | |||
|- | |- | ||
− | | 25:12 | + | |25:12 |
− | |You can pick and choose. So this is what I have written here. Show different animations in the previous slide. | + | |You can pick and choose. So, this is what I have written here. "Show different animations in the previous slide". |
+ | |||
|- | |- | ||
− | | 25:22 | + | |25:22 |
− | |Now there is a need to convert this into a handout. For example | + | |Now, there is a need to convert this into a handout. For example- if you try to print this, |
+ | |||
|- | |- | ||
− | | 25:28 | + | |25:28 |
|whatever we have here, it will produce 24 pages even though there are only 10 pages. | |whatever we have here, it will produce 24 pages even though there are only 10 pages. | ||
+ | |||
|- | |- | ||
− | | 25:40 | + | |25:40 |
− | |There are only 10 unique frames but there are 24 pages. But if you try to print out, it will produce 24 pages. | + | |There are only 10 unique '''frames''' but there are 24 pages. But if you try to print out, it will produce 24 pages. |
+ | |||
|- | |- | ||
− | | 25:49 | + | |25:49 |
− | |One way to do that, to take care of this is to use a simple switch here called | + | |One way to do that, to take care of this is to use a simple switch here called ''''handout''''. |
+ | |||
|- | |- | ||
− | | 26:00 | + | |26:00 |
− | |If I do this, let me compile it | + | |If I do this, let me compile it; now there are only 10 pages. Let’s compile this once more. |
+ | |||
|- | |- | ||
− | | 26:13 | + | |26:13 |
− | |Now the animation | + | |Now the animation is no longer there. If I go to the next page, next page, next page, next page, next page and so on. |
+ | |||
|- | |- | ||
− | | 26:24 | + | |26:24 |
− | |Of course, what if I want to change the color | + | |Of course, what if I want to change the color? Then you put 'brown' once again. |
+ | |||
|- | |- | ||
− | | 26:35 | + | |26:35 |
− | |You can see that it has changed. So all the parameters here are to be included separated by commas. | + | |You can see that it has changed. So, all the parameters here are to be included separated by commas. |
+ | |||
|- | |- | ||
− | | 26:42 | + | |26:42 |
− | |So let me just put this back to blue. Compile it. | + | |So, let me just put this back to blue. Compile it. |
+ | |||
|- | |- | ||
− | | 26:52 | + | |26:52 |
− | |Now what we will do is, sometimes you have to include Verbatim environment. | + | |Now what we will do is, sometimes you have to include '''Verbatim''' environment. |
+ | |||
|- | |- | ||
− | | 27:06 | + | |27:06 |
− | |So let me just take this example. | + | |So, let me just take this example. |
+ | |||
|- | |- | ||
− | | 27:13 | + | |27:13 |
− | |Let’s go here, go to the end. Save it. So this is where the verbatim begins. | + | |Let’s go here, go to the end. Save it. So this is where the '''verbatim''' begins. |
+ | |||
|- | |- | ||
− | | 27:24 | + | |27:24 |
|So you can see that the verbatim is created. | |So you can see that the verbatim is created. | ||
+ | |||
|- | |- | ||
− | | 27:30 | + | |27:30 |
− | |Here I have illustrated it with some SciLab commands. I have changed the color here to blue and so on. | + | |Here, I have illustrated it with some '''SciLab''' commands. I have changed the color here to blue, here to blue and so on. |
+ | |||
|- | |- | ||
− | | 27:39 | + | |27:39 |
− | |The only unique thing you | + | |The only unique thing that you have to do is to say '''begin frame''' within square bracket – '''fragile'''. |
+ | |||
|- | |- | ||
− | | 27:52 | + | |27:52 |
− | |If you don’t do that, there will be a problem. Okay so you see this, we will come back and check that. | + | |If you don’t do that, there will be a problem. Okay.. so you see this, we will come back and check that. |
+ | |||
|- | |- | ||
− | | 28:01 | + | |28:01 |
|So suppose I delete this. Save it. Compile it. | |So suppose I delete this. Save it. Compile it. | ||
+ | |||
|- | |- | ||
− | | 28:09 | + | |28:09 |
|It will come and say that something is not okay. | |It will come and say that something is not okay. | ||
+ | |||
|- | |- | ||
− | | 28:14 | + | |28:14 |
− | |So | + | |So, let's put this back – '''fragile'''. Save it, exit from here. |
+ | |||
|- | |- | ||
− | | 28:21 | + | |28:21 |
|Compile it once again. It has come now. | |Compile it once again. It has come now. | ||
|- | |- | ||
− | | 28:30 | + | |28:30 |
|Beamer class has lots of information. How does one know about other things. | |Beamer class has lots of information. How does one know about other things. | ||
+ | |||
|- | |- | ||
− | | 28:40 | + | |28:40 |
− | |So I have some information here, let’s go to the bottom. | + | |So, I have some information here, let’s go to the bottom. |
+ | |||
|- | |- | ||
− | | 28:48 | + | |28:48 |
|So essentially that information, where to get this extra information is in this slide. | |So essentially that information, where to get this extra information is in this slide. | ||
+ | |||
|- | |- | ||
− | | 28:54 | + | |28:54 |
− | |We will compile it and we will go through that. The authoritative source for beamer this beamer user guide dot pdf. | + | |We will compile it and we will go through that. The authoritative source for beamer is this file, 'beamer user guide dot pdf'. |
+ | |||
|- | |- | ||
− | | 29:08 | + | |29:08 |
|I located it at this point but it is also available through this beamer project website by the author of beamer class. | |I located it at this point but it is also available through this beamer project website by the author of beamer class. | ||
+ | |||
|- | |- | ||
− | | 29:21 | + | |29:21 |
− | | I’ll just illustrate this | + | |I’ll just illustrate this; I’ve already downloaded this. It’s in that site that I have mentioned earlier. |
+ | |||
|- | |- | ||
− | | 29:32 | + | |29:32 |
|For example, it’s a 224 page document. It’s a huge document. | |For example, it’s a 224 page document. It’s a huge document. | ||
+ | |||
|- | |- | ||
− | | 29:39 | + | |29:39 |
|What I want to show here is that you can use the information from here directly. | |What I want to show here is that you can use the information from here directly. | ||
+ | |||
|- | |- | ||
− | | 29:45 | + | |29:45 |
− | |So let’s come here. In the very first page the author talks about how to create simple slides and he has given the source also. | + | |So let’s come here. In the very first page, the author talks about how to create simple slides and he has given the source also. |
+ | |||
|- | |- | ||
− | | 29:57 | + | |29:57 |
|We will cut this, copy, let me minimize this. Let me go to the end of the document. | |We will cut this, copy, let me minimize this. Let me go to the end of the document. | ||
+ | |||
|- | |- | ||
− | | 30:09 | + | |30:09 |
− | | We paste it. Save it. Compile it. So let’s go to the next page. | + | |We paste it. Save it. Compile it. So let’s go to the next page. |
|- | |- | ||
− | | 30:21 | + | |30:21 |
− | |You can see that whatever we saw there has come here. Here the author has used what is known as the theorem environment. | + | |You can see that whatever we saw there has come here. Here the author has used what is known as the '''theorem''' environment. |
+ | |||
|- | |- | ||
− | | 30:33 | + | |30:33 |
− | |So for example | + | |So, for example- '''begin theorem, end theorem''', it comes here. He has also used the '''frame subtitle''' that comes here in small letters. |
+ | |||
|- | |- | ||
− | | 30:42 | + | |30:42 |
− | | And then begin proof, end proof | + | |And then '''begin proof, end proof''' come here. He says 'proof', it opens another window, calls it ‘proof dot’. |
+ | |||
|- | |- | ||
− | | 30:52 | + | |30:52 |
|This is how it is defined, how this environment is defined. He uses a different alert mechanism. | |This is how it is defined, how this environment is defined. He uses a different alert mechanism. | ||
+ | |||
|- | |- | ||
− | | 31:01 | + | |31:01 |
− | |So if you want to see this you just go back | + | |So if you want to see this, you just go back; remove this handout so that we can see the animation. Compile it. |
+ | |||
|- | |- | ||
− | | 31:21 | + | |31:21 |
|So let’s go to page number 34. | |So let’s go to page number 34. | ||
+ | |||
|- | |- | ||
− | | 31:31 | + | |31:31 |
|Let’s see the animation now by going backwards. You see this, you see this. | |Let’s see the animation now by going backwards. You see this, you see this. | ||
+ | |||
|- | |- | ||
− | | 31:37 | + | |31:37 |
− | |So what he does here is, so these two | + | |So what he does here is, so these two '''item'''s are numbered one, and the others are numbered two and three. |
+ | |||
|- | |- | ||
− | | 31:51 | + | |31:51 |
− | |In other words, it is possible to specify the sequence in which the things that you have on the slide will appear. | + | |In other words, it is possible to arbitrarily specify the sequence in which the things that you have on the slide will appear. |
+ | |||
|- | |- | ||
− | | 32:00 | + | |32:00 |
− | |We don’t have time to go through this in more detail. I would suggest you go through the reference given here to know more about it. | + | |We don’t have time to go through this in more detail. I would suggest that you go through the reference given here to know more about it. |
+ | |||
|- | |- | ||
− | | 32:10 | + | |32:10 |
|This guide has lots of features, this beamer class has very large number of classes, and you may want to try out some of them. | |This guide has lots of features, this beamer class has very large number of classes, and you may want to try out some of them. | ||
+ | |||
|- | |- | ||
− | | 32:20 | + | |32:20 |
− | |Okay. Let me change this back to handout. | + | |Okay. Let me change this back to '''handout'''. |
+ | |||
|- | |- | ||
− | | 32:36 | + | |32:36 |
|The problem with the presentation mode, we are now going to the handout mode, | |The problem with the presentation mode, we are now going to the handout mode, | ||
+ | |||
|- | |- | ||
− | | 32:42 | + | |32:42 |
− | |the presentation mode where you show the animations generally takes a lot of time to compile. | + | |the presentation mode where you show the animations, generally takes a lot of time to compile. |
+ | |||
|- | |- | ||
− | | 32:48 | + | |32:48 |
− | |So typically you would want to work with the handout mode as much as possible and only once in a while when you really want to check it out you want to use the presentation mode. | + | |So, typically you would want to work with the '''handout mode''' as much as possible and only once in a while when you really want to check it out you want to use the '''presentation mode'''. |
+ | |||
|- | |- | ||
− | | 32:59 | + | |32:59 |
− | | Finally of course, when you make the presentation, you may want to use the presentation mode. | + | |Finally of course, when you make the presentation, you may want to use the presentation mode. |
+ | |||
|- | |- | ||
− | | 33:06 | + | |33:06 |
|And if you want to take a printout, use the handout mode. Let’s go to the end. We are almost at the end of the spoken tutorial. | |And if you want to take a printout, use the handout mode. Let’s go to the end. We are almost at the end of the spoken tutorial. | ||
+ | |||
|- | |- | ||
− | | 33:15 | + | |33:15 |
− | |Let’s acknowledge | + | |Let’s acknowledge. In fact let me just copy the whole thing, come here. |
+ | |||
|- | |- | ||
|33:31 | |33:31 | ||
|Let me just compile it here as usual. Okay. | |Let me just compile it here as usual. Okay. | ||
+ | |||
|- | |- | ||
− | | 33:42 | + | |33:42 |
− | |The funding for this spoken tutorial has come from the National Mission | + | |The funding for this spoken tutorial has come from the National Mission on Education through ICT. This is the website of this mission. |
+ | |||
|- | |- | ||
− | | 33:53 | + | |33:53 |
− | |I want to thank you for joining us. This is Kannan Moudgalya signing off. We would like to receive your feedback at kannan@iitb.ac.in. Thank you very much. | + | |I want to thank you for joining us. This is Kannan Moudgalya, signing off. We would like to receive your feedback at kannan@iitb.ac.in. Thank you very much. |
Latest revision as of 05:01, 19 November 2018
Time | Narration |
00:00 | Welcome to this spoken tutorial on presentation using Latex and Beamer. |
00:08 | Let me first explain the arrangement that I have on the screen. |
00:14 | I have the source file here, I will do the compilation here using pdflatex command |
00:21 | and the resulting output will be seen here in this corner. |
00:28 | First let's see this, we will come back to this shortly. |
00:33 | Let's do this first. The first slide here, comes from this source – begin frame, end frame, title page. |
00:45 | And the title page is defined in terms of title, author and date. |
00:55 | The document class that I am using is "beamer". We have begun the document here. |
01:01 | Alright, this is the first slide. Let's go to the second one. This is the outline. How is this created? |
01:13 | Begin frame, end frame define one slide. Frame title is "outline". It comes here. |
01:20 | Then I use the normal itemized command. Let’s go to the third slide. |
01:28 | This slide talks about other spoken tutorials on Latex. There are many spoken tutorials on Latex already available. |
01:36 | You are encouraged to see them in case you are not comfortable in using latex. |
01:43 | These explain how to use latex, this explains how to install and run latex on Windows. |
01:50 | And we hope to give more permanent links for all of these from fosse dot in. |
01:58 | So, this is the source for this slide. |
02:10 | You can see that we have come to the end of this document. |
02:15 | Now I’m going to show you how to embellish this document with lots of other features that beamer offers. |
02:22 | Let’s go to the beginning. Let’s go to the top of this file. Now what I am going to do is, whatever change, |
02:31 | whatever improvement that I am going to make to this are here. I am going to add one at a time and then explain. |
02:39 | Let’s see what happens when I add this command - beamer theme split. |
02:47 | Let me cut it, come back here, let me save it and then compile it – pdflatex beamer. |
03:02 | Let me go and click this. So you can see that it has created this banner here and some banner here. |
03:12 | Here also.. alright. Then what we do is, you come here and use the package. |
03:23 | Let's add this – beamer theme shadow. Let me cut it, go here, paste it. All of these are pasted above the "document" command. |
03:38 | Let me compile this. Alright, let’s see what happens when I click this. It has become bigger. |
03:49 | You can see that there is a change of color here. So, this is done by the command – beamer theme shadow. |
04:00 | There are lots of these packages. I am going to illustrate some of the other features now. |
04:06 | We will give references for future reading as a part of this introduction, as we see here – ‘References for further reading’. |
04:17 | The outline of this talk is as follows. We will spend some time on title page, author name, color, logo etc. |
04:25 | "Minimal animation" that you can use to present your talk, "Two column format, Figures and Tables, Equations, Verbatim" and so on. |
04:36 | Alright, let’s come back to the beginning. The next one is logo. Let’s cut and paste logo from here. |
04:49 | This also has to be pasted above the begin document command. This logo, let’s see what this looks like. |
04:59 | Let me just see it by open iitb logo.pdf. I am giving the same name over here. |
05:08 | When I open it, you can see that this is the image file that I am talking about. |
05:15 | On including this "logo" command, of height 1 cm. it is going to come in this corner. |
05:24 | So let’s see what it looks like. Let’s click this. You can see that iitb logo has come. |
05:35 | Now this is going to come on every page, from now on. |
05:42 | Next, we will add this command. For presentations, sometimes it is useful to make all the lettering bold. |
05:55 | So in view of that, I will include this, cut, paste. |
06:08 | Actually I will have to include this after the begin document command. |
06:15 | Let me save this. Let me compile it. Alright now, watch this. As I click this, all the letters will become bold. |
06:28 | You can see that it has become bold. |
06:37 | Then, now I am going to improve the writing here. |
06:43 | For example, it tries to fill lots of things here. Here, the title comes here, here the author information comes but lots of information is coming. |
06:54 | Sometimes I may want to have a smaller title here. For example, this space may not be large enough. |
07:02 | So what we will do is, that is solved using this. |
07:07 | For example, this is the running title. |
07:13 | Let me cut this. This should come after the command title, between the title command and the actual title. |
07:29 | So, let me paste it here. You can see that whatever I have pasted now is within square brackets. |
07:36 | So let’s save it. Run it. |
07:46 | So, as I do it, let’s click this. Look at this as I click what happens to this part. |
07:51 | You can see that the title has now changed. I have put only the bottom portion because that’s what I’m giving within the square bracket – "Presentation using LaTeX and Beamer". |
08:03 | Then I am saying that h-space is half a cm. I am giving a space here. And then I have the page number over here. |
08:12 | It says 1 by 3 here. Then 2 by 3 here. 3 by 3 here and so on. |
08:21 | That is achieved using ‘insert frame number divided by insert total frame number’. |
08:28 | Now, I will do the same thing for author. So, let's come here. |
08:37 | Let’s cut this. And after author, this comes. |
08:49 | Let me save it. Compile it. Click this. |
08:56 | You can see that Kannan Moudgalya has come. This is what I have given within the square brackets. Now this is going to come on every page. |
09:05 | Let’s go to the next topic. This is including equations. |
09:19 | The whole thing is in the form of a frame – a complete frame. |
09:24 | So, what I will do is, I will cut the whole thing. |
09:30 | Come back here, go to the bottom of this document. Save it. |
09:38 | So, I have created a new slide. Let’s see what this looks like. |
09:45 | So this is where the frame starts. |
09:51 | Let us compile this. Now you see that 4 pages are there. So, it still says three, so if I click this once more, so it becomes 4. |
10:07 | So this is the equation containing slide. I am not going to explain how to write these equations. |
10:15 | These are explained in the spoken-tutorial that I have created earlier on creating equations. |
10:21 | All that I have done is, I went to that latex document, cut and pasted it here, that’s all. |
10:28 | And.. of course I have removed the equation numbers. It does not make sense to give equation numbers in a slide. |
10:36 | On the other hand, it may be useful for you at times to highlight the color. |
10:44 | For example- if I want to change this into blue, I will do the following. Come here. |
10:54 | The command is – color, blue- and then I have to close this. |
11:05 | Save it. Compile it. And click this. You can see that this has become blue. |
11:16 | So, you may not want to refer to an equation by numbers but you can say that consider the equation in blue or you may want to say that look at the mass balance equation and so on. |
11:29 | You want to refer to it by something that people can remember in talks. |
11:35 | Next what we will do is, what I will do now is to include animation |
11:50 | which is useful to present information concept by concept. |
11:58 | So I have cut, let's paste it here. Let us see what this looks like. |
12:08 | Let's first compile it and see what happens. |
12:17 | This is from the spoken tutorial on letter writing. This information is also there. |
12:21 | The only difference that I have done now is that between begin enumerate and end enumerate, I have put this ‘item plus minus alert’. |
12:33 | Let’s see what this does. See, here I have put a command called ‘pause’, so the moment I put a command pause, it stops there, now the begin enumerate starts. |
12:45 | So, let me just go forward. Page-down. Next page, next page, next page. |
12:53 | As I go down, you see that the latest information is in red, all others are in the default color namely black. I have come to the end of the document. |
13:05 | So, this is one easy way to create animation where you want to present information a little at a time. |
13:18 | Next what I want to do is- change the alerted color to blue. For example, here the alerted color is red, this is known as alerted color. |
13:32 | I want to make this alerted color blue. So that this is consistent with this color that I have chosen. |
13:41 | Okay, let me come here, cut this. |
13:52 | This should go to the beginning of this document before the begin document command. |
14:00 | Let me compile it, when I click this you can see now that the alerted color has now become blue. |
14:12 | It is achieved through the command ‘set beamer color – alerted text’ there is a space here ‘foreground equals blue’, fg equals blue. |
14:24 | Now what I am going to do is- to show, how easy it is to change the color of the entire document. |
14:33 | So, what I will do is.. will come here, after this slash document class, before the beamer frame starts. I will write here "brown". |
14:46 | Save it. Compile it. |
14:52 | You can see that it has become brown. So without too much work. |
15:03 | So what I will do is, I will take this back to the original color. |
15:09 | The default color is blue, so I don’t have to type it. Now we are back in blue. |
15:21 | So let’s come here, I will delete this. I will now include figures. |
15:30 | Cut this. Come here. Go to the end of this. |
15:41 | The last one. Let’s compile it. Let’s go to the next page. So, example of the figure is given here. |
15:53 | Alright, what are the guidelines in placing this? There are some important guidelines. We will see it with the next bit. |
16:05 | Let’s cut this. Paste this. Compile it. |
16:21 | So, I have got this. "Hints for including figures". |
16:28 | Let’s come to the source where we created the figure. This is how we created this figure. So, what are the guidelines? |
16:37 | "Do not use floated environments in presentations". for example, don’t say 'begin figure, end figure' which you need in the latex documents. |
16:46 | By the way, if you want to know about how to include a figure and more about it you have to go to the spoken tutorial on Tables and Figures. |
17:01 | So, do not use this. Use ‘include graphics’ directly. |
17:08 | So, for example, include graphics command is used and I’m saying that use the complete width of the text and the file is 'iitb'. |
17:19 | By the way, Beamer already comes with necessary packages. So, you don’t have to include any package. Use any package, it is already included. |
17:30 | And then we put the whole thing in the center environment. And this frame is over. |
17:40 | Do not include caption, figure number etc. |
17:44 | Once again people are not going to remember these numbers. |
17:51 | If you want to refer to a previously shown figure, show it again. |
17:56 | It does not cost any money to create another slide. Make a copy of the earlier shown slide and do it again. |
18:05 | Alright, that completes the figure and the guidelines. And we have come to the end of this document. |
18:12 | Let us now see how to include a two column environment. |
18:24 | Let’s come here. Let’s go to the end of the document. Save it. |
18:32 | What I will do is to make it easier, I will first remove this so that it becomes easy. |
18:42 | So, what I’m going to do is- I’m going to give, show part of the information. Let’s compile this and see what happens. |
18:57 | So I have this, two columns. |
19:28 | This is not saved, that is why. See the star star. What I will do is, let me first save it. |
19:35 | So, this is the problem if you try to compile it without saving. The pdf file that you see here, does not correspond to what you have here. |
19:45 | So, let’s compile this. Let’s come here. Now what you see here corresponds to what you have here. |
19:58 | Let me just center it. So, frame title 'Two Columns' and I’m using the command ‘mini page’ and I’m centering it and I’m using 45 percent of the text width. |
20:15 | begin enumerate. These two and then end enumerate. And as before I am alerting. |
20:25 | See these two. This is the end of the document. Now what I will do is, I will come and attach whatever I had at the end of this. |
20:37 | Here, the previous 'mini page' got over. Now I am going to create another mini page. In this 'mini-page', I am going to put this iitb, the same image that we saw earlier. |
20:52 | And this mini-page also is 45 percent size. Let’s compile this, let’s first save this. |
21:07 | Now let me click this. Now you see it has come. But it has a small problem in that. When I go to this page, it shows the first item and also this figure. |
21:22 | Although the figure comes later on, it shows this because no where have we told latex to show this later. It is perhaps implicit. |
21:35 | So for example, if you say that, if you put this information within this item then we say that show this first and then show this. |
21:44 | But no where are we saying that this should come later. |
21:50 | So one has to be careful of such evinces. One way to solve this problem is to put a ‘pause’. |
21:59 | Let me compile this. Save this. So now this is okay. |
22:08 | This problem is solved. The first one, the second one, and then one more, it pauses once. And, you can see that it has been solved. |
22:24 | Alright, let’s come here. The next one is the table. |
22:39 | Save this. Let’s compile this. You can see that the table has come. |
22:51 | I am not going to explain how to create this table, this has already been explained in the spoken tutorial on tables. |
22:57 | All that I have done is to cut and to paste it here. Let’s go to the beginning of the frame. |
23:12 | It’s the same table that we used earlier, I just cut and pasted it. You can see the begin tabular and end tabular commands coming within center environment. |
23:22 | OK..What are the guidelines? The guidelines are similar to figures. |
23:28 | So, let’s see that also. See the guidelines are here. |
23:44 | Let me compile. See this, move forward. |
23:51 | Once again, do not use floated environments in presentations. |
23:56 | In the spoken tutorial on tables, we put the tabular inside the table environment. |
24:02 | Table environment is a floated one, do not include it here. Insert it directly. |
24:11 | For example, we put it directly inside the center environment. |
24:17 | Do not include caption, table number etc. make a copy of it, if required. |
24:25 | Now, here I want to point out the way animation happens. For example, in this slide, it does not alert with a different color. |
24:40 | Recall that we used the blue color for alerting. Why does it happen? |
24:46 | That is because we have used a different kind of environment here. |
24:52 | begin itemize, end itemize, within that we used item plus minus. Previously we were using the word 'alert'. |
25:01 | Recall that. We are not using that anymore. As a result, it just comes in black. This is simpler way to include animation. |
25:12 | You can pick and choose. So, this is what I have written here. "Show different animations in the previous slide". |
25:22 | Now, there is a need to convert this into a handout. For example- if you try to print this, |
25:28 | whatever we have here, it will produce 24 pages even though there are only 10 pages. |
25:40 | There are only 10 unique frames but there are 24 pages. But if you try to print out, it will produce 24 pages. |
25:49 | One way to do that, to take care of this is to use a simple switch here called 'handout'. |
26:00 | If I do this, let me compile it; now there are only 10 pages. Let’s compile this once more. |
26:13 | Now the animation is no longer there. If I go to the next page, next page, next page, next page, next page and so on. |
26:24 | Of course, what if I want to change the color? Then you put 'brown' once again. |
26:35 | You can see that it has changed. So, all the parameters here are to be included separated by commas. |
26:42 | So, let me just put this back to blue. Compile it. |
26:52 | Now what we will do is, sometimes you have to include Verbatim environment. |
27:06 | So, let me just take this example. |
27:13 | Let’s go here, go to the end. Save it. So this is where the verbatim begins. |
27:24 | So you can see that the verbatim is created. |
27:30 | Here, I have illustrated it with some SciLab commands. I have changed the color here to blue, here to blue and so on. |
27:39 | The only unique thing that you have to do is to say begin frame within square bracket – fragile. |
27:52 | If you don’t do that, there will be a problem. Okay.. so you see this, we will come back and check that. |
28:01 | So suppose I delete this. Save it. Compile it. |
28:09 | It will come and say that something is not okay. |
28:14 | So, let's put this back – fragile. Save it, exit from here. |
28:21 | Compile it once again. It has come now. |
28:30 | Beamer class has lots of information. How does one know about other things. |
28:40 | So, I have some information here, let’s go to the bottom. |
28:48 | So essentially that information, where to get this extra information is in this slide. |
28:54 | We will compile it and we will go through that. The authoritative source for beamer is this file, 'beamer user guide dot pdf'. |
29:08 | I located it at this point but it is also available through this beamer project website by the author of beamer class. |
29:21 | I’ll just illustrate this; I’ve already downloaded this. It’s in that site that I have mentioned earlier. |
29:32 | For example, it’s a 224 page document. It’s a huge document. |
29:39 | What I want to show here is that you can use the information from here directly. |
29:45 | So let’s come here. In the very first page, the author talks about how to create simple slides and he has given the source also. |
29:57 | We will cut this, copy, let me minimize this. Let me go to the end of the document. |
30:09 | We paste it. Save it. Compile it. So let’s go to the next page. |
30:21 | You can see that whatever we saw there has come here. Here the author has used what is known as the theorem environment. |
30:33 | So, for example- begin theorem, end theorem, it comes here. He has also used the frame subtitle that comes here in small letters. |
30:42 | And then begin proof, end proof come here. He says 'proof', it opens another window, calls it ‘proof dot’. |
30:52 | This is how it is defined, how this environment is defined. He uses a different alert mechanism. |
31:01 | So if you want to see this, you just go back; remove this handout so that we can see the animation. Compile it. |
31:21 | So let’s go to page number 34. |
31:31 | Let’s see the animation now by going backwards. You see this, you see this. |
31:37 | So what he does here is, so these two items are numbered one, and the others are numbered two and three. |
31:51 | In other words, it is possible to arbitrarily specify the sequence in which the things that you have on the slide will appear. |
32:00 | We don’t have time to go through this in more detail. I would suggest that you go through the reference given here to know more about it. |
32:10 | This guide has lots of features, this beamer class has very large number of classes, and you may want to try out some of them. |
32:20 | Okay. Let me change this back to handout. |
32:36 | The problem with the presentation mode, we are now going to the handout mode, |
32:42 | the presentation mode where you show the animations, generally takes a lot of time to compile. |
32:48 | So, typically you would want to work with the handout mode as much as possible and only once in a while when you really want to check it out you want to use the presentation mode. |
32:59 | Finally of course, when you make the presentation, you may want to use the presentation mode. |
33:06 | And if you want to take a printout, use the handout mode. Let’s go to the end. We are almost at the end of the spoken tutorial. |
33:15 | Let’s acknowledge. In fact let me just copy the whole thing, come here. |
33:31 | Let me just compile it here as usual. Okay. |
33:42 | The funding for this spoken tutorial has come from the National Mission on Education through ICT. This is the website of this mission. |
33:53 | I want to thank you for joining us. This is Kannan Moudgalya, signing off. We would like to receive your feedback at kannan@iitb.ac.in. Thank you very much. |