summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/substitutefont/greek-times-artemisia.tex
blob: 7d1e5c3d26755d2a94524e844f71bf4289c1acdf (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
% Example and test for the substitutefont package:
\documentclass{article}
\usepackage{parskip}
\usepackage[LGR,T1]{fontenc}
\usepackage[utf8]{inputenc}
\pagestyle{empty}

\usepackage{substitutefont}

% Serif
\usepackage[scaled=0.97]{newtxtext}
\substitutefont{LGR}{ntxr}{artemisia}

% Sans
% \renewcommand*\sfdefault{uop}
\substitutefont{LGR}{ntxss}{neohellenic}

% Monospaced
\substitutefont{LGR}{ntxtt}{cmtt}  % CB fonts


% Teststring
\newcommand{\alphabet}{%
  abcdefghjiklmnoprqrstuvwxyzäöüß
  {\fontencoding{LGR}\selectfont abgdezhjiklmnxoprsctufqyw} \\
  ABCDEFGHJIKLMNOPRQRSTUVWXYZÄÖÜ
  {\fontencoding{LGR}\selectfont ABGDEZHJIKLMNXOPRSTUFQYW}
}

\begin{document}

\section*{Times/Helvetica/Courier (newtx) and Greek replacements}

Use GFS Artemisia, GFS Neohellenic, and CB for Greek text.

\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} missing in Bodoni

  \item [sf:] \textsf{\alphabet}

  \item [sf bf:] \textsf{\textbf\alphabet}

  \item [sf sl:] \textsf{\textsl\alphabet}

  \item [sf sc:] \textsf{\textsc\alphabet}

  \item [tt:] \texttt{\alphabet}
  
\end{description}

\end{document}