3

I am having this problem. I got this sample by net:

\documentclass[paper=a4,fontsize=11pt]{scrartcl}
\usepackage[iso-8859-7]{inputenc}

\usepackage{kerkis}
\usepackage{a4}
\usepackage{amssymb}
\usepackage{amsmath}
\usepackage[vcentering,dvips]{geometry}
\usepackage{calc}
\input{epsf.tex}
\usepackage[english,greek]{babel}
\usepackage{amsmath,amsfonts,amsthm}
\usepackage[svgnames]{xcolor}
\usepackage{geometry}
\textheight=700px
\usepackage{url}
\usepackage{wrapfig}
\frenchspacing
\pagestyle{empty}

\newcommand{\MyName}[1]{
   \Huge \usefont{OT1}{phv}{b}{n} \hfill #1        % Name
   \par \normalsize \normalfont}

\newcommand{\MySlogan}[1]{
   \large \usefont{OT1}{phv}{m}{n}\hfill \textit{#1} % Slogan (optional)
    \par \normalsize \normalfont}


\begin{document}
\MyName{Constantinou Philippos}
\MySlogan{Curriculum Vitae}
\end{document}

My problem is that in commands \MyName and \MySlogan I want to use Greek characters but I know I cannot because I use font OT1 which doesn't support Greek letters. How can I solve this problem?

3
  • 1
    I've already told you that you can't use phv for getting Greek letters.
    – egreg
    May 21, 2013 at 12:52
  • yes I know you did, but I cannot find any solution for that. May 21, 2013 at 12:54
  • 1
    Use a sans serif font that supports Greek.
    – egreg
    May 21, 2013 at 13:24

1 Answer 1

1

A sans serif font supporting Greek is OpenSans:

\documentclass[paper=a4,fontsize=11pt]{scrartcl}
\usepackage[english,greek]{babel}
\usepackage[iso-8859-7]{inputenc}
\usepackage{kerkis}
\usepackage{opensans}

\newcommand{\MyName}[1]{{\Huge\sffamily#1\par}}

\newcommand{\MySlogan}[1]{{\large\sffamily\textit{#1}\par}}

\frenchspacing

\begin{document}

\MyName{Κοσταντινου Φιλιππος}

\MySlogan{βιογραφικό σημείωμα}
\end{document}

enter image description here

0

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .