Вы находитесь на странице: 1из 2

Spoken Tutorial Based L

A
T
E
X Workshop on Linux
Spoken Tutorial Team
IIT Bombay
5 August 2011
1 The procedure to practise
1. You have been given a set of spoken tuto-
rials and les
2. You will typically do one tutorial at a time
3. You may Listen to a spoken tutorial and
reproduce all the commands shown in the
video
4. If you nd it dicult to do the above, you
may consider listening to whole tutorial
once and then practise during the second
hearing
2 First tutorial: What is
Compilation?
These detailed instructions are intended mainly
for the Windows users, who may have to use
Linux for learning L
A
T
E
X. The Linux users will
know most of these things.
1. Click Places button at the top left hand
corner and then click the Home Folder.
The folder that opens is called your home
folder.
2. Please locate the folder LaTeX Workshop
that is available on Desktop. The sub-
folder 01-compilation contains the fol-
lowing les that you need for this tutorial:
hello.tex and compiling.mov.
3. Please copy hello.tex from this folder to
your home folder.
4. Open the terminal using the command
Ctrl-Alt-t, by pressing all these three
keys simultaneously.
5. Open the le that you copied above into
the editor using the command
gedit hello.tex &
Do not forget the symbol ampersand (&)
at the end of the command, obtained by
pressing shift 7. Please leave spaces ex-
actly as given above.
6. Right click on compiling.mov, point the
cursor on Open With and select VLC Media
Player, now listen to this spoken tutorial.
7. As shown in the video at 1:57min, compile
from the terminal the le hello.tex using
the command
pdflatex hello.tex
Note that pdflatex is ONE command.
Please do not leave a space between pdf
and latex.
8. Pause the video at 2:04min. You
should now be able to give the com-
mand pdflatex hello.tex and get a le
hello.pdf. If there is any diculty in
this step, please listen to the tutorial from
1:57min to 2:04min once again.
9. The video talks about a pdf viewer called
skim at 3:04min.
Please do not attempt to use skim -
it is NOT available on Linux.
You have to use the pdf viewer evince in-
stead. Give the following command from
the terminal to open the pdf le:
evince hello.pdf &
Once again, do not forget the & symbol in
the above command.
10. Observe that there are three activities in
the video:
(a) Editing the le hello.tex
(b) Compiling this le on the terminal
(c) Viewing the le in a pdf viewer.
You have now carried out all of these three
activities through gedit, terminal and
evince, respectively. You may wish to re-
size and arrange these three screens so that
you can access all of them simultaneously.
They could be overlapping, of course. You
should be able to reproduce every one of
these three activities, as shown in the spo-
ken tutorial.
11. From now on, you are supposed to do this:
Listen to a command, pause the
video, and try to reproduce it
12. Please note that you will NOT have to
open gedit and evince again. You will
have to repeatedly give the pdflatex com-
mand, however, as explained above. This
is what is shown in the spoken tutorial also.
13. It is possible that some changes that
you try may create problems during the
pdflatex command. If this happens, type
the letter x or ctrl-d in the terminal to
come out. Until you become comfortable
with L
A
T
E
X please try only the commands
shown in the spoken tutorial.
14. After reproducing all the commands,
please go to the next tutorial, letter
writing.
3 Procedure for letter writing
1. Close gedit, evince screens and the
terminal that you used for the previous
tutorial.
2. For this tutorial, you will need the
les letter.tex and letter.mov from
03-letter, which is a sub-folder of
LaTeX Workshop that is available on Desk-
top.
3. For this tutorial, you will listen to
letter.mov. Once again, you have to open
using VLC.
4. Repeat all the instructions given for What
is Compilation?. Remember to do the
following:
Substitute hello with letter in ev-
ery instruction. For example, you
shall copy the le letter.tex into
your home folder, as an initial step.
5. Do not attempt to create the le
letter.tex from scratch. You are likely
to make mistakes.
4 After letter writing, what to
do?
After letter writing, you will do the follow-
ing tutorials, in this order. For each tutorial,
the name of the sub-folder, the video to watch
and the les to copy to your home folder, are
shown below:
Report writing: Sub-folder name: 04-report.
File to be copied to the home
folder: report.tex. Video to watch:
report.mov.
Maths: Sub-folder name: 05-maths.
File to copy: maths.tex. Video to watch:
maths.mov.
Equations: Sub-folder name: 06-equations.
File to copy: equations.tex. Video to
watch: equations.mov.
1. If your system has only a basic L
A
T
E
X
installation, you may get an error
message that cclicenses.sty not
found or a similar warning.
2. The above will happen if a pack-
age is not installed. Please install
the package texlive-full using the
Synaptic Package Manager. If this
also fails, only then, do an Internet
search, locate the missing le and
download to your working folder -
in this case, your home folder. You
may have to do this for the le
cclicenses.sty.
We have provided the le
cclicenses.sty in sub-folder
06-equations for your convenience.
3. From now on, you should follow this
procedure whenever a le is missing.
4. Once you become more comfortable
with L
A
T
E
X, you will learn about a
central location where you can copy
the missing packages. Until that hap-
pens, copy the missing packages into
your working folder.
Tables and Figures: Sub-folder name:
07-table-figure. Files to copy:
tab-fig.tex, iitb.pdf and iitblogo.pdf.
In addition, you may need other les from
the previous tutorials, as shown in the spo-
ken tutorial. Video: tab-fig.mov.
In case of any warning, such as
cclicenses.sty not found, please
see the instructions for the tutorial
equations, given above.
Bibliography: Sub-folder name: 08-references.
Video to watch: references.mov. Files
to copy: references.tex, harvard.sty,
ifac.bst and ref.bib.
Beamer Sub-folder name: 09-beamer.
Files to be copied: beamer.tex, iitb.pdf,
iitblogo.pdf and any other les, as men-
tioned in the spoken tutorial. Video to
watch: beamer.mov.

Вам также может понравиться