blob: e8bddaf56cb2a8e174fb64dfe5900579cd36d82b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
|
% Example and test for the substitutefont package:
\documentclass[a4paper,DIV14]{scrartcl}
\usepackage{parskip}
\usepackage[LGR,T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage[greek,english]{babel}
\usepackage[colorlinks=true,linkcolor=blue,urlcolor=blue]{hyperref}
\usepackage{bookmark}
\pagestyle{empty}
\usepackage{substitutefont}
% Serif
\usepackage[sc,slantedGreek]{mathpazo}
\substitutefont{LGR}{\rmdefault}{udidot}
% Sans
\usepackage[scale=.90]{tgheros}
\substitutefont{LGR}{\sfdefault}{neohellenic}
% Monospaced
% \usepackage[matchlowercase]{tgcursor}
\renewcommand{\ttdefault}{txtt}
\substitutefont{LGR}{\ttdefault}{cmtt} % CB fonts
% \substitutefont{LGR}{\ttdefault}{fdm} % Droid Sans Mono
% Teststring
\newcommand{\alphabet}{%
abcdefghjiklmnoprqrstuvwxyzäöüß
\foreignlanguage{greek}{abgdezhjiklmnxoprsctufqyw} \\
ABCDEFGHJIKLMNOPRQRSTUVWXYZÄÖÜ
\foreignlanguage{greek}{ABGDEZHJIKLMNXOPRSTUFQYW}
}
\begin{document}
\section*{Palatino/Helvetica/TXTT and Greek replacements}
Default font families after loading mathpazo, tgheros, and tgcursor:\\
familydefault: \familydefault{},
rmdefault: \rmdefault{},
sfdefault: \sfdefault{},
ttdefault: \ttdefault{}
Palatino (mathpazo) with GFS Didot:
\begin{description}
\item [Normal:] \alphabet
\item [it:] \textit{\alphabet}
\item [sl:] \textsl{\alphabet}
\item [bf:] \textbf{\alphabet}
\item [bf it:] \textbf{\textit\alphabet}
\item [sc:] \textsc{\alphabet}
% \item [bf sc:] \textsc{\textbf\alphabet}
\end{description}
Helvetica (TG Heros) with GFS Neohellenic:
\begin{description}
\item [sf:] \textsf{\alphabet}
\item [sf bf:] \textsf{\textbf\alphabet}
\item [sf sl:] \textsf{\textsl\alphabet}
\item [sf sc:] \textsf{\textsc\alphabet}
\end{description}
There is no Greek extension for the monospaced standard PS font Curier.
A good replacement are the teletype fonts from
\href{http://www.ctan.org/pkg/newtx}{txfonts} and
\href{http://www.ctan.org/pkg/cbgreek-complete}{CB-Greek}:
\begin{description}
\item [tt:] \texttt{\alphabet}
% \item [tt bf:] \texttt{\textbf\alphabet} % not in CB-Greek
\item [tt it:] \texttt{\textit\alphabet}
\end{description}
\end{document}
|