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 | 61 |
1 files changed, 61 insertions, 0 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 new file mode 100644 index 00000000000..10ac0969a56 --- /dev/null +++ b/Master/texmf-dist/doc/latex/substitutefont/greek-palatino-didot.tex @@ -0,0 +1,61 @@ +% Example and test for the substitutefont package: +\documentclass{article} +\usepackage{parskip} +\usepackage[LGR,T1]{fontenc} +\usepackage[utf8]{inputenc} + +\usepackage{substitutefont} + +% Serif +\usepackage[sc,slantedGreek]{mathpazo} +\substitutefont{LGR}{pplx}{udidot} + +% Sans +\renewcommand*\sfdefault{uop} +\substitutefont{LGR}{uop}{neohellenic} + +% Monospaced +\renewcommand*{\ttdefault}{txtt} % from txtt package +\substitutefont{LGR}{txtt}{cmtt} % CB fonts + + +% Teststring +\newcommand{\alphabet}{% + abcdefghjiklmnoprqrstuvwxyzäöüß + {\fontencoding{LGR}\selectfont abgdezhjiklmnxoprsctufqyw} \\ + ABCDEFGHJIKLMNOPRQRSTUVWXYZÄÖÜ + {\fontencoding{LGR}\selectfont ABGDEZHJIKLMNXOPRSTUFQYW} +} + +\begin{document} + +Palatino/Optima/txtt with Didot/Neohellenic/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 Didot + + \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} |