summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/substitutefont/greek-times-artemisia.tex
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/doc/latex/substitutefont/greek-times-artemisia.tex')
-rw-r--r--Master/texmf-dist/doc/latex/substitutefont/greek-times-artemisia.tex63
1 files changed, 63 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/substitutefont/greek-times-artemisia.tex b/Master/texmf-dist/doc/latex/substitutefont/greek-times-artemisia.tex
new file mode 100644
index 00000000000..7d1e5c3d267
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/substitutefont/greek-times-artemisia.tex
@@ -0,0 +1,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}