Latex:

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

1 Comment »

  1. 1

    \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.


RSS Feed for this entry

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: