LaTeX is a document preparation system for high-quality typesetting. It is most often used for medium-to-large technical or scientific documents but it can be used for almost any form of publishing.
commands:
Getting the Tamil fonts:
Using xelatex only we can execute the Tamil document:
\usepackage{fontspec}
\setmainfont[Script=Tamil]{Lohit-Tamil}
\newfontfamily\EN[Scale=1]{DejaVuSans}
This two line only describe the font(Tamil & English) using the entire document.
Display the current date:
\date{ \today}
Subscripting:
\usepackage{fixltx2e}
\textsubscript{}
Example:
It is found that height\textsubscript{apple tree} is
different than height\textsubscript{orange tree}.
output:
It is found that heightapple tree is different than
heightorange tree.
Bold: \textbf
NextLine: \\
Gap between the Nextlines:\\[0.5cm]
Setting the size of the font:
| \large | 12pt | ||
| \Large | 14pt | ||
| \LARGE | 17pt | ||
| \huge | 20pt | ||
| \Huge | 25pt |
Example:
\textbf{\large Part Of Six month Project}\\[0.5cm]
Image Adding:
\usepackage{graphicx}
\includegraphics[width=2in,height=1in]{myimage.png}
\includegraphics{myimage.png}
\includegraphics[scale=0.25]{myimage.png}
\includegraphics[angle=45]{myimage.png}
Advertisements
\setmainfont[Script=Tamil]{Lohit-Tamil}
In this command set the font name as listed on open office writer.
otherwise, it wont work.
\setmainfont[Script=Tamil]{Lohit Tamil}
is correct.
#xelatex filename.tex will give the filename.pdf
Wishes.