Created
August 9, 2012 01:02
-
-
Save dzava/3300118 to your computer and use it in GitHub Desktop.
Greek in tex.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
%encoding utf-8 | |
\documentclass[12pt]{article} | |
\usepackage[greek,english]{babel} | |
\usepackage[utf8x]{inputenc} | |
\begin{document} | |
{\selectlanguage{greek}Ελληνικά και} english | |
\end{document} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
%encoding utf-8 | |
\documentclass{article} | |
\usepackage[greek,english]{babel} | |
\usepackage[utf8x]{inputenx} | |
\usepackage[LGR,T1]{fontenc} | |
\usepackage{textcomp} | |
\newcommand{\greek}[1]{{\selectlanguage{greek}#1}} | |
\begin{document} | |
Engilsh and \greek{ελληνικά} | |
\end{document} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
% encoding utf-8 | |
\documentclass[12pt,a4paper]{article} | |
%Greek | |
\usepackage{xgreek} | |
\usepackage{fontspec} | |
\usepackage{xunicode} | |
\setmainfont{DejaVuSerif} | |
\begin{document} | |
Ελληινκά και English. | |
\end{document} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment