# greek.tex

How to write Greek in LaTeX. There is also the method of writing in greeklish and getting output in Greek. The relation for this method is described here. In the link you can find many commands for LaTeX.

\documentclass{article}
\date{29/5/12}
\usepackage{amsmath}
%\usepackage[english,greek]{babel}
%\usepackage[iso-8859-7]{inputenc}
\usepackage{polyglossia}
\setotherlanguage{greek}
\newfontfamily\greekfont[Script=Greek,Ligatures=TeX]{Times New Roman} % Has Greek characters
\title{\begin{greek}Αλγόριθμοι άσκηση 3\end{greek}}
\author{\begin{greek}Σαμαράς Γεώργιος\end{greek}\\\begin{large}$std10093$\end{large}}
\pdfpagewidth 8.5 in
\pdfpageheight 11 in
\setlength {\topmargin}{0in}
\setlength{\textheight}{7,7in}
\setlength {\textwidth}{6.5in}
\setlength {\oddsidemargin}{0in}
\setlength {\evensidemargin}{0in}
\setlength{\parindent}{0.25in}
\setlength {\parskip}{0.25in}
\newcommand{\tab}{\hspace*{2em}}
\begin{document}
\maketitle
\begin{greek} Τεστάρω \end{greek}
\end{document}


This code comes from G. Samaras, but I would like to thank Vassilis Papapanagiotou for letting me know about this.
A tutorial suggested from Evaggelia Giannikou, can be found here.