Difference between revisions of "LaTeX/C2/Letter-Writing/English-timed"

From Script | Spoken-Tutorial
Jump to: navigation, search
(Created page with '{| border=1 !Time !Narration |- |0:00 |Welcome to this tutorial on how to write letters using latex |- |0:06 |You can see three windows: |- |0:08 |These correspond to the three …')
 
 
(3 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 
{| border=1
 
{| border=1
!Time
+
|'''Time'''
!Narration  
+
|'''Narration'''
 +
 
 
|-
 
|-
|0:00
+
|00:00
|Welcome to this tutorial on how to write letters using latex
+
|Welcome to this tutorial on how to write letters using latex.
 +
 
 
|-
 
|-
|0:06
+
|00:06
|You can see three windows:
+
|You can see three windows.
 +
 
 
|-
 
|-
|0:08
+
|00:08
 
|These correspond to the three distinct phases in typesetting through latex:  
 
|These correspond to the three distinct phases in typesetting through latex:  
 +
 
|-
 
|-
|0:13
+
|00:13
|creation of source file, compilation to produce the pdf file and viewing it through a pdf reader.  
+
|creation of '''source file''', compilation to produce the pdf file and viewing it through a '''pdf reader'''.  
 +
 
 
|-
 
|-
|0:22
+
|00:22
 
|I am using the free pdf reader “Skim” in Mac OSX because it automatically loads the latest pdf file after every compilation.
 
|I am using the free pdf reader “Skim” in Mac OSX because it automatically loads the latest pdf file after every compilation.
 +
 
|-
 
|-
|0:34
+
|00:34
|There are pdf browers in Linux and also in windows that have this capability.
+
|There are pdf browsers in Linux and also in Windows that have this capability.
 +
 
 
|-
 
|-
|0:42
+
|00:42
| Let us go through the source file and see what each command does.  
+
|Let us go through the '''source file''' and see what each '''command''' does.  
 +
 
 
|-
 
|-
|0:47
+
|00:47
|The first line says that this belongs to letter document class.
+
|The first line says that this belongs to 'letter document' class.
 +
 
 
|-
 
|-
|0:54
+
|00:54
|12 point is the text size.
+
|'''12 point''' is the text size.
 +
 
 
|-
 
|-
|0:57
+
|00:57
| The first component of the letter is the ‘from address’. It appears between the braces here
+
|The first component of the letter is the ‘from address’. It appears between the braces here.
 +
 
 
|-
 
|-
|1:07
+
|01:07
| The result of this is seen in the top right hand corner of the output file.
+
|The result of this is seen in the top right hand corner of the output file.
 +
 
 
|-
 
|-
|1:14
+
|01:14
 
|Two consecutive slashes start a new line.
 
|Two consecutive slashes start a new line.
 +
 
|-
 
|-
|1:19
+
|01:19
 
|If I remove the double slashes from here –  
 
|If I remove the double slashes from here –  
 +
 
|-
 
|-
|1:25
+
|01:25
|save, compile using pdflatex –  
+
|'''save''', compile using pdflatex –  
 +
 
 
|-
 
|-
|1:37
+
|01:37
 
|you can see that these two lines get merged in one line.
 
|you can see that these two lines get merged in one line.
 +
 
|-
 
|-
|1:43
+
|01:43
| Previously with a double slash we asked latex to split the line.
+
|Previously with a double slash we asked latex to split the line.
 +
 
 
|-
 
|-
|1:49
+
|01:49
| Now these reverse slashes are no longer there, so latex does not know that it has to break the line there.  
+
|Now these reverse slashes are no longer there, so latex does not know that it has to break the line there.  
 +
 
 
|-
 
|-
|1:56
+
|01:56
| Let me put the slashes back.
+
|Let me put the slashes back.
 +
 
 
|-
 
|-
|2:04
+
|02:04
|Save, Compile.
+
|'''Save''', Compile.
 +
 
 
|-
 
|-
|2:08
+
|02:08
|It is to be understood, that after every change we need to save before compilation.  
+
|It is to be understood that after every change we need to '''save''' before compilation.  
 +
 
 
|-
 
|-
|2:15
+
|02:15
 
|Let us see what happens when we give an empty address.
 
|Let us see what happens when we give an empty address.
 +
 
|-
 
|-
|2:21
+
|02:21
 
|Let me just come here,  
 
|Let me just come here,  
 +
 
|-
 
|-
|2:24
+
|02:24
 
|mark it,  
 
|mark it,  
 +
 
|-
 
|-
|2:27
+
|02:27
 
|go to the end of the line, delete it, save it, compile it.
 
|go to the end of the line, delete it, save it, compile it.
 +
 
|-
 
|-
|2:37
+
|02:37
 
|You can see that the from address has disappeared from here.  
 
|You can see that the from address has disappeared from here.  
 +
 
|-
 
|-
|2:44
+
|02:44
 
|Note that today’s date appears automatically in American style: month, date and then year.
 
|Note that today’s date appears automatically in American style: month, date and then year.
 +
 
|-
 
|-
|2:54
+
|02:54
| This is obtained throught the command slash date slash today.
+
|This is obtained through the command '''slash date slash today'''.
 +
 
 
|-
 
|-
|3:02
+
|03:02
 
|We can prevent the automatic appearance of the date with an empty list, as we do now.
 
|We can prevent the automatic appearance of the date with an empty list, as we do now.
 +
 
|-
 
|-
|3:12
+
|03:12
 
|Save.  
 
|Save.  
 +
 
|-
 
|-
|3:17
+
|03:17
|Compile.
+
|Compile,The date has gone.
 +
 
 
|-
 
|-
|3:18
+
|03:20
| The date has gone.
+
|Suppose that we want to put our own date, let us enter it with date first as follows.
 +
 
 
|-
 
|-
|3:20
+
|03:30
| Suppose that we want to put our own date, let us enter it with date first as follows.
+
|-
+
|3:30
+
 
|9th July 2007, Save, Compile.
 
|9th July 2007, Save, Compile.
 +
 
|-
 
|-
|3:40
+
|03:40
 
|Got the date.
 
|Got the date.
 +
 
|-
 
|-
|3:43
+
|03:43
| This is the date on which this tutorial was created the first time.
+
|This is the date on which this tutorial was created the first time.
 +
 
 
|-
 
|-
|3:47
+
|03:47
| On compiling it, we see this Indian format appearing in the output file.
+
|On compiling it, we see this Indian format appearing in the output file.
 +
 
 
|-
 
|-
|3:53
+
|03:53
| Let us put the address back.  
+
|Let us put the address back.  
 +
 
 
|-
 
|-
|4:02
+
|04:02
 
|And the document is back to the previous state by recompiling.  
 
|And the document is back to the previous state by recompiling.  
 +
 
|-
 
|-
|4:08
+
|04:08
|The signature commands argument appears at the bottom of the letter.
+
|The '''signature''' command's argument appears at the bottom of the letter.
 +
 
 
|-
 
|-
|4:17
+
|04:17
| We begin the document and then the letter.
+
|We begin the document and then the letter.
 +
 
 
|-
 
|-
|4:22
+
|04:22
 
|The ‘to address’ comes first. It appears in the top left hand corner of the output.
 
|The ‘to address’ comes first. It appears in the top left hand corner of the output.
 +
 
|-
 
|-
|4:30
+
|04:30
 
|I have addressed this to Mr. N. K. Sinha.
 
|I have addressed this to Mr. N. K. Sinha.
 +
 
|-
 
|-
|4:34
+
|04:34
 
|The command ‘slash opening’ is used to address the recipient.
 
|The command ‘slash opening’ is used to address the recipient.
 +
 
|-
 
|-
|4:40
+
|04:40
 
|You may have already noticed that all latex commands begin with a reverse slash.  
 
|You may have already noticed that all latex commands begin with a reverse slash.  
 +
 
|-
 
|-
|4:48
+
|04:48
 
|The text of the letter comes next.
 
|The text of the letter comes next.
 +
 
|-
 
|-
|4:53
+
|04:53
| One starts a new paragraph in latex through a blank line as we show now.
+
|One starts a new paragraph in latex through a blank line as we show now.
 +
 
 
|-
 
|-
|5:00
+
|05:00
| Let me come here. Right now this sentence starting at ‘we are’ is here.
+
|Let me come here. Right now this sentence starting at ‘we are’ is here.
 +
 
 
|-
 
|-
|5:07
+
|05:07
| Let’s open. Let's take this to the next line.
+
|Let’s open. Let's take this to the next line.
 +
 
 
|-
 
|-
|5:12
+
|05:12
| I have left a blank line. Let me save this.
+
|I have left a blank line. Let me '''save''' this.
 +
 
 
|-
 
|-
|5:17
+
|05:17
| Compile this.
+
|Compile this.
 +
 
 
|-
 
|-
|5:19
+
|05:19
| You can see that this has gone to a new paragraph
+
|You can see that this has gone to a new paragraph.
 +
 
 
|-
 
|-
|5:25
+
|05:25
 
|With a new paragraph, the letter has gone to two pages.
 
|With a new paragraph, the letter has gone to two pages.
 +
 
|-
 
|-
|5:29
+
|05:29
| Let us see if the font size is reduced to 10, we can bring the letter back to one page.
+
|Let us see if the '''font size''' is reduced to 10, we can bring the letter back to one page.
 +
 
 
|-
 
|-
|5:37
+
|05:37
| Let me do that now
+
|Let me do that now.
 +
 
 
|-
 
|-
|5:42
+
|05:42
 
|Save.  
 
|Save.  
 +
 
|-
 
|-
|5:48
+
|05:48
|Compile.  
+
|Compile,You can see that the whole letter has come into one page.
 +
 
 
|-
 
|-
|5:49
+
|05:54
| You can see that the whole letter has come to one page.
+
|Let me put this back to '''12 pt'''.
 +
 
 
|-
 
|-
|5:54
+
|06:00
|Let me put this back to 12 pt.
+
|And let me also remove this paragraph bit.
 +
 
 
|-
 
|-
|6:00
+
|06:06
| And let me also remove this paragraph bit.
+
|-
+
|6:06
+
 
|And let me compile this.
 
|And let me compile this.
 +
 
|-
 
|-
|6:12
+
|06:12
| Okay.  
+
|Okay.  
 +
 
 
|-
 
|-
|6:14
+
|06:14
|I now want to explain the itemize environment which is created with a pair of begin and end itemize commands.
+
|I now want to explain the itemize environment which is created with a pair of 'begin' and 'end itemize' '''commands'''.
 +
 
 
|-
 
|-
|6:29
+
|06:29
| Every piece of text that starts with a ‘slash item’ appears in a bulleted form.
+
|Every piece of text that starts with a ‘slash item’ appears in a bulleted form.
 +
 
 
|-
 
|-
|6:37
+
|06:37
| Can I get numbers in the place of bullets here?  
+
|Can I get numbers in the place of bullets here?  
 +
 
 
|-
 
|-
|6:41
+
|06:41
|You just have to change the itemize into enumerate as I do now.
+
|You just have to change the "itemize" into "enumerate" as I do now.
 +
 
 
|-
 
|-
|6:46
+
|06:46
| Let me just change this to enumerate.  
+
|Let me just change this to "enumerate".  
 +
 
 
|-
 
|-
|6:53
+
|06:53
|Save it.
+
|'''Save''' it.
 +
 
 
|-
 
|-
|7:00
+
|07:00
| Of course! It is always a good idea to save as often as possible.
+
|Of course! It is always a good idea to save as often as possible.
 +
 
 
|-
 
|-
|7:05
+
|07:05
| Let me compile this again.
+
|Let me compile this again.
 +
 
 
|-
 
|-
|7:09
+
|07:09
 
|You can see that the bullets have become numbers now.  
 
|You can see that the bullets have become numbers now.  
 +
 
|-
 
|-
|7:15
+
|07:15
|In closing, I have included, ‘Yours sincerely’, which comes here.
+
|In closing, I have included, ‘Yours sincerely’ which comes here.
 +
 
 
|-
 
|-
|7:22
+
|07:22
 
|We have already talked about the signature.  
 
|We have already talked about the signature.  
 +
 
|-
 
|-
|7:26
+
|07:26
| Finally, the command cc helps mark this letter to other recipients.
+
|Finally, the command 'cc' helps mark this letter to other recipients.
 +
 
 
|-
 
|-
|7:35
+
|07:35
| I end the letter with ‘end letter’ command and then the document is completed with the ‘end document’ command.  
+
|I end the letter with ‘end letter’ command and then the document is completed with the ‘end document’ command.  
 +
 
 
|-
 
|-
|7:44
+
|07:44
 
|Feel free to modify the content and try them out.
 
|Feel free to modify the content and try them out.
 +
 
|-
 
|-
|7:48
+
|07:48
 
|Until you become confident, change only one thing at a time and make sure by immediate compilation that whatever you have done is correct.  
 
|Until you become confident, change only one thing at a time and make sure by immediate compilation that whatever you have done is correct.  
 +
 
|-
 
|-
|7:58
+
|07:58
|Although I talked about the letter writing process in a Mac, the same source file will work in all Latex systems including those in Linux and Windows operation systems.  
+
|Although I talked about the letter writing process in a Mac, the same source file will work in all Latex systems including those in Linux and Windows operating systems.  
 +
 
 
|-
 
|-
|8:10
+
|08:10
 
|This brings us to the end of this tutorial.  
 
|This brings us to the end of this tutorial.  
 +
 
|-
 
|-
|8:13
+
|08:13
|Thanks for listening.
+
|Thanks for listening,This is Kannan Moudgalya from CDEEP, IIT Bombay, signing off. Good bye.  
|-
+
|8:14
+
| This is ---------------(your name) from ---------------------(Affiliation and name of the place) signing off. Good bye.  
+
 
|-
 
|-
 
|
 
|
 
|}
 
|}

Latest revision as of 11:15, 24 March 2017

Time Narration
00:00 Welcome to this tutorial on how to write letters using latex.
00:06 You can see three windows.
00:08 These correspond to the three distinct phases in typesetting through latex:
00:13 creation of source file, compilation to produce the pdf file and viewing it through a pdf reader.
00:22 I am using the free pdf reader “Skim” in Mac OSX because it automatically loads the latest pdf file after every compilation.
00:34 There are pdf browsers in Linux and also in Windows that have this capability.
00:42 Let us go through the source file and see what each command does.
00:47 The first line says that this belongs to 'letter document' class.
00:54 12 point is the text size.
00:57 The first component of the letter is the ‘from address’. It appears between the braces here.
01:07 The result of this is seen in the top right hand corner of the output file.
01:14 Two consecutive slashes start a new line.
01:19 If I remove the double slashes from here –
01:25 save, compile using pdflatex –
01:37 you can see that these two lines get merged in one line.
01:43 Previously with a double slash we asked latex to split the line.
01:49 Now these reverse slashes are no longer there, so latex does not know that it has to break the line there.
01:56 Let me put the slashes back.
02:04 Save, Compile.
02:08 It is to be understood that after every change we need to save before compilation.
02:15 Let us see what happens when we give an empty address.
02:21 Let me just come here,
02:24 mark it,
02:27 go to the end of the line, delete it, save it, compile it.
02:37 You can see that the from address has disappeared from here.
02:44 Note that today’s date appears automatically in American style: month, date and then year.
02:54 This is obtained through the command slash date slash today.
03:02 We can prevent the automatic appearance of the date with an empty list, as we do now.
03:12 Save.
03:17 Compile,The date has gone.
03:20 Suppose that we want to put our own date, let us enter it with date first as follows.
03:30 9th July 2007, Save, Compile.
03:40 Got the date.
03:43 This is the date on which this tutorial was created the first time.
03:47 On compiling it, we see this Indian format appearing in the output file.
03:53 Let us put the address back.
04:02 And the document is back to the previous state by recompiling.
04:08 The signature command's argument appears at the bottom of the letter.
04:17 We begin the document and then the letter.
04:22 The ‘to address’ comes first. It appears in the top left hand corner of the output.
04:30 I have addressed this to Mr. N. K. Sinha.
04:34 The command ‘slash opening’ is used to address the recipient.
04:40 You may have already noticed that all latex commands begin with a reverse slash.
04:48 The text of the letter comes next.
04:53 One starts a new paragraph in latex through a blank line as we show now.
05:00 Let me come here. Right now this sentence starting at ‘we are’ is here.
05:07 Let’s open. Let's take this to the next line.
05:12 I have left a blank line. Let me save this.
05:17 Compile this.
05:19 You can see that this has gone to a new paragraph.
05:25 With a new paragraph, the letter has gone to two pages.
05:29 Let us see if the font size is reduced to 10, we can bring the letter back to one page.
05:37 Let me do that now.
05:42 Save.
05:48 Compile,You can see that the whole letter has come into one page.
05:54 Let me put this back to 12 pt.
06:00 And let me also remove this paragraph bit.
06:06 And let me compile this.
06:12 Okay.
06:14 I now want to explain the itemize environment which is created with a pair of 'begin' and 'end itemize' commands.
06:29 Every piece of text that starts with a ‘slash item’ appears in a bulleted form.
06:37 Can I get numbers in the place of bullets here?
06:41 You just have to change the "itemize" into "enumerate" as I do now.
06:46 Let me just change this to "enumerate".
06:53 Save it.
07:00 Of course! It is always a good idea to save as often as possible.
07:05 Let me compile this again.
07:09 You can see that the bullets have become numbers now.
07:15 In closing, I have included, ‘Yours sincerely’ which comes here.
07:22 We have already talked about the signature.
07:26 Finally, the command 'cc' helps mark this letter to other recipients.
07:35 I end the letter with ‘end letter’ command and then the document is completed with the ‘end document’ command.
07:44 Feel free to modify the content and try them out.
07:48 Until you become confident, change only one thing at a time and make sure by immediate compilation that whatever you have done is correct.
07:58 Although I talked about the letter writing process in a Mac, the same source file will work in all Latex systems including those in Linux and Windows operating systems.
08:10 This brings us to the end of this tutorial.
08:13 Thanks for listening,This is Kannan Moudgalya from CDEEP, IIT Bombay, signing off. Good bye.

Contributors and Content Editors

Minal, PoojaMoolya, Pratik kamble, Priyacst, Sandhya.np14