Archive for the ‘Latex’ Category

Latex:

October 22, 2009

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}