At the time of gadtpm (Karachalias, Jan. 2014)

parent 064aec84
...@@ -262,41 +262,28 @@ ...@@ -262,41 +262,28 @@
% Required packages % Required packages
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\RequirePackage{graphicx} \RequirePackage{graphicx}
\RequirePackage[cm-default]{fontspec}
%\RequirePackage{xunicode}
%\RequirePackage{xltxtra}
\defaultfontfeatures{Mapping=tex-text}
\RequirePackage[english]{babel} \RequirePackage[english]{babel}
\RequirePackage{fontspec}
\RequirePackage{xunicode}
\RequirePackage{xltxtra}
\defaultfontfeatures{Mapping=tex-text}
\RequirePackage{xgreek} \RequirePackage{xgreek}
% XeLaTeX fonts % XeLaTeX fonts
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% My twist for fontspec
\def\deffontfamily#1{
\edef\@tempa{%
\noexpand\DeclareRobustCommand\noexpand#1%
{\noexpand\fontfamily{\zf@family}\noexpand\selectfont}}%
\@tempa}
% roman font % roman font
\zf@fontspec{}{Times New Roman} \setmainfont{Times New Roman}
\let\rmdefault\zf@family
\deffontfamily\fontroman
\normalfont
% sans serif font % sans serif font
\zf@fontspec{Scale=MatchLowercase}{Arial} \setsansfont[Scale=MatchLowercase]{Arial}
\let\sfdefault\zf@family
\deffontfamily\fontsans
% typewriter font % typewriter font
\zf@fontspec{Scale=MatchLowercase}{Liberation Mono} \setmonofont[Scale=MatchLowercase]{Liberation Mono}
%\zf@fontspec{Scale=MatchLowercase}{DejaVu Sans Mono} %\setmonofont[Scale=MatchLowercase]{DejaVu Sans Mono}
%\zf@fontspec{Scale=MatchLowercase}{Lucida Sans Typewriter} %\setmonofont[Scale=MatchLowercase]{Lucida Sans Typewriter}
%\zf@fontspec{Scale=MatchLowercase}{Free Monospaced} %\setmonofont[Scale=MatchLowercase]{Free Monospaced}
%\zf@fontspec{Scale=MatchLowercase}{Bitstream Vera Sans Mono} %\setmonofont[Scale=MatchLowercase]{Bitstream Vera Sans Mono}
\let\ttdefault\zf@family
\deffontfamily\fonttypewriter
% Headings % Headings
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
......
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment