LateX Documentation
LateX Documentation
1. Introduction
Latex is a markup language used to prepare documents on the computer. It is free
software. Latex is based on TeX, a typesetting system designed by Donald Knuth in
1978. teX is a low-level language that computers can work with, but most people find
it difficult to use, So lateX has been developed to make it easier. The current version
of latex is LateX2e.
# Installing LateX
sudo apt install texlive-latex-extra -y
1) Install MikTeX
2)Install TeXstudio
5. Document Preparation
All LateX documents have a standard structure
\documentclass[options]{article}.
We can provide the features required for our document in the
options section.
Class indicates which document is intended to be created.
6. LateX in Malayalam
XeTeX : It is an extension of TeX with built-in support for Unicode and
OpenType.
1. Installing XeTeX
XeTeX is packaged for all famous GNU/Linux distros. Following packages are
required to install to get a working xetex environment in your computer.
\setdefaultlanguage{malayalam}
\setmainfont[Script=Malayalam, HyperChar=”00AD]{Rachana}
➡️ ➡️ ➡️
Select Options Configure TeXstudio Build Select Default compiler as
XeLaTeX (to compile) and Default viewer as PDF Viewer.After Closing the
tabs and running the code.
7. Article
\documentclass[12pt, a4paper]{article}
12pt is the font size and a4 paper is the size of the paper.
8. Packages
To simplify the programming language, many functions are provided, which
are called packages.
● \usepackage{ graphics }: Add pictures
● \usepackage{ color} : to colour the text
● \usepackage{ geometry }: to set the margin
● \usepackage{ hyperref }:to give hyperlink
9. Special Characters
% \ # ^ & _ {}
% >> mainly used to comment on the lines,but if we want to print the special
characters, we have to give ‘ \ ‘ in front of the special character.
10. Sentences
12. Lists
Ordered List:
Unordered Lists:
13. Box
15. Book
16. Letter
17. Bibliography
18. Glossary
19. Mathematics
There are two ways in latex to represent maths in latex:
● Inline mode
20. Circuits
For adding circuits to the latex, we use certain packages such as circuitikz in
the preamble part and \begin{circuitikz} in the body part.
21. Beamer
To include images in Latex, use package{graphicx} and label the path where
pics are saved.
23. Template
24. Biodata
29. Images
30. Table
31. Matrix