summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/substitutefont/greek-times-artemisia.tex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2013-11-03 23:43:54 +0000
committerKarl Berry <karl@freefriends.org>2013-11-03 23:43:54 +0000
commit60d9684691aa95d10a1e12b07b703ccede3f1d9d (patch)
treec06435c6c0ba53a2e297276e77bd2fa31eeb3495 /Master/texmf-dist/doc/latex/substitutefont/greek-times-artemisia.tex
parent1b5f64659e7d32557186d87f525ed3087ee6734b (diff)
substitutefont
git-svn-id: svn://tug.org/texlive/trunk@32052 c570f23f-e606-0410-a88d-b1316a301751
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}