diff options
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.tex | 39 |
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} |