TeX in CEU
The participants will learn how to use this alternative text editor application, a solution for putting mathematical functions in a document.
You can rate this course here: |
Level: Beginner
Instructor: Laszlo Csirmaz
Duration: 5 days
Requirements for pass: minimum attendance: 4
days; submitting a typeset article using LaTeX at the end of
the course.
When the course is offered: see the list
of courses for the current semester and/or the UIS
This is a short introduction to the scientific typesetting languages TeX and LaTeX, and their usage in CEU.
The TeX language has been designed by Donald E. Knuth in the early 80's. In TeX you produce a source code for your material, which is fed to a program, producing a so-called device independent code. This latter one then can be printed out on several ways, or shown to the screen.
You can type your LaTeX source in the WinShell window. When saving your work, please do not use funny names for you LaTeX files, keep their length below 8 characters, and use only letters and digits. By no means use spaces in file names.
To process the file, click on the LaTeX button at the WinShell toolbar.
A black window appears, lot of text will run through it, and then the window vanishes. The log file, with all error messages and warnings appears at the bottom of the WinShell window. Bbrowse through it to see if everything went well.
You can create a PDF directly by using the PdfLaTeX button at the toolbar.
Click on the DVI button with the magnifying glass at the WinShell toolbar. Sometimes you have to wait until the fonts are generated.
On machines with Linux installed on can find the the standard TeX distribution. The LaTeX file can be produced by any text editor; the open a console window, and execute
latex <the-name-of-your-LaTeX-file>
It is not a trivial task to produce LaTeX source files without errors. Whenever there is an error, LaTeX spits out thousand of messages and stops. The best strategy is to figure out the first error, correct it, and try again.
In some cases TeX looks for files which do not exist. If the reason is misspelling, simply type the correct form of the file. If you do not know what file it is, please hit Ctrl+Z. Otherwise TeX will insist on receiving an input file.
Here are some TeX related material which might be useful.
On the web: