summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/substitutefont/greek-palatino-didot.tex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2013-11-05 01:02:19 +0000
committerKarl Berry <karl@freefriends.org>2013-11-05 01:02:19 +0000
commit5580b0901368ea492550c898d28628d7a224b9b0 (patch)
tree2a0a4ee4128f176371a9d8d5ad348229efae8cc1 /Master/texmf-dist/doc/latex/substitutefont/greek-palatino-didot.tex
parentdd92320637427aa7d3a3bced788047134a4c0281 (diff)
substitutefont (4nov13)
git-svn-id: svn://tug.org/texlive/trunk@32066 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex/substitutefont/greek-palatino-didot.tex')
-rw-r--r--Master/texmf-dist/doc/latex/substitutefont/greek-palatino-didot.tex39
1 files changed, 27 insertions, 12 deletions
diff --git a/Master/texmf-dist/doc/latex/substitutefont/greek-palatino-didot.tex b/Master/texmf-dist/doc/latex/substitutefont/greek-palatino-didot.tex
index e391043feeb..e8bddaf56cb 100644
--- a/Master/texmf-dist/doc/latex/substitutefont/greek-palatino-didot.tex
+++ b/Master/texmf-dist/doc/latex/substitutefont/greek-palatino-didot.tex
@@ -1,36 +1,46 @@
% Example and test for the substitutefont package:
-\documentclass{article}
+\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}{ppl}{udidot}
+\substitutefont{LGR}{\rmdefault}{udidot}
% Sans
\usepackage[scale=.90]{tgheros}
-\substitutefont{LGR}{qhv}{neohellenic}
+\substitutefont{LGR}{\sfdefault}{neohellenic}
% Monospaced
-\usepackage[matchlowercase]{tgcursor}
-\substitutefont{LGR}{qcr}{cmtt} % CB fonts
+% \usepackage[matchlowercase]{tgcursor}
+\renewcommand{\ttdefault}{txtt}
+\substitutefont{LGR}{\ttdefault}{cmtt} % CB fonts
+% \substitutefont{LGR}{\ttdefault}{fdm} % Droid Sans Mono
% Teststring
\newcommand{\alphabet}{%
abcdefghjiklmnoprqrstuvwxyzäöüß
- {\fontencoding{LGR}\selectfont abgdezhjiklmnxoprsctufqyw} \\
+ \foreignlanguage{greek}{abgdezhjiklmnxoprsctufqyw} \\
ABCDEFGHJIKLMNOPRQRSTUVWXYZÄÖÜ
- {\fontencoding{LGR}\selectfont ABGDEZHJIKLMNXOPRSTUFQYW}
+ \foreignlanguage{greek}{ABGDEZHJIKLMNXOPRSTUFQYW}
}
\begin{document}
-\section*{Palatino/Helvetica/Courier and Greek replacements}
+\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:
@@ -62,15 +72,20 @@ Helvetica (TG Heros) with GFS Neohellenic:
\item [sf sl:] \textsf{\textsl\alphabet}
\item [sf sc:] \textsf{\textsc\alphabet}
-
+
\end{description}
-Curier (TG Cursor) with CB teletype:
+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}