summaryrefslogtreecommitdiff
path: root/obsolete/macros/latex/contrib/substitutefont/greek-times-freeserifb.tex
diff options
context:
space:
mode:
Diffstat (limited to 'obsolete/macros/latex/contrib/substitutefont/greek-times-freeserifb.tex')
-rw-r--r--obsolete/macros/latex/contrib/substitutefont/greek-times-freeserifb.tex73
1 files changed, 73 insertions, 0 deletions
diff --git a/obsolete/macros/latex/contrib/substitutefont/greek-times-freeserifb.tex b/obsolete/macros/latex/contrib/substitutefont/greek-times-freeserifb.tex
new file mode 100644
index 0000000000..75a08664b1
--- /dev/null
+++ b/obsolete/macros/latex/contrib/substitutefont/greek-times-freeserifb.tex
@@ -0,0 +1,73 @@
+% Example and test for the substitutefont package:
+\documentclass{article}
+\usepackage{parskip}
+\usepackage[LGR,T1]{fontenc}
+\usepackage[colorlinks=true,linkcolor=blue,urlcolor=blue]{hyperref}
+\usepackage{bookmark}
+\pagestyle{empty}
+
+% \usepackage{substitutefont} % obsolete
+
+% Serif
+\usepackage[scaled=0.97]{newtxtext}
+\DeclareFontFamilySubstitution{LGR}{\rmdefault}{txrc}
+
+% Sans
+\DeclareFontFamilySubstitution{LGR}{\sfdefault}{neohellenic}
+% \DeclareFontFamilySubstitution{LGR}{\sfdefault}{epigrafica}
+
+% Monospaced
+\DeclareFontFamilySubstitution{LGR}{\ttdefault}{cmtt} % CB fonts
+
+
+% Teststring
+\newcommand{\alphabet}{%
+ abcdefghjiklmnoprqrstuvwxyzäöüß
+ {\fontencoding{LGR}\selectfont abgdezhjiklmnxoprsctufqyw} \\
+ ABCDEFGHJIKLMNOPRQRSTUVWXYZÄÖÜ
+ {\fontencoding{LGR}\selectfont ABGDEZHJIKLMNXOPRSTUFQYW}%
+}
+
+\begin{document}
+
+\section*{Times/Helvetica/TXTT and Greek replacements}
+
+Use Times, Helvetica, and TXTT (from the
+\href{https://ctan.org/pkg/newtx}{newtx} package) with
+\href{https://ctan.org/pkg/txfontsb}{FreeSerifb},
+\href{https://ctan.org/pkg/gfsneohellenic}{GFS Neohellenic},
+and \href{https://ctan.org/pkg/cbgreek-complete}{CB-Fonts},
+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}
+
+ % \item [tt bf:] \texttt{\textbf\alphabet} % not in CB-Greek
+
+ \item [tt it:] \texttt{\textit\alphabet}
+
+\end{description}
+
+\end{document}