Difference between revisions of "LaTeX/C2/LaTeX-on-Windows-using-TeXworks/English"

From Script | Spoken-Tutorial
Jump to: navigation, search
(Created page with ''''Title of script''': '''LaTeX on Windows using TeXworks''' '''Author: '''Rupak Rokade '''Keywords: '''video tutorial,''' LaTeX''', '''TeXworks''', windows, '''MikTeX''', …')
 
Line 7: Line 7:
  
  
{| style="border-spacing:0;"
+
{| border=1
| style="background-color:#ffffff;border-top:1pt solid #000000;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:0.05pt solid #000000;padding-top:0cm;padding-bottom:0cm;padding-left:0.097cm;padding-right:0.097cm;"| <center>'''Visual Cue'''</center>
+
|| '''Visual Cue'''
| style="background-color:#ffffff;border:1pt solid #000000;padding-top:0cm;padding-bottom:0cm;padding-left:0.097cm;padding-right:0.097cm;"| <center>'''Narration'''</center>
+
|| '''Narration'''
  
 
|-
 
|-
| style="background-color:#ffffff;border-top:0.05pt solid #000000;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:0.05pt solid #000000;padding-top:0cm;padding-bottom:0cm;padding-left:0.097cm;padding-right:0.097cm;"| On slide
+
|On slide
| style="background-color:#ffffff;border-top:0.05pt solid #000000;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding-top:0cm;padding-bottom:0cm;padding-left:0.097cm;padding-right:0.097cm;"| Dear Friends,
+
| Dear Friends,
  
 
Welcome to the spoken tutorial on '''“LaTeX on Windows using TeXworks”'''
 
Welcome to the spoken tutorial on '''“LaTeX on Windows using TeXworks”'''
  
 
|-
 
|-
| style="background-color:#ffffff;border-top:0.05pt solid #000000;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:0.05pt solid #000000;padding-top:0cm;padding-bottom:0cm;padding-left:0.097cm;padding-right:0.097cm;"| On slide
+
|On slide
| style="background-color:#ffffff;border-top:0.05pt solid #000000;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding-top:0cm;padding-bottom:0cm;padding-left:0.097cm;padding-right:0.097cm;"| In this tutorial we will learn to,
+
  
 +
 +
 +
 +
| In this tutorial we will learn to,
 
# Download and install '''MikTeX'''  
 
# Download and install '''MikTeX'''  
 
# Write basic '''LaTeX''' documents using '''TeXworks'''
 
# Write basic '''LaTeX''' documents using '''TeXworks'''
 
# Configure '''MikTeX''' to download missing packages
 
# Configure '''MikTeX''' to download missing packages
 
 
  
 
|-
 
|-
| style="background-color:#ffffff;border-top:0.05pt solid #000000;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:0.05pt solid #000000;padding-top:0cm;padding-bottom:0cm;padding-left:0.097cm;padding-right:0.097cm;"| On slide
+
|On slide
| style="background-color:#ffffff;border-top:0.05pt solid #000000;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding-top:0cm;padding-bottom:0cm;padding-left:0.097cm;padding-right:0.097cm;"| To record this tutorial, I am using '''Windows7 '''operating system and MikTeX2.9
+
| To record this tutorial, I am using '''Windows7 '''operating system and MikTeX2.9
  
 
|-
 
|-
| style="background-color:#ffffff;border-top:0.05pt solid #000000;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:0.05pt solid #000000;padding-top:0cm;padding-bottom:0cm;padding-left:0.097cm;padding-right:0.097cm;"| On slide
+
|On slide
| style="background-color:#ffffff;border-top:0.05pt solid #000000;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding-top:0cm;padding-bottom:0cm;padding-left:0.097cm;padding-right:0.097cm;"| Let us now see the salient features of '''TeXworks'''
+
 
 +
 
 +
 
 +
 
 +
| Let us now see the salient features of '''TeXworks'''
  
 
# It is platform independent
 
# It is platform independent
Line 39: Line 44:
 
# It supports Indian language typesetting
 
# It supports Indian language typesetting
  
 +
|-
 +
|On slide
  
  
|-
+
 
| style="background-color:#ffffff;border-top:0.05pt solid #000000;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:0.05pt solid #000000;padding-top:0cm;padding-bottom:0cm;padding-left:0.097cm;padding-right:0.097cm;"| On slide
+
 
| style="background-color:#ffffff;border-top:0.05pt solid #000000;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding-top:0cm;padding-bottom:0cm;padding-left:0.097cm;padding-right:0.097cm;"| Before we start with '''TeXworks''', we have to install '''MikTeX'''.  
+
 
 +
| Before we start with '''TeXworks''', we have to install '''MikTeX'''.  
  
 
'''MikTeX''' is an up-to-date implementation of '''TeX/LaTeX''' and related programs for '''Windows'''.
 
'''MikTeX''' is an up-to-date implementation of '''TeX/LaTeX''' and related programs for '''Windows'''.
Line 52: Line 60:
  
 
|-
 
|-
| style="background-color:#ffffff;border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:0.05pt solid #000000;padding-top:0cm;padding-bottom:0cm;padding-left:0.097cm;padding-right:0.097cm;"| On the browser
+
| On the browser
| style="background-color:#ffffff;border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding-top:0cm;padding-bottom:0cm;padding-left:0.097cm;padding-right:0.097cm;"| Go to the website [http://www.miktex.org/ www.]'''miktex'''[http://www.miktex.org/ .org]
+
|Go to the website [http://www.miktex.org/ www.]'''miktex'''[http://www.miktex.org/ .org]
  
 
|-
 
|-
| style="background-color:#ffffff;border-top:0.05pt solid #000000;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:0.05pt solid #000000;padding-top:0cm;padding-bottom:0cm;padding-left:0.097cm;padding-right:0.097cm;"| Click on that link
+
|Click on that link
| style="background-color:#ffffff;border-top:0.05pt solid #000000;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding-top:0cm;padding-bottom:0cm;padding-left:0.097cm;padding-right:0.097cm;"| Click on the download link for recommended '''MikTeX''' installer.
+
 
 +
 
 +
 
 +
| Click on the download link for recommended '''MikTeX''' installer.
  
 
This will download the '''MikTeX''' installer.
 
This will download the '''MikTeX''' installer.
  
 
|-
 
|-
| style="background-color:#ffffff;border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:0.05pt solid #000000;padding-top:0cm;padding-bottom:0cm;padding-left:0.097cm;padding-right:0.097cm;"| Choose Desktop in Save location
+
| Choose Desktop in Save location
| style="background-color:#ffffff;border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding-top:0cm;padding-bottom:0cm;padding-left:0.097cm;padding-right:0.097cm;"| Download and save it on your '''Desktop.'''
+
 
 +
 
 +
 
 +
 
 +
|Download and save it on your '''Desktop.'''
  
 
It is a large file, about 154 mega bytes.  
 
It is a large file, about 154 mega bytes.  
Line 70: Line 85:
  
 
|-
 
|-
| style="background-color:#ffffff;border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:0.05pt solid #000000;padding-top:0cm;padding-bottom:0cm;padding-left:0.097cm;padding-right:0.097cm;"| Switch to the Desktop and point to the file.
+
| Switch to the Desktop and point to the file.
| style="background-color:#ffffff;border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding-top:0cm;padding-bottom:0cm;padding-left:0.097cm;padding-right:0.097cm;"| I have already downloaded this file. Here it is.
+
|I have already downloaded this file. Here it is.
  
 
|-
 
|-
| style="background-color:#ffffff;border-top:0.05pt solid #000000;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:0.05pt solid #000000;padding-top:0cm;padding-bottom:0cm;padding-left:0.097cm;padding-right:0.097cm;"| Double-click >> click Run
+
|Double-click >> click Run
| style="background-color:#ffffff;border-top:0.05pt solid #000000;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding-top:0cm;padding-bottom:0cm;padding-left:0.097cm;padding-right:0.097cm;"| Double click on this file to start the installation.
+
  
Check the check box and click on next.  
+
 
 +
 
 +
 
 +
| Double click on this file to start the installation.
 +
 
 +
Check the check box and click on '''Next'''.  
  
 
Choose all default options.
 
Choose all default options.
  
 
|-
 
|-
| style="background-color:#ffffff;border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:0.05pt solid #000000;padding-top:0cm;padding-bottom:0cm;padding-left:0.097cm;padding-right:0.097cm;"| Show the installation process
+
| Show the installation process
| style="background-color:#ffffff;border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding-top:0cm;padding-bottom:0cm;padding-left:0.097cm;padding-right:0.097cm;"| The installation will take around 5 to 10 minutes.
+
  
I have already installed '''MikTeX''' on my computer.
 
  
Hence I will not proceed with the installation.
 
  
  
  
 +
|The installation will take around 5 to 10 minutes.
 +
 +
I have already installed '''MikTeX''' on my computer.
 +
 +
Hence I will not proceed with the installation.
  
 
|-
 
|-
| style="background-color:#ffffff;border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:0.05pt solid #000000;padding-top:0cm;padding-bottom:0cm;padding-left:0.097cm;padding-right:0.097cm;"|  
+
|  
| style="background-color:#ffffff;border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding-top:0cm;padding-bottom:0cm;padding-left:0.097cm;padding-right:0.097cm;"| After successfully installing '''MikTeX''' on your computer, let us see how to use the '''TeXworks''' editor which comes with '''MikTeX.'''
+
|After successfully installing '''MikTeX''' on your computer,  
 +
 
 +
let us see how to use the '''TeXworks''' editor which comes with '''MikTeX.'''
  
 
|-
 
|-
| style="background-color:#ffffff;border-top:0.05pt solid #000000;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:0.05pt solid #000000;padding-top:0cm;padding-bottom:0cm;padding-left:0.097cm;padding-right:0.097cm;"| Click on Windows>>All programs >> '''MikTeX'''>>'''TeXworks'''
+
|Click on Windows>>All programs >> '''MikTeX'''>>'''TeXworks'''
| style="background-color:#ffffff;border-top:0.05pt solid #000000;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding-top:0cm;padding-bottom:0cm;padding-left:0.097cm;padding-right:0.097cm;"| Click on the '''Windows start''' button.
+
 
 +
 
 +
 
 +
 
 +
 
 +
| Click on the '''Windows start''' button.
  
 
Click on '''All Programs'''.
 
Click on '''All Programs'''.
Line 107: Line 135:
  
 
|-
 
|-
| style="background-color:#ffffff;border-top:0.05pt solid #000000;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:0.05pt solid #000000;padding-top:0cm;padding-bottom:0cm;padding-left:0.097cm;padding-right:0.097cm;"|  
+
|
| style="background-color:#ffffff;border-top:0.05pt solid #000000;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding-top:0cm;padding-bottom:0cm;padding-left:0.097cm;padding-right:0.097cm;"| '''TeXworks''' editor will open.
+
| '''TeXworks''' editor will open.
  
 
Let me open an already existing '''LaTeX''' document.
 
Let me open an already existing '''LaTeX''' document.
  
 
|-
 
|-
| style="background-color:#ffffff;border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:0.05pt solid #000000;padding-top:0cm;padding-bottom:0cm;padding-left:0.097cm;padding-right:0.097cm;"| Click on File >> Open >> hello.tex
+
| Click on File >> Open >> hello.tex
| style="background-color:#ffffff;border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding-top:0cm;padding-bottom:0cm;padding-left:0.097cm;padding-right:0.097cm;"| I will click on '''File,''' then click on '''open''' and choose the directory.
+
|I will click on '''File,''' then click on '''Open''' and choose the directory.
  
 
Then I will open the file '''hello.tex'''.
 
Then I will open the file '''hello.tex'''.
  
 
|-
 
|-
| style="background-color:#ffffff;border-top:0.05pt solid #000000;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:0.05pt solid #000000;padding-top:0cm;padding-bottom:0cm;padding-left:0.097cm;padding-right:0.097cm;"| Point to some of the coloured text
+
|Point to some of the coloured text
  
  
 
Point also to the user content
 
Point also to the user content
| style="background-color:#ffffff;border-top:0.05pt solid #000000;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding-top:0cm;padding-bottom:0cm;padding-left:0.097cm;padding-right:0.097cm;"| You can see that the text written in the file is colored.
+
 
 +
| You can see that the text written in the file is colored.
  
 
This is called '''syntax''' '''highlighting'''.  
 
This is called '''syntax''' '''highlighting'''.  
  
 
It helps the user differentiate between the user content and the '''LaTeX''' syntax.
 
It helps the user differentiate between the user content and the '''LaTeX''' syntax.
 
 
 
  
 
|-
 
|-
| style="background-color:#ffffff;border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:0.05pt solid #000000;padding-top:0cm;padding-bottom:0cm;padding-left:0.097cm;padding-right:0.097cm;"|  
+
|  
| style="background-color:#ffffff;border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding-top:0cm;padding-bottom:0cm;padding-left:0.097cm;padding-right:0.097cm;"| In case the '''LaTeX''' syntax is not highlighted, do the following.
+
|In case the '''LaTeX''' syntax is not highlighted, do the following.
  
 
|-
 
|-
| style="background-color:#ffffff;border-top:0.05pt solid #000000;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:0.05pt solid #000000;padding-top:0cm;padding-bottom:0cm;padding-left:0.097cm;padding-right:0.097cm;"| Click on Format
+
|Click on Format
| style="background-color:#ffffff;border-top:0.05pt solid #000000;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding-top:0cm;padding-bottom:0cm;padding-left:0.097cm;padding-right:0.097cm;"| In the '''TeXworks''' window, click on the '''Format''' button available on the '''menu''' bar.
+
| In the '''TeXworks''' window, click on '''Format''' button available on the '''Menu bar'''.
  
 
|-
 
|-
| style="background-color:#ffffff;border-top:0.05pt solid #000000;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:0.05pt solid #000000;padding-top:0cm;padding-bottom:0cm;padding-left:0.097cm;padding-right:0.097cm;"| Select '''Syntax Colouring'''>>'''LaTeX'''.
+
|Select '''Syntax Colouring'''>>'''LaTeX'''.
| style="background-color:#ffffff;border-top:0.05pt solid #000000;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding-top:0cm;padding-bottom:0cm;padding-left:0.097cm;padding-right:0.097cm;"| Select '''Syntax Colouring''' and then click on '''LaTeX'''.
+
| Select '''Syntax Colouring''' and then click on '''LaTeX'''.
 
+
 
+
 
+
  
 
|-
 
|-
| style="background-color:#ffffff;border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:0.05pt solid #000000;padding-top:0cm;padding-bottom:0cm;padding-left:0.097cm;padding-right:0.097cm;"|  
+
|
| style="background-color:#ffffff;border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding-top:0cm;padding-bottom:0cm;padding-left:0.097cm;padding-right:0.097cm;"|
+
| If you want '''TeXworks''' to apply '''syntax highlighting''' every time you create a '''LaTeX''' document, do the following
  
 
|-
 
|-
| style="background-color:#ffffff;border-top:0.05pt solid #000000;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:0.05pt solid #000000;padding-top:0cm;padding-bottom:0cm;padding-left:0.097cm;padding-right:0.097cm;"|
+
| Click on '''Edit''' >> '''Preferences'''
| style="background-color:#ffffff;border-top:0.05pt solid #000000;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding-top:0cm;padding-bottom:0cm;padding-left:0.097cm;padding-right:0.097cm;"| If you want '''TeXworks''' to apply '''syntax highlighting''' every time you create a '''LaTeX''' document, do the following,
+
|On the '''menu''' bar, click on '''Edit''' and then click on '''Preferences'''.
  
 
|-
 
|-
| style="background-color:#ffffff;border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:0.05pt solid #000000;padding-top:0cm;padding-bottom:0cm;padding-left:0.097cm;padding-right:0.097cm;"| Click on '''Edit''' >> '''Preferences'''
+
| Editor tab>> dropdown>> Syntax Colouring
| style="background-color:#ffffff;border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding-top:0cm;padding-bottom:0cm;padding-left:0.097cm;padding-right:0.097cm;"| On the '''menu''' bar, click on '''Edit''' and then click on '''Preferences'''.
+
|In the '''Editor''' tab, click on the dropdown button which gives options for '''Syntax Colouring'''.
  
 
|-
 
|-
| style="background-color:#ffffff;border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:0.05pt solid #000000;padding-top:0cm;padding-bottom:0cm;padding-left:0.097cm;padding-right:0.097cm;"| Editor tab>> dropdown>> Syntax Colouring
+
| Choose '''LaTeX'''>>Ok
| style="background-color:#ffffff;border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding-top:0cm;padding-bottom:0cm;padding-left:0.097cm;padding-right:0.097cm;"| In the '''Editor''' tab, click on the dropdown button which gives options for '''Syntax Colouring'''.
+
|Choose '''LaTeX''' and then click on '''Ok.'''
  
 
|-
 
|-
| style="background-color:#ffffff;border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:0.05pt solid #000000;padding-top:0cm;padding-bottom:0cm;padding-left:0.097cm;padding-right:0.097cm;"| Choose '''LaTeX'''>>Ok
+
|  
| style="background-color:#ffffff;border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding-top:0cm;padding-bottom:0cm;padding-left:0.097cm;padding-right:0.097cm;"| Choose '''LaTeX''' and then click on '''Ok.'''
+
|In this way, '''syntax''' '''highlighting''' will be applied to all documents created in the future.
  
 
|-
 
|-
| style="background-color:#ffffff;border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:0.05pt solid #000000;padding-top:0cm;padding-bottom:0cm;padding-left:0.097cm;padding-right:0.097cm;"|  
+
|  
| style="background-color:#ffffff;border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding-top:0cm;padding-bottom:0cm;padding-left:0.097cm;padding-right:0.097cm;"| In this way, '''syntax''' '''highlighting''' will be applied to all documents created in the future.
+
|Now we are ready to compile our '''LaTeX''' document.
  
 
|-
 
|-
| style="background-color:#ffffff;border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:0.05pt solid #000000;padding-top:0cm;padding-bottom:0cm;padding-left:0.097cm;padding-right:0.097cm;"|
+
|Press Ctrl+T keys
| style="background-color:#ffffff;border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding-top:0cm;padding-bottom:0cm;padding-left:0.097cm;padding-right:0.097cm;"| Now we are ready to compile our '''LaTeX''' document.
+
| Press '''Ctrl''' and '''t''' keys together to start the compilation.
  
 
|-
 
|-
| style="background-color:#ffffff;border-top:0.05pt solid #000000;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:0.05pt solid #000000;padding-top:0cm;padding-bottom:0cm;padding-left:0.097cm;padding-right:0.097cm;"| Press Ctrl+T keys
+
|
| style="background-color:#ffffff;border-top:0.05pt solid #000000;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding-top:0cm;padding-bottom:0cm;padding-left:0.097cm;padding-right:0.097cm;"| Press '''Ctrl''' and '''t''' keys together to start the compilation.
+
| Once the document is compiled without errors, the resulting '''pdf''' will be opened.
  
 
|-
 
|-
| style="background-color:#ffffff;border-top:0.05pt solid #000000;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:0.05pt solid #000000;padding-top:0cm;padding-bottom:0cm;padding-left:0.097cm;padding-right:0.097cm;"|
+
| Point to the pdf document
| style="background-color:#ffffff;border-top:0.05pt solid #000000;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding-top:0cm;padding-bottom:0cm;padding-left:0.097cm;padding-right:0.097cm;"| Once the document is compiled without errors, the resulting '''pdf''' will be opened.
+
|Note that this '''pdf''' reader comes along with '''TeXworks.'''
  
  
 +
It is the default '''pdf''' reader used by '''TeXworks''' to display the compiled '''pdf''' documents.
  
 +
|-
 +
|
 +
| Now let us compile a '''Beamer''' document.
  
 
|-
 
|-
| style="background-color:#ffffff;border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:0.05pt solid #000000;padding-top:0cm;padding-bottom:0cm;padding-left:0.097cm;padding-right:0.097cm;"| Point to the pdf document
+
| On slide
| style="background-color:#ffffff;border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding-top:0cm;padding-bottom:0cm;padding-left:0.097cm;padding-right:0.097cm;"| Note that this '''pdf''' reader comes along with '''TeXworks.'''
+
  
  
It is the default '''pdf''' reader used by '''TeXworks''' to display the compiled '''pdf''' documents.
 
  
|-
 
| style="background-color:#ffffff;border-top:0.05pt solid #000000;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:0.05pt solid #000000;padding-top:0cm;padding-bottom:0cm;padding-left:0.097cm;padding-right:0.097cm;"|
 
| style="background-color:#ffffff;border-top:0.05pt solid #000000;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding-top:0cm;padding-bottom:0cm;padding-left:0.097cm;padding-right:0.097cm;"| Now let us compile a '''Beamer''' document.
 
  
|-
+
|Beamer package by default is not included in the '''MikTeX''' setup that we have installed.
| style="background-color:#ffffff;border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:0.05pt solid #000000;padding-top:0cm;padding-bottom:0cm;padding-left:0.097cm;padding-right:0.097cm;"| On slide
+
| style="background-color:#ffffff;border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding-top:0cm;padding-bottom:0cm;padding-left:0.097cm;padding-right:0.097cm;"| Beamer package by default is not included in the '''MikTeX''' setup that we have installed.
+
  
This means that we have to download it from some source and add it to our current '''MikTeX''' distribution
+
This means that we have to  
 +
*download it from some source and  
 +
*add it to our current '''MikTeX''' distribution
  
 +
|-
 +
| On slide
  
  
  
|-
+
 
| style="background-color:#ffffff;border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:0.05pt solid #000000;padding-top:0cm;padding-bottom:0cm;padding-left:0.097cm;padding-right:0.097cm;"| On slide
+
|There are two ways of installing a missing package.
| style="background-color:#ffffff;border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding-top:0cm;padding-bottom:0cm;padding-left:0.097cm;padding-right:0.097cm;"| There are two ways of installing a missing package.
+
  
 
One way is to install it on the fly while we are compiling a '''LaTeX''' document
 
One way is to install it on the fly while we are compiling a '''LaTeX''' document
Line 215: Line 238:
  
  
Other way is to manually choose and install a package using '''Package''' '''Manager''' of '''MikTeX'''.
+
Other way, is to manually choose and install a package using '''Package''' '''Manager''' of '''MikTeX'''.
  
 
|-
 
|-
| style="background-color:#ffffff;border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:0.05pt solid #000000;padding-top:0cm;padding-bottom:0cm;padding-left:0.097cm;padding-right:0.097cm;"|  
+
|  
| style="background-color:#ffffff;border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding-top:0cm;padding-bottom:0cm;padding-left:0.097cm;padding-right:0.097cm;"| Let us see the first method.
+
|Let us see the first method.
  
 
|-
 
|-
| style="background-color:#ffffff;border-top:0.05pt solid #000000;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:0.05pt solid #000000;padding-top:0cm;padding-bottom:0cm;padding-left:0.097cm;padding-right:0.097cm;"|  
+
|
| style="background-color:#ffffff;border-top:0.05pt solid #000000;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding-top:0cm;padding-bottom:0cm;padding-left:0.097cm;padding-right:0.097cm;"| We will open and compile a '''LaTeX''' document, which requires '''MikTeX''' to install packages from the internet.
+
| We will  
 +
* open and compile a '''LaTeX''' document,  
 +
* which requires '''MikTeX'''  
 +
* to install packages from the '''internet'''.
  
 
|-
 
|-
| style="background-color:#ffffff;border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:0.05pt solid #000000;padding-top:0cm;padding-bottom:0cm;padding-left:0.097cm;padding-right:0.097cm;"| Close '''TeXworks'''
+
| Close '''TeXworks'''
| style="background-color:#ffffff;border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding-top:0cm;padding-bottom:0cm;padding-left:0.097cm;padding-right:0.097cm;"| First close the '''TeXworks''' editor.
+
|First close the '''TeXworks''' editor.
  
 
|-
 
|-
| style="background-color:#ffffff;border-top:0.05pt solid #000000;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:0.05pt solid #000000;padding-top:0cm;padding-bottom:0cm;padding-left:0.097cm;padding-right:0.097cm;"| Click on Start>> All programs >> '''MikTeX'''
+
|Click on Start>> All programs >> '''MikTeX'''
| style="background-color:#ffffff;border-top:0.05pt solid #000000;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding-top:0cm;padding-bottom:0cm;padding-left:0.097cm;padding-right:0.097cm;"| It is required that we open the '''tex''' file with administrator privileges.
+
  
 +
 +
 +
 +
| It is required that we open the '''tex''' file with administrator privileges.
  
 
Click on the '''start''' button.
 
Click on the '''start''' button.
Line 239: Line 268:
  
 
Click on '''MikTeX2.9'''
 
Click on '''MikTeX2.9'''
 
 
 
  
 
|-
 
|-
| style="background-color:#ffffff;border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:0.05pt solid #000000;padding-top:0cm;padding-bottom:0cm;padding-left:0.097cm;padding-right:0.097cm;"| Right-click '''TeXworks''' >> Run as Administrator
+
| Right-click '''TeXworks''' >> Run as Administrator
| style="background-color:#ffffff;border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding-top:0cm;padding-bottom:0cm;padding-left:0.097cm;padding-right:0.097cm;"| Right click on '''TeXworks''' and choose '''Run as Administrator'''
+
|Right click on '''TeXworks''' and choose '''Run as Administrator'''
 
+
  
 
This will launch the '''TeXworks''' editor with '''administrator''' privileges.  
 
This will launch the '''TeXworks''' editor with '''administrator''' privileges.  
  
 
|-
 
|-
| style="background-color:#ffffff;border-top:0.05pt solid #000000;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:0.05pt solid #000000;padding-top:0cm;padding-bottom:0cm;padding-left:0.097cm;padding-right:0.097cm;"| Click on File>> Open>> beamer.tex
+
|Click on File>> Open>> beamer.tex
| style="background-color:#ffffff;border-top:0.05pt solid #000000;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding-top:0cm;padding-bottom:0cm;padding-left:0.097cm;padding-right:0.097cm;"| Now click on '''File.'''
+
| Now click on '''File.'''
  
 
Then click on '''Open'''  
 
Then click on '''Open'''  
 
  
 
Choose the file '''beamer.tex'''
 
Choose the file '''beamer.tex'''
  
 
|-
 
|-
| style="background-color:#ffffff;border-top:0.05pt solid #000000;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:0.05pt solid #000000;padding-top:0cm;padding-bottom:0cm;padding-left:0.097cm;padding-right:0.097cm;"| Press Ctrl+T keys
+
|Press Ctrl+T keys
| style="background-color:#ffffff;border-top:0.05pt solid #000000;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding-top:0cm;padding-bottom:0cm;padding-left:0.097cm;padding-right:0.097cm;"| Press '''Ctrl''' and '''t''' keys together to start the compilation.
+
| Press '''Ctrl''' and '''t''' keys together to start the compilation.
 
+
 
+
 
+
  
 
|-
 
|-
| style="background-color:#ffffff;border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:0.05pt solid #000000;padding-top:0cm;padding-bottom:0cm;padding-left:0.097cm;padding-right:0.097cm;"| Dialog box
+
| Dialog box
| style="background-color:#ffffff;border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding-top:0cm;padding-bottom:0cm;padding-left:0.097cm;padding-right:0.097cm;"| A '''Package Installation '''dialog box will open.
+
|A '''Package Installation '''dialog box will open.
  
 
It will ask to install the missing package '''beamer.cls. '''
 
It will ask to install the missing package '''beamer.cls. '''
  
 
|-
 
|-
| style="background-color:#ffffff;border-top:0.05pt solid #000000;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:0.05pt solid #000000;padding-top:0cm;padding-bottom:0cm;padding-left:0.097cm;padding-right:0.097cm;"| Click Change
+
|Click Change
| style="background-color:#ffffff;border-top:0.05pt solid #000000;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding-top:0cm;padding-bottom:0cm;padding-left:0.097cm;padding-right:0.097cm;"| Click on '''Change '''button on this dialog box.
+
| Click on '''Change '''button on this dialog box.
  
 
|-
 
|-
| style="background-color:#ffffff;border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:0.05pt solid #000000;padding-top:0cm;padding-bottom:0cm;padding-left:0.097cm;padding-right:0.097cm;"| Dialog box
+
| Dialog box
| style="background-color:#ffffff;border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding-top:0cm;padding-bottom:0cm;padding-left:0.097cm;padding-right:0.097cm;"| '''Change Package Repository '''dialog box will open.
+
|'''Change Package Repository '''dialog box will open.
  
 
|-
 
|-
| style="background-color:#ffffff;border-top:0.05pt solid #000000;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:0.05pt solid #000000;padding-top:0cm;padding-bottom:0cm;padding-left:0.097cm;padding-right:0.097cm;"| Choose as told
+
|Choose as told
| style="background-color:#ffffff;border-top:0.05pt solid #000000;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding-top:0cm;padding-bottom:0cm;padding-left:0.097cm;padding-right:0.097cm;"| Choose the option '''Packages shall be installed from the internet option.'''
+
| Choose the option '''Packages shall be installed from the internet option.'''
  
 
|-
 
|-
| style="background-color:#ffffff;border-top:0.05pt solid #000000;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:0.05pt solid #000000;padding-top:0cm;padding-bottom:0cm;padding-left:0.097cm;padding-right:0.097cm;"| Click Connection Settings
+
|Click Connection Settings
| style="background-color:#ffffff;border-top:0.05pt solid #000000;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding-top:0cm;padding-bottom:0cm;padding-left:0.097cm;padding-right:0.097cm;"| Click on '''Connection Settings.'''
+
| Click on '''Connection Settings.'''
  
 
|-
 
|-
| style="background-color:#ffffff;border-top:0.05pt solid #000000;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:0.05pt solid #000000;padding-top:0cm;padding-bottom:0cm;padding-left:0.097cm;padding-right:0.097cm;"|  
+
|
| style="background-color:#ffffff;border-top:0.05pt solid #000000;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding-top:0cm;padding-bottom:0cm;padding-left:0.097cm;padding-right:0.097cm;"| It will prompt you to configure the '''proxy''' settings.
+
| It will prompt you to configure the '''proxy''' settings.
  
 
|-
 
|-
| style="background-color:#ffffff;border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:0.05pt solid #000000;padding-top:0cm;padding-bottom:0cm;padding-left:0.097cm;padding-right:0.097cm;"| Point to '''Use proxy server '''option  
+
| Point to '''Use proxy server '''option  
| style="background-color:#ffffff;border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding-top:0cm;padding-bottom:0cm;padding-left:0.097cm;padding-right:0.097cm;"| If you are not on a '''proxy''' network then leave the '''Use proxy server checkbox''' unchecked.
+
|If you are not on a '''proxy''' network then leave the '''Use proxy server checkbox''' unchecked.
  
 
|-
 
|-
| style="background-color:#ffffff;border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:0.05pt solid #000000;padding-top:0cm;padding-bottom:0cm;padding-left:0.097cm;padding-right:0.097cm;"| Click on the checkbox
+
| Click on the checkbox
| style="background-color:#ffffff;border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding-top:0cm;padding-bottom:0cm;padding-left:0.097cm;padding-right:0.097cm;"| Since i am on a '''proxy''' network, i will enable the option by clicking on the checkbox
+
|Since i am on a '''proxy''' network, i will enable the option by clicking on the checkbox
  
 
|-
 
|-
| style="background-color:#ffffff;border-top:0.05pt solid #000000;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:0.05pt solid #000000;padding-top:0cm;padding-bottom:0cm;padding-left:0.097cm;padding-right:0.097cm;"| Type proxy address
+
|Type proxy address
| style="background-color:#ffffff;border-top:0.05pt solid #000000;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding-top:0cm;padding-bottom:0cm;padding-left:0.097cm;padding-right:0.097cm;"| I will enter the '''proxy''' address.
+
| I will enter the '''proxy''' address.
  
 
|-
 
|-
| style="background-color:#ffffff;border-top:0.05pt solid #000000;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:0.05pt solid #000000;padding-top:0cm;padding-bottom:0cm;padding-left:0.097cm;padding-right:0.097cm;"| Type the port number
+
|Type the port number
| style="background-color:#ffffff;border-top:0.05pt solid #000000;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding-top:0cm;padding-bottom:0cm;padding-left:0.097cm;padding-right:0.097cm;"| I will enter '''proxy''' port number.
+
| I will enter '''proxy''' port number.
  
 
|-
 
|-
| style="background-color:#ffffff;border-top:0.05pt solid #000000;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:0.05pt solid #000000;padding-top:0cm;padding-bottom:0cm;padding-left:0.097cm;padding-right:0.097cm;"| Click on '''Authentication required '''checkbox
+
|Click on '''Authentication required '''checkbox
| style="background-color:#ffffff;border-top:0.05pt solid #000000;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding-top:0cm;padding-bottom:0cm;padding-left:0.097cm;padding-right:0.097cm;"| I will enable the option '''Authentication required '''by clicking on the corresponding checkbox
+
| I will enable the option '''Authentication required '''by clicking on the corresponding checkbox
  
 
|-
 
|-
| style="background-color:#ffffff;border-top:0.05pt solid #000000;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:0.05pt solid #000000;padding-top:0cm;padding-bottom:0cm;padding-left:0.097cm;padding-right:0.097cm;"| Click OK>>Next
+
|Click OK>>Next
| style="background-color:#ffffff;border-top:0.05pt solid #000000;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding-top:0cm;padding-bottom:0cm;padding-left:0.097cm;padding-right:0.097cm;"| Click on '''Ok'''. And then click on '''Next'''
+
| Click on '''Ok'''. And then click on '''Next'''
  
 
|-
 
|-
| style="background-color:#ffffff;border-top:0.05pt solid #000000;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:0.05pt solid #000000;padding-top:0cm;padding-bottom:0cm;padding-left:0.097cm;padding-right:0.097cm;"|  
+
|
| style="background-color:#ffffff;border-top:0.05pt solid #000000;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding-top:0cm;padding-bottom:0cm;padding-left:0.097cm;padding-right:0.097cm;"| It will ask me the '''proxy username '''and''' password.'''
+
| It will ask me the '''proxy username '''and''' password.'''
  
 
|-
 
|-
| style="background-color:#ffffff;border-top:0.05pt solid #000000;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:0.05pt solid #000000;padding-top:0cm;padding-bottom:0cm;padding-left:0.097cm;padding-right:0.097cm;"| Enter proxy>>OK
+
|Enter proxy>>OK
 
+
| I will enter the information and click on '''OK'''.
 
+
 
+
| style="background-color:#ffffff;border-top:0.05pt solid #000000;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding-top:0cm;padding-bottom:0cm;padding-left:0.097cm;padding-right:0.097cm;"| I will enter the information and click on '''OK'''.
+
 
+
 
+
 
+
  
 
|-
 
|-
| style="background-color:#ffffff;border-top:0.05pt solid #000000;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:0.05pt solid #000000;padding-top:0cm;padding-bottom:0cm;padding-left:0.097cm;padding-right:0.097cm;"| Choose one repository >> Finish
+
|Choose one repository >> Finish
| style="background-color:#ffffff;border-top:0.05pt solid #000000;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding-top:0cm;padding-bottom:0cm;padding-left:0.097cm;padding-right:0.097cm;"| It will show a list of various remote package repositories.
+
| It will show a list of various remote package repositories.
 
+
  
 
Choose one from the list and click on '''Finish.'''
 
Choose one from the list and click on '''Finish.'''
  
 
|-
 
|-
| style="background-color:#ffffff;border-top:0.05pt solid #000000;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:0.05pt solid #000000;padding-top:0cm;padding-bottom:0cm;padding-left:0.097cm;padding-right:0.097cm;"| Click Install  
+
|Click Install  
| style="background-color:#ffffff;border-top:0.05pt solid #000000;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding-top:0cm;padding-bottom:0cm;padding-left:0.097cm;padding-right:0.097cm;"| Click on '''Install'''.
+
| Click on '''Install'''.
 
+
  
 
It will install the '''beamer.cls '''package
 
It will install the '''beamer.cls '''package
  
 
|-
 
|-
| style="background-color:#ffffff;border-top:0.05pt solid #000000;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:0.05pt solid #000000;padding-top:0cm;padding-bottom:0cm;padding-left:0.097cm;padding-right:0.097cm;"| Dialog box
+
|Dialog box
| style="background-color:#ffffff;border-top:0.05pt solid #000000;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding-top:0cm;padding-bottom:0cm;padding-left:0.097cm;padding-right:0.097cm;"| Once again the '''Package Installation '''dialog box will open.
+
| Once again the '''Package Installation '''dialog box will open.
  
 
|-
 
|-
| style="background-color:#ffffff;border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:0.05pt solid #000000;padding-top:0cm;padding-bottom:0cm;padding-left:0.097cm;padding-right:0.097cm;"| Point to '''pgfcore.sty'''
+
| Point to '''pgfcore.sty'''
| style="background-color:#ffffff;border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding-top:0cm;padding-bottom:0cm;padding-left:0.097cm;padding-right:0.097cm;"| It will prompt to install the missing package '''pgfcore.sty.'''
+
|It will prompt to install the missing package '''pgfcore.sty.'''
  
 
|-
 
|-
| style="background-color:#ffffff;border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:0.05pt solid #000000;padding-top:0cm;padding-bottom:0cm;padding-left:0.097cm;padding-right:0.097cm;"| Uncheck the checkbox
+
| Uncheck the checkbox
| style="background-color:#ffffff;border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding-top:0cm;padding-bottom:0cm;padding-left:0.097cm;padding-right:0.097cm;"| Pls mention whyYou may uncheck the option '''Allways show this dialog before installing packages'''.  
+
|You may uncheck the option '''Always show this dialog before installing packages'''.  
  
If you do this, MikTeX will not prompt you again if it encounters a missing package.
+
If you do this, '''MikTeX''' will not prompt you again, if it encounters a missing package.
  
 
|-
 
|-
| style="background-color:#ffffff;border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:0.05pt solid #000000;padding-top:0cm;padding-bottom:0cm;padding-left:0.097cm;padding-right:0.097cm;"| Click Install  
+
| Click Install  
| style="background-color:#ffffff;border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding-top:0cm;padding-bottom:0cm;padding-left:0.097cm;padding-right:0.097cm;"| Click on '''Install.'''
+
|Click on '''Install.'''
  
 
|-
 
|-
| style="background-color:#ffffff;border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:0.05pt solid #000000;padding-top:0cm;padding-bottom:0cm;padding-left:0.097cm;padding-right:0.097cm;"|  
+
|  
| style="background-color:#ffffff;border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding-top:0cm;padding-bottom:0cm;padding-left:0.097cm;padding-right:0.097cm;"| Now if there any more missing packages, it will automatically install it without asking for your permission.
+
|Now if there any more missing packages, it will automatically install it, without asking for your permission.
  
 
|-
 
|-
| style="background-color:#ffffff;border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:0.05pt solid #000000;padding-top:0cm;padding-bottom:0cm;padding-left:0.097cm;padding-right:0.097cm;"| Point to the output side.
+
| Point to the output side.
| style="background-color:#ffffff;border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding-top:0cm;padding-bottom:0cm;padding-left:0.097cm;padding-right:0.097cm;"| Once the installation completes, it will finish the compilation and open the '''pdf''' output.
+
|Once the installation completes, it will finish the compilation and open the '''pdf''' output.
  
 
+
We can see that we have successfully compiled a '''Beamer''' document.
We can see that we have successfully compiled a beamer document.
+
  
 
|-
 
|-
| style="background-color:#ffffff;border-top:0.05pt solid #000000;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:0.05pt solid #000000;padding-top:0cm;padding-bottom:0cm;padding-left:0.097cm;padding-right:0.097cm;"| Click on Start >>All programs >>'''MikTeX'''>> Maintenance(Admin) >> Package Manager(Admin)
+
|Click on Start >>All programs >>'''MikTeX'''>> Maintenance(Admin) >> Package Manager(Admin)
| style="background-color:#ffffff;border-top:0.05pt solid #000000;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding-top:0cm;padding-bottom:0cm;padding-left:0.097cm;padding-right:0.097cm;"| Now let us see the second method of installing missing packages.
+
 
 +
 
 +
 
 +
 
 +
 
 +
 
  
 +
| Now let us see the second method of installing missing packages.
  
 
Click on the '''Windows''' start button.
 
Click on the '''Windows''' start button.
Line 389: Line 407:
  
 
|-
 
|-
| style="background-color:#ffffff;border-top:none;border-bottom:0.05pt solid #000000;border-left:1pt solid #000000;border-right:0.05pt solid #000000;padding-top:0cm;padding-bottom:0cm;padding-left:0.097cm;padding-right:0.097cm;"|  
+
|  
| style="background-color:#ffffff;border-top:none;border-bottom:0.05pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding-top:0cm;padding-bottom:0cm;padding-left:0.097cm;padding-right:0.097cm;"| It will show a list of various packages available
+
| It will show a list of various packages available
 
+
  
 
Now let us take a look at this list.
 
Now let us take a look at this list.
  
 
|-
 
|-
| style="background-color:#ffffff;border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:0.05pt solid #000000;padding-top:0cm;padding-bottom:0cm;padding-left:0.097cm;padding-right:0.097cm;"| Point to the columns
+
| Point to the columns
| style="background-color:#ffffff;border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding-top:0cm;padding-bottom:0cm;padding-left:0.097cm;padding-right:0.097cm;"| There are six columns in this list.
+
|There are six columns in this list.
  
 
These are '''Name, Category, Size, Packaged date, Installed on date''' and '''Title'''.
 
These are '''Name, Category, Size, Packaged date, Installed on date''' and '''Title'''.
  
 
|-
 
|-
| style="background-color:#ffffff;border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:0.05pt solid #000000;padding-top:0cm;padding-bottom:0cm;padding-left:0.097cm;padding-right:0.097cm;"|  
+
|  
| style="background-color:#ffffff;border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding-top:0cm;padding-bottom:0cm;padding-left:0.097cm;padding-right:0.097cm;"| The '''Installed on''' column is very important to us.
+
|The '''Installed on''' column is very important to us.
  
 
|-
 
|-
| style="background-color:#ffffff;border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:0.05pt solid #000000;padding-top:0cm;padding-bottom:0cm;padding-left:0.097cm;padding-right:0.097cm;"| Point to the blank column entries
+
| Point to the blank column entries
| style="background-color:#ffffff;border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding-top:0cm;padding-bottom:0cm;padding-left:0.097cm;padding-right:0.097cm;"| The packages for which this column is blank indicates that these packages are not installed.
+
|The packages for which this column is blank indicates that these packages are not installed.
  
 
|-
 
|-
| style="background-color:#ffffff;border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:0.05pt solid #000000;padding-top:0cm;padding-bottom:0cm;padding-left:0.097cm;padding-right:0.097cm;"|  
+
|  
| style="background-color:#ffffff;border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding-top:0cm;padding-bottom:0cm;padding-left:0.097cm;padding-right:0.097cm;"| Let us see how to install a particular package.
+
|Let us see how to install a particular package.
  
 
|-
 
|-
| style="background-color:#ffffff;border-top:0.05pt solid #000000;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:0.05pt solid #000000;padding-top:0cm;padding-bottom:0cm;padding-left:0.097cm;padding-right:0.097cm;"| check this step of proxy authentication
+
|check this step of proxy authentication
| style="background-color:#ffffff;border-top:0.05pt solid #000000;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding-top:0cm;padding-bottom:0cm;padding-left:0.097cm;padding-right:0.097cm;"| Let me choose the package '''abc''', for example.
+
| Let me choose the package '''abc''', for example.
 
+
 
+
 
+
  
 
|-
 
|-
| style="background-color:#ffffff;border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:0.05pt solid #000000;padding-top:0cm;padding-bottom:0cm;padding-left:0.097cm;padding-right:0.097cm;"| Point to the plus button
+
| Point to the plus button
| style="background-color:#ffffff;border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding-top:0cm;padding-bottom:0cm;padding-left:0.097cm;padding-right:0.097cm;"| Notice that the moment I choose the package, the '''plus''' button on the top left side gets enabled.
+
|Notice that the moment I choose the package, the '''plus''' button on the top left side gets enabled.
  
 
|-
 
|-
| style="background-color:#ffffff;border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:0.05pt solid #000000;padding-top:0cm;padding-bottom:0cm;padding-left:0.097cm;padding-right:0.097cm;"| Click on the plus button
+
| Click on the plus button
| style="background-color:#ffffff;border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding-top:0cm;padding-bottom:0cm;padding-left:0.097cm;padding-right:0.097cm;"| The '''plus''' button is the '''install''' button.
+
|The '''plus''' button is the '''install''' button.
  
 
Click on the '''plus''' button.
 
Click on the '''plus''' button.
  
 
|-
 
|-
| style="background-color:#ffffff;border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:0.05pt solid #000000;padding-top:0cm;padding-bottom:0cm;padding-left:0.097cm;padding-right:0.097cm;"|  
+
|  
| style="background-color:#ffffff;border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding-top:0cm;padding-bottom:0cm;padding-left:0.097cm;padding-right:0.097cm;"| A window will open which will list the number of packages you have chosen to install or uninstall.
+
|A window will open which will list the number of packages you have chosen to install or uninstall.
  
 
|-
 
|-
| style="background-color:#ffffff;border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:0.05pt solid #000000;padding-top:0cm;padding-bottom:0cm;padding-left:0.097cm;padding-right:0.097cm;"| Click Proceed
+
| Click Proceed
| style="background-color:#ffffff;border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding-top:0cm;padding-bottom:0cm;padding-left:0.097cm;padding-right:0.097cm;"| Click on '''Proceed'''.
+
|Click on '''Proceed'''.
  
 
|-
 
|-
| style="background-color:#ffffff;border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:0.05pt solid #000000;padding-top:0cm;padding-bottom:0cm;padding-left:0.097cm;padding-right:0.097cm;"| Proxy dialog box
+
| Proxy dialog box
| style="background-color:#ffffff;border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding-top:0cm;padding-bottom:0cm;padding-left:0.097cm;padding-right:0.097cm;"| Since I have configured a '''proxy''' network connection, it will prompt me for the '''proxy username''' and '''password'''.
+
|Since I have configured a '''proxy''' network connection, it will prompt me for the '''proxy username''' and '''password'''.
  
 
|-
 
|-
| style="background-color:#ffffff;border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:0.05pt solid #000000;padding-top:0cm;padding-bottom:0cm;padding-left:0.097cm;padding-right:0.097cm;"| Type proxy
+
| Type proxy
| style="background-color:#ffffff;border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding-top:0cm;padding-bottom:0cm;padding-left:0.097cm;padding-right:0.097cm;"| Let me type my '''username''' and '''password'''
+
|Let me type my '''username''' and '''password'''
  
 
|-
 
|-
| style="background-color:#ffffff;border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:0.05pt solid #000000;padding-top:0cm;padding-bottom:0cm;padding-left:0.097cm;padding-right:0.097cm;"| Click Ok
+
| Click Ok
| style="background-color:#ffffff;border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding-top:0cm;padding-bottom:0cm;padding-left:0.097cm;padding-right:0.097cm;"| Click on '''Ok'''
+
|Click on '''Ok'''
  
 
|-
 
|-
| style="background-color:#ffffff;border-top:0.05pt solid #000000;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:0.05pt solid #000000;padding-top:0cm;padding-bottom:0cm;padding-left:0.097cm;padding-right:0.097cm;"| Window
+
|Window
| style="background-color:#ffffff;border-top:0.05pt solid #000000;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding-top:0cm;padding-bottom:0cm;padding-left:0.097cm;padding-right:0.097cm;"| A window will open which will show the download progress of the package selected for installation.
+
 
 +
 
 +
 
 +
 
 +
 
 +
 
 +
 
 +
| A window will open which will show the download progress of the package selected for installation.
  
 
It may happen that it fails to download the requested package due to remote server connectivity issues.
 
It may happen that it fails to download the requested package due to remote server connectivity issues.
Line 459: Line 480:
  
 
|-
 
|-
| style="background-color:#ffffff;border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:0.05pt solid #000000;padding-top:0cm;padding-bottom:0cm;padding-left:0.097cm;padding-right:0.097cm;"| Click Close
+
| Click Close
| style="background-color:#ffffff;border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding-top:0cm;padding-bottom:0cm;padding-left:0.097cm;padding-right:0.097cm;"| We can see that the installation of selected package is completed.
+
|We can see that the installation of selected package is completed.
  
 
+
Click on '''Close'''.
Click on '''close'''.
+
  
 
|-
 
|-
| style="background-color:#ffffff;border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:0.05pt solid #000000;padding-top:0cm;padding-bottom:0cm;padding-left:0.097cm;padding-right:0.097cm;"| Point to the entry
+
| Point to the entry
| style="background-color:#ffffff;border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding-top:0cm;padding-bottom:0cm;padding-left:0.097cm;padding-right:0.097cm;"| The package list will get refreshed.
+
|The package list will get refreshed.
 
+
  
 
Notice that 11 september 2013 appears in the '''Installed''' '''on''' column for package '''abc.'''
 
Notice that 11 september 2013 appears in the '''Installed''' '''on''' column for package '''abc.'''
  
 
|-
 
|-
| style="background-color:#ffffff;border-top:0.05pt solid #000000;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:0.05pt solid #000000;padding-top:0cm;padding-bottom:0cm;padding-left:0.097cm;padding-right:0.097cm;"|  
+
|
| style="background-color:#ffffff;border-top:0.05pt solid #000000;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding-top:0cm;padding-bottom:0cm;padding-left:0.097cm;padding-right:0.097cm;"| This completes the tutorial '''LaTeX on Windows using TeXworks'''
+
| This completes the tutorial '''LaTeX on Windows using TeXworks'''
  
 
|-
 
|-
| style="background-color:#ffffff;border-top:0.05pt solid #000000;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:0.05pt solid #000000;padding-top:0cm;padding-bottom:0cm;padding-left:0.097cm;padding-right:0.097cm;"| On slide
+
|On slide
| style="background-color:#ffffff;border-top:0.05pt solid #000000;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding-top:0cm;padding-bottom:0cm;padding-left:0.097cm;padding-right:0.097cm;"| In this tutorial we learnt to -
+
 
 +
 
 +
 
 +
 
 +
 
 +
 
 +
| In this tutorial we learnt to -
  
 
* Download and install '''MikTeX'''
 
* Download and install '''MikTeX'''
* Write a basic '''LaTeX''' document using TeXworks
+
* Write a basic '''LaTeX''' document using '''TeXworks'''
 
* Configure '''MikTeX''' to download missing packages in 2 different ways
 
* Configure '''MikTeX''' to download missing packages in 2 different ways
 
 
  
 
|-
 
|-
| style="background-color:#ffffff;border-top:0.05pt solid #000000;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:0.05pt solid #000000;padding-top:0cm;padding-bottom:0cm;padding-left:0.097cm;padding-right:0.097cm;"| On slide
+
|On slide
| style="background-color:#ffffff;border-top:0.05pt solid #000000;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding-top:0cm;padding-bottom:0cm;padding-left:0.097cm;padding-right:0.097cm;"| * Watch the video available at , [http://spoken-tutorial.org/What_is_a_Spoken_Tutorial http://spoken-tutorial.org/What_is_a_Spoken_Tutorial]
+
| * Watch the video available at , [http://spoken-tutorial.org/What_is_a_Spoken_Tutorial http://spoken-tutorial.org/What_is_a_Spoken_Tutorial]
 
* It summarizes the Spoken Tutorial project  
 
* It summarizes the Spoken Tutorial project  
 
* If you do not have good bandwidth, you can download and watch it.
 
* If you do not have good bandwidth, you can download and watch it.
Line 495: Line 518:
  
 
|-
 
|-
| style="background-color:#ffffff;border-top:0.05pt solid #000000;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:0.05pt solid #000000;padding-top:0cm;padding-bottom:0cm;padding-left:0.097cm;padding-right:0.097cm;"| On slide
+
|On slide
| style="background-color:#ffffff;border-top:0.05pt solid #000000;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding-top:0cm;padding-bottom:0cm;padding-left:0.097cm;padding-right:0.097cm;"| The Spoken Tutorial Project Team  
+
| The Spoken Tutorial Project Team  
 
+
 
* Conducts workshops using spoken tutorials  
 
* Conducts workshops using spoken tutorials  
 
* Gives certificates to those who pass an online test .  
 
* Gives certificates to those who pass an online test .  
 
* For more details, please write to contact@spoken-tutorial.org
 
* For more details, please write to contact@spoken-tutorial.org
 
 
  
 
|-
 
|-
| style="background-color:#ffffff;border-top:0.05pt solid #000000;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:0.05pt solid #000000;padding-top:0cm;padding-bottom:0cm;padding-left:0.097cm;padding-right:0.097cm;"| On slide
+
|On slide
| style="background-color:#ffffff;border-top:0.05pt solid #000000;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding-top:0cm;padding-bottom:0cm;padding-left:0.097cm;padding-right:0.097cm;"| * Spoken Tutorial Project is a part of the Talk to a Teacher project
+
| * Spoken Tutorial Project is a part of the Talk to a Teacher project
 
* It is supported by the National Mission on Education through ICT, MHRD, Government of India.  
 
* It is supported by the National Mission on Education through ICT, MHRD, Government of India.  
 
* More information on the same is available at, http://spoken-tutorial.org /NMEICT-Intro  
 
* More information on the same is available at, http://spoken-tutorial.org /NMEICT-Intro  
 
 
 
|-
 
| style="background-color:#ffffff;border-top:0.05pt solid #000000;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:0.05pt solid #000000;padding-top:0cm;padding-bottom:0cm;padding-left:0.097cm;padding-right:0.097cm;"|
 
| style="background-color:#ffffff;border-top:0.05pt solid #000000;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding-top:0cm;padding-bottom:0cm;padding-left:0.097cm;padding-right:0.097cm;"| This is Rupak Rokade from IIT Bombay signing off. Thanks for watching.
 
 
|-
 
| style="background-color:#ffffff;border-top:0.05pt solid #000000;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:0.05pt solid #000000;padding-top:0cm;padding-bottom:0cm;padding-left:0.097cm;padding-right:0.097cm;"|
 
| style="background-color:#ffffff;border-top:0.05pt solid #000000;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding-top:0cm;padding-bottom:0cm;padding-left:0.097cm;padding-right:0.097cm;"|
 
  
 
|-
 
|-
| style="background-color:#ffffff;border-top:0.05pt solid #000000;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:0.05pt solid #000000;padding-top:0cm;padding-bottom:0cm;padding-left:0.097cm;padding-right:0.097cm;"|  
+
|
| style="background-color:#ffffff;border-top:0.05pt solid #000000;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding-top:0cm;padding-bottom:0cm;padding-left:0.097cm;padding-right:0.097cm;"|
+
| This is Rupak Rokade from IIT Bombay signing off. Thanks for watching.
  
 
|}
 
|}

Revision as of 12:07, 7 November 2013

Title of script: LaTeX on Windows using TeXworks

Author: Rupak Rokade

Keywords: video tutorial, LaTeX, TeXworks, windows, MikTeX,


Visual Cue Narration
On slide Dear Friends,

Welcome to the spoken tutorial on “LaTeX on Windows using TeXworks”

On slide



In this tutorial we will learn to,
  1. Download and install MikTeX
  2. Write basic LaTeX documents using TeXworks
  3. Configure MikTeX to download missing packages
On slide To record this tutorial, I am using Windows7 operating system and MikTeX2.9
On slide



Let us now see the salient features of TeXworks
  1. It is platform independent
  2. It has an embedded pdf reader
  3. It supports Indian language typesetting
On slide



Before we start with TeXworks, we have to install MikTeX.

MikTeX is an up-to-date implementation of TeX/LaTeX and related programs for Windows.

It contains the necessary packages to create basic documents in LaTeX on Windows

Moreover, TeXworks is a default editor available with MikTeX installation.

On the browser Go to the website www.miktex.org
Click on that link


Click on the download link for recommended MikTeX installer.

This will download the MikTeX installer.

Choose Desktop in Save location



Download and save it on your Desktop.

It is a large file, about 154 mega bytes.

Hence, it will take some time to download.

Switch to the Desktop and point to the file. I have already downloaded this file. Here it is.
Double-click >> click Run



Double click on this file to start the installation.

Check the check box and click on Next.

Choose all default options.

Show the installation process



The installation will take around 5 to 10 minutes.

I have already installed MikTeX on my computer.

Hence I will not proceed with the installation.

After successfully installing MikTeX on your computer,

let us see how to use the TeXworks editor which comes with MikTeX.

Click on Windows>>All programs >> MikTeX>>TeXworks



Click on the Windows start button.

Click on All Programs.

Click on MikTeX2.9

Click on TeXworks

TeXworks editor will open.

Let me open an already existing LaTeX document.

Click on File >> Open >> hello.tex I will click on File, then click on Open and choose the directory.

Then I will open the file hello.tex.

Point to some of the coloured text


Point also to the user content

You can see that the text written in the file is colored.

This is called syntax highlighting.

It helps the user differentiate between the user content and the LaTeX syntax.

In case the LaTeX syntax is not highlighted, do the following.
Click on Format In the TeXworks window, click on Format button available on the Menu bar.
Select Syntax Colouring>>LaTeX. Select Syntax Colouring and then click on LaTeX.
If you want TeXworks to apply syntax highlighting every time you create a LaTeX document, do the following
Click on Edit >> Preferences On the menu bar, click on Edit and then click on Preferences.
Editor tab>> dropdown>> Syntax Colouring In the Editor tab, click on the dropdown button which gives options for Syntax Colouring.
Choose LaTeX>>Ok Choose LaTeX and then click on Ok.
In this way, syntax highlighting will be applied to all documents created in the future.
Now we are ready to compile our LaTeX document.
Press Ctrl+T keys Press Ctrl and t keys together to start the compilation.
Once the document is compiled without errors, the resulting pdf will be opened.
Point to the pdf document Note that this pdf reader comes along with TeXworks.


It is the default pdf reader used by TeXworks to display the compiled pdf documents.

Now let us compile a Beamer document.
On slide



Beamer package by default is not included in the MikTeX setup that we have installed.

This means that we have to

  • download it from some source and
  • add it to our current MikTeX distribution
On slide



There are two ways of installing a missing package.

One way is to install it on the fly while we are compiling a LaTeX document

This LaTeX document will typically require a package not available in your MikTeX distribution.


Other way, is to manually choose and install a package using Package Manager of MikTeX.

Let us see the first method.
We will
  • open and compile a LaTeX document,
  • which requires MikTeX
  • to install packages from the internet.
Close TeXworks First close the TeXworks editor.
Click on Start>> All programs >> MikTeX



It is required that we open the tex file with administrator privileges.

Click on the start button.

Then click on All programs.

Click on MikTeX2.9

Right-click TeXworks >> Run as Administrator Right click on TeXworks and choose Run as Administrator

This will launch the TeXworks editor with administrator privileges.

Click on File>> Open>> beamer.tex Now click on File.

Then click on Open

Choose the file beamer.tex

Press Ctrl+T keys Press Ctrl and t keys together to start the compilation.
Dialog box A Package Installation dialog box will open.

It will ask to install the missing package beamer.cls.

Click Change Click on Change button on this dialog box.
Dialog box Change Package Repository dialog box will open.
Choose as told Choose the option Packages shall be installed from the internet option.
Click Connection Settings Click on Connection Settings.
It will prompt you to configure the proxy settings.
Point to Use proxy server option If you are not on a proxy network then leave the Use proxy server checkbox unchecked.
Click on the checkbox Since i am on a proxy network, i will enable the option by clicking on the checkbox
Type proxy address I will enter the proxy address.
Type the port number I will enter proxy port number.
Click on Authentication required checkbox I will enable the option Authentication required by clicking on the corresponding checkbox
Click OK>>Next Click on Ok. And then click on Next
It will ask me the proxy username and password.
Enter proxy>>OK I will enter the information and click on OK.
Choose one repository >> Finish It will show a list of various remote package repositories.

Choose one from the list and click on Finish.

Click Install Click on Install.

It will install the beamer.cls package

Dialog box Once again the Package Installation dialog box will open.
Point to pgfcore.sty It will prompt to install the missing package pgfcore.sty.
Uncheck the checkbox You may uncheck the option Always show this dialog before installing packages.

If you do this, MikTeX will not prompt you again, if it encounters a missing package.

Click Install Click on Install.
Now if there any more missing packages, it will automatically install it, without asking for your permission.
Point to the output side. Once the installation completes, it will finish the compilation and open the pdf output.

We can see that we have successfully compiled a Beamer document.

Click on Start >>All programs >>MikTeX>> Maintenance(Admin) >> Package Manager(Admin)




Now let us see the second method of installing missing packages.

Click on the Windows start button.

Click on All Programs.

Click on MikTeX2.9

Click on Maintenance (Admin)

Cick on Package Manager (Admin)

It will show a list of various packages available

Now let us take a look at this list.

Point to the columns There are six columns in this list.

These are Name, Category, Size, Packaged date, Installed on date and Title.

The Installed on column is very important to us.
Point to the blank column entries The packages for which this column is blank indicates that these packages are not installed.
Let us see how to install a particular package.
check this step of proxy authentication Let me choose the package abc, for example.
Point to the plus button Notice that the moment I choose the package, the plus button on the top left side gets enabled.
Click on the plus button The plus button is the install button.

Click on the plus button.

A window will open which will list the number of packages you have chosen to install or uninstall.
Click Proceed Click on Proceed.
Proxy dialog box Since I have configured a proxy network connection, it will prompt me for the proxy username and password.
Type proxy Let me type my username and password
Click Ok Click on Ok
Window




A window will open which will show the download progress of the package selected for installation.

It may happen that it fails to download the requested package due to remote server connectivity issues.

In that case, change the package repository and try again.

Click Close We can see that the installation of selected package is completed.

Click on Close.

Point to the entry The package list will get refreshed.

Notice that 11 september 2013 appears in the Installed on column for package abc.

This completes the tutorial LaTeX on Windows using TeXworks
On slide




In this tutorial we learnt to -
  • Download and install MikTeX
  • Write a basic LaTeX document using TeXworks
  • Configure MikTeX to download missing packages in 2 different ways
On slide * Watch the video available at , http://spoken-tutorial.org/What_is_a_Spoken_Tutorial
  • It summarizes the Spoken Tutorial project
  • If you do not have good bandwidth, you can download and watch it.


On slide The Spoken Tutorial Project Team
  • Conducts workshops using spoken tutorials
  • Gives certificates to those who pass an online test .
  • For more details, please write to contact@spoken-tutorial.org
On slide * Spoken Tutorial Project is a part of the Talk to a Teacher project
  • It is supported by the National Mission on Education through ICT, MHRD, Government of India.
  • More information on the same is available at, http://spoken-tutorial.org /NMEICT-Intro
This is Rupak Rokade from IIT Bombay signing off. Thanks for watching.

Contributors and Content Editors

Nancyvarkey, Rupakrokade