Writing Greek text in Latex

To write Ancient and/or Modern Greek using Latex download this Latex template or copy the following text to your favourite text editor.

% Author: Charalambos Themistocleous
% Date Created: 19.07.2014
% Typeset using XeLaTex
\documentclass[10pt,a4paper]{article}
\usepackage[final]{microtype}
\usepackage[utf8]{inputenc}
\usepackage{amsmath}
\usepackage{amsfonts}
\usepackage{amssymb}
\usepackage[greek,english]{babel}
% I use the following fonts with XeLaTeX to Write Greek.
\usepackage{fontspec}
\usepackage{xunicode}
\usepackage{xltxtra}
% To set the mainfont you need to have the fontspec package.
\setmainfont[Numbers={OldStyle, Proportional},
 Ligatures=TeX, Mapping=tex-text]{Brill-Roman}
% ---> Ligatures=TeX,
%Handling margins
\usepackage{enumitem} % I use this to change itemize [leftmargin=3cm, style=nextline]
\title{\textbf{ΤΙΤΛΟΣ}}
\date{2015}
\begin{document}
\maketitle
This template allows users to write (Ancient and Modern) Greek in Latex. Note: you have to use the XeLaTex engine.\\ Χαιρετισμούς,\\
Χαράλαμπος Θεμιστοκλέους
\end{document}

Then compile it using XeLaTex.

Advertisements

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